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"
};
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
names.Insert(0, "poster");

View file

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

View file

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