change people to prefer folder.jpg

This commit is contained in:
Luke Pulverenti 2017-03-05 10:38:17 -05:00
parent c6aaebc232
commit 8b77a89373
3 changed files with 4 additions and 1 deletions

View file

@ -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");

View file

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

View file

@ -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";