mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
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"
|
"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…
x
Reference in New Issue
Block a user