Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/src/commit/ed5bf546c1c1498601ea41bd24c12f9cbf7c84e7/MediaBrowser.LocalMetadata/Images/CollectionFolderImageProvider.cs You should set ROOT_URL correctly, otherwise the web may not work correctly.
jellyfin/MediaBrowser.LocalMetadata/Images/CollectionFolderImageProvid...

36 lines
971 B

using System.Collections.Generic;
using MediaBrowser.Controller.Entities;
using MediaBrowser.Controller.Providers;
namespace MediaBrowser.LocalMetadata.Images
{
public class CollectionFolderLocalImageProvider : ILocalImageFileProvider, IHasOrder
{
public string Name
{
get { return "Collection Folder Images"; }
}
public bool Supports(IHasImages item)
{
return item is CollectionFolder && item.SupportsLocalMetadata;
}
public int Order
{
get
{
// Run after LocalImageProvider
return 1;
}
}
public List<LocalImageInfo> GetImages(IHasImages item, IDirectoryService directoryService)
{
var collectionFolder = (CollectionFolder)item;
return new LocalImageProvider().GetImages(item, collectionFolder.PhysicalLocations, directoryService);
}
}
}