Browse Source

change people to prefer folder.jpg

Luke Pulverenti 8 years ago
parent
commit
8b77a89373

+ 1 - 1
MediaBrowser.LocalMetadata/Images/LocalImageProvider.cs

@@ -177,7 +177,7 @@ namespace MediaBrowser.LocalMetadata.Images
                 "default"
                 "default"
             };
             };
 
 
-            if (item is MusicAlbum || item is MusicArtist || item is PhotoAlbum)
+            if (item is MusicAlbum || item is MusicArtist || item is PhotoAlbum || item is Person)
             {
             {
                 // these prefer folder
                 // these prefer folder
                 names.Insert(0, "poster");
                 names.Insert(0, "poster");

+ 2 - 0
MediaBrowser.Model/Querying/ItemFields.cs

@@ -151,6 +151,8 @@
         /// </summary>
         /// </summary>
         People,
         People,
 
 
+        PlayAccess,
+
         /// <summary>
         /// <summary>
         /// The production locations
         /// The production locations
         /// </summary>
         /// </summary>

+ 1 - 0
MediaBrowser.Providers/Manager/ImageSaver.cs

@@ -410,6 +410,7 @@ namespace MediaBrowser.Providers.Manager
             var folderName = item is MusicAlbum ||
             var folderName = item is MusicAlbum ||
                 item is MusicArtist ||
                 item is MusicArtist ||
                 item is PhotoAlbum ||
                 item is PhotoAlbum ||
+                item is Person ||
                 (saveLocally && _config.Configuration.ImageSavingConvention == ImageSavingConvention.Legacy) ?
                 (saveLocally && _config.Configuration.ImageSavingConvention == ImageSavingConvention.Legacy) ?
                 "folder" :
                 "folder" :
                 "poster";
                 "poster";