mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-27 05:28:18 +00:00
Add photo backdrops
This commit is contained in:
@@ -25,6 +25,7 @@ namespace MediaBrowser.Providers.Photos
|
||||
public Task<ItemUpdateType> FetchAsync(Photo item, IDirectoryService directoryService, CancellationToken cancellationToken)
|
||||
{
|
||||
item.SetImagePath(ImageType.Primary, item.Path);
|
||||
item.SetImagePath(ImageType.Backdrop, item.Path);
|
||||
|
||||
if (item.Path.EndsWith(".jpg", StringComparison.OrdinalIgnoreCase) || item.Path.EndsWith(".jpeg", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user