save photo album images as folder.ext
This commit is contained in:
parent
16145380d9
commit
78a90a4884
|
@ -176,7 +176,7 @@ namespace MediaBrowser.LocalMetadata.Images
|
|||
"default"
|
||||
};
|
||||
|
||||
if (item is MusicAlbum || item is MusicArtist)
|
||||
if (item is MusicAlbum || item is MusicArtist || item is Photo)
|
||||
{
|
||||
// these prefer folder
|
||||
names.Insert(0, "poster");
|
||||
|
|
|
@ -375,7 +375,12 @@ namespace MediaBrowser.Providers.Manager
|
|||
}
|
||||
|
||||
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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user