mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-22 18:14:42 +01:00
add image editing to library setup
This commit is contained in:
@@ -142,10 +142,17 @@ namespace MediaBrowser.Providers.Folders
|
||||
|
||||
if (view != null)
|
||||
{
|
||||
return true;
|
||||
return !string.IsNullOrWhiteSpace(GetImageUrl(view.ViewType));
|
||||
}
|
||||
|
||||
return item is ICollectionFolder;
|
||||
var folder = item as ICollectionFolder;
|
||||
|
||||
if (folder != null)
|
||||
{
|
||||
return !string.IsNullOrWhiteSpace(GetImageUrl(folder.CollectionType));
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public Task<HttpResponseInfo> GetImageResponse(string url, CancellationToken cancellationToken)
|
||||
|
||||
Reference in New Issue
Block a user