Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Lidarr/commit/51085482bc945bb000b3fb0c156e44764f82e831
You should set ROOT_URL correctly, otherwise the web may not work correctly.
5 changed files with
22 additions and
0 deletions
@ -23,6 +23,7 @@
}
. duration ,
. size ,
. status {
composes : cell from '~Components/Table/Cells/TableRowCell.css' ;
@ -5,6 +5,7 @@ interface CssExports {
'customFormatScore' : string ;
'duration' : string ;
'monitored' : string ;
'size' : string ;
'status' : string ;
'title' : string ;
'trackNumber' : string ;
@ -9,6 +9,7 @@ import { tooltipPositions } from 'Helpers/Props';
import MediaInfoConnector from 'TrackFile/MediaInfoConnector' ;
import * as mediaInfoTypes from 'TrackFile/mediaInfoTypes' ;
import formatTimeSpan from 'Utilities/Date/formatTimeSpan' ;
import formatBytes from 'Utilities/Number/formatBytes' ;
import formatCustomFormatScore from 'Utilities/Number/formatCustomFormatScore' ;
import TrackActionsCell from './TrackActionsCell' ;
import styles from './TrackRow.css' ;
@ -28,6 +29,7 @@ class TrackRow extends Component {
title ,
duration ,
trackFilePath ,
trackFileSize ,
customFormats ,
customFormatScore ,
columns ,
@ -145,6 +147,17 @@ class TrackRow extends Component {
) ;
}
if ( name === 'size' ) {
return (
< TableRowCell
key = { name }
className = { styles . size }
>
{ ! ! trackFileSize && formatBytes ( trackFileSize ) }
< / T a b l e R o w C e l l >
) ;
}
if ( name === 'status' ) {
return (
< TableRowCell
@ -192,6 +205,7 @@ TrackRow.propTypes = {
duration : PropTypes . number . isRequired ,
isSaving : PropTypes . bool ,
trackFilePath : PropTypes . string ,
trackFileSize : PropTypes . number ,
customFormats : PropTypes . arrayOf ( PropTypes . object ) ,
customFormatScore : PropTypes . number . isRequired ,
mediaInfo : PropTypes . object ,
@ -11,6 +11,7 @@ function createMapStateToProps() {
( id , trackFile ) => {
return {
trackFilePath : trackFile ? trackFile . path : null ,
trackFileSize : trackFile ? trackFile . size : null ,
customFormats : trackFile ? trackFile . customFormats : [ ] ,
customFormatScore : trackFile ? trackFile . customFormatScore : 0
} ;
@ -58,6 +58,11 @@ export const defaultState = {
label : ( ) => translate ( 'AudioInfo' ) ,
isVisible : true
} ,
{
name : 'size' ,
label : ( ) => translate ( 'Size' ) ,
isVisible : false
} ,
{
name : 'customFormats' ,
label : 'Formats' ,