mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-11-04 03:27:21 -05:00 
			
		
		
		
	Add photo backdrops
This commit is contained in:
		
							parent
							
								
									9b55579a85
								
							
						
					
					
						commit
						f13a84e8d9
					
				@ -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))
 | 
			
		||||
            {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user