Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/d9c4775015d7da334f240fca1fffb391ee7045da
You should set ROOT_URL correctly, otherwise the web may not work correctly.
4 changed files with
7 additions and
4 deletions
@ -133,10 +133,10 @@ namespace MediaBrowser.Api.Reports
/// <summary> Gets runtime date time. </summary>
/// <param name="runtime"> The runtime. </param>
/// <returns> The runtime date time. </returns>
protected DateTime ? GetRuntimeDateTime ( long? runtime )
protected double ? GetRuntimeDateTime ( long? runtime )
{
if ( runtime . HasValue )
return new DateTime ( runtime . Value ) ;
return Math . Ceiling ( new TimeSpan ( runtime . Value ) . TotalMinutes ) ;
return null ;
}
@ -13,6 +13,7 @@ namespace MediaBrowser.Api.Reports
DateTime ,
Int ,
Image ,
Object
Object ,
Minutes
}
}
@ -87,6 +87,8 @@ namespace MediaBrowser.Api.Reports
return string . Format ( "{0:t}" , value ) ;
case ReportFieldType . DateTime :
return string . Format ( "{0:d}" , value ) ;
case ReportFieldType . Minutes :
return string . Format ( "{0}mn" , value ) ;
case ReportFieldType . Int :
return string . Format ( "" , value ) ;
default :
@ -403,7 +403,7 @@ namespace MediaBrowser.Api.Reports
case HeaderMetadata . Runtime :
column = ( i , r ) = > this . GetRuntimeDateTime ( i . RunTimeTicks ) ;
reportHeader . HeaderFieldType = ReportFieldType . Time ;
reportHeader . HeaderFieldType = ReportFieldType . Minutes ;
reportHeader . SortField = "Runtime,SortName" ;
break ;