save photo album images as folder.ext

pull/702/head
Luke Pulverenti 9 years ago
parent 16145380d9
commit 78a90a4884

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

@ -375,7 +375,12 @@ namespace MediaBrowser.Providers.Manager
} }
string filename; string filename;
var folderName = item is MusicAlbum || item is MusicArtist || (_config.Configuration.ImageSavingConvention == ImageSavingConvention.Legacy && saveLocally) ? "folder" : "poster"; var folderName = item is MusicAlbum ||
item is MusicArtist ||
item is PhotoAlbum ||
(saveLocally && _config.Configuration.ImageSavingConvention == ImageSavingConvention.Legacy) ?
"folder" :
"poster";
switch (type) switch (type)
{ {

Loading…
Cancel
Save