Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/f4a199d27579a69c141ec311662a13b090779d82
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
5 additions and
6 deletions
@ -668,7 +668,6 @@ namespace MediaBrowser.Api.Images
}
var contentType = MimeTypes . GetMimeType ( imagePath ) ;
var dateLastModified = ( supportedImageEnhancers . Select ( e = > e . LastConfigurationChange ( item , request . Type ) ) . Concat ( new [ ] { originalFileImageDateModified } ) ) . Max ( ) ;
var cacheGuid = kernel . ImageManager . GetImageCacheTag ( imagePath , originalFileImageDateModified , supportedImageEnhancers , item , request . Type ) ;
@ -679,7 +678,7 @@ namespace MediaBrowser.Api.Images
cacheDuration = TimeSpan . FromDays ( 365 ) ;
}
return ToCachedResult ( cacheGuid , dateLast Modified, cacheDuration , ( ) = > new ImageWriter
return ToCachedResult ( cacheGuid , originalFileImageDate Modified, cacheDuration , ( ) = > new ImageWriter
{
Item = item ,
Request = request ,
@ -642,7 +642,7 @@ namespace MediaBrowser.Controller.Drawing
}
// Cache name is created with supported enhancers combined with the last config change so we pick up new config changes
var cacheKeys = imageEnhancers . Select ( i = > i . GetType( ) . Name + i . LastConfigurationChange ( item , imageType ) . Ticks ) . ToList ( ) ;
var cacheKeys = imageEnhancers . Select ( i = > i . ConfigurationCacheKey ( item , imageType ) ) . ToList ( ) ;
cacheKeys . Add ( originalImagePath + dateModified . Ticks ) ;
return string . Join ( "|" , cacheKeys . ToArray ( ) ) . GetMD5 ( ) ;
@ -24,12 +24,12 @@ namespace MediaBrowser.Controller.Providers
MetadataProviderPriority Priority { get ; }
/// <summary>
/// Return the date of the last configuration change affecting the provided baseitem and image type
/// Return a key incorporating all configuration information related to this item
/// </summary>
/// <param name="item">The item.</param>
/// <param name="imageType">Type of the image.</param>
/// <returns> Date of last config change </returns>
DateTime LastConfigurationChange ( BaseItem item , ImageType imageType ) ;
/// <returns> Cache key relating to the current state of this item and configuration </returns>
string ConfigurationCacheKey ( BaseItem item , ImageType imageType ) ;
/// <summary>
/// Gets the size of the enhanced image.