Add Folder.jpg/png to list of default artwork file names
This commit is contained in:
parent
1dd6c34e28
commit
55db599c5e
9
README
9
README
|
@ -213,8 +213,7 @@ Artwork
|
|||
|
||||
forked-daapd has /some/ support for artwork, with a number of limitations.
|
||||
|
||||
Embedded artwork is not supported; libav (ffmpeg) doesn't support this yet, if
|
||||
and when this is added to libav, forked-daapd will support it.
|
||||
Embedded artwork is not currently supported.
|
||||
|
||||
Your artwork must be in PNG or JPEG format, dimensions do not matter;
|
||||
forked-daapd scales down (never up) the artwork on-the-fly to match the
|
||||
|
@ -224,12 +223,12 @@ the more time and resources it takes to perform the scaling operation.
|
|||
As for the naming convention, it is quite simple; consider your foo.mp3 song,
|
||||
residing at /bar/foo.mp3:
|
||||
- if /bar/foo.{png,jpg} exists, this will be used as the artwork for this file;
|
||||
- failing that, if /bar/{artwork,cover}.{png,jpg} exists, it will be used.
|
||||
- failing that, if /bar/{artwork,cover,Folder}.{png,jpg} exists, it is used.
|
||||
- failing that, if /bar/bar.{png,jpg} exists, it will be used
|
||||
|
||||
For "groups" (same album name and album artist), the situation is a bit
|
||||
different:
|
||||
- if a file {artwork,cover}.{png,jpg} is found in one of the directories
|
||||
- if a file {artwork,cover,Folder}.{png,jpg} is found in one of the directories
|
||||
containing files that are part of the group, it is used as the artwork. The
|
||||
first file found is used, ordering is not guaranteed;
|
||||
- failing that, if [directory name].{png,jpg} is found in one of the
|
||||
|
@ -238,7 +237,7 @@ different:
|
|||
- failing that, individual files are examined and the first artwork found is
|
||||
used. Here again, ordering is not guaranteed.
|
||||
|
||||
{artwork,cover} are the default, you can add other base names in the
|
||||
{artwork,cover,Folder} are the default, you can add other base names in the
|
||||
configuration file.
|
||||
|
||||
You can use symlinks for the artwork files; the artwork is not scanned/indexed
|
||||
|
|
|
@ -31,7 +31,7 @@ library {
|
|||
|
||||
# Artwork file names (without file type extension)
|
||||
# forked-daapd will look for jpg and png files with these base names
|
||||
# artwork_basenames = { "artwork", "cover" }
|
||||
# artwork_basenames = { "artwork", "cover", "Folder" }
|
||||
|
||||
# Should iTunes metadata override ours?
|
||||
# itunes_overrides = true
|
||||
|
|
|
@ -61,7 +61,7 @@ static cfg_opt_t sec_library[] =
|
|||
CFG_STR("password", NULL, CFGF_NONE),
|
||||
CFG_STR_LIST("directories", NULL, CFGF_NONE),
|
||||
CFG_STR_LIST("compilations", NULL, CFGF_NONE),
|
||||
CFG_STR_LIST("artwork_basenames", "{artwork,cover}", CFGF_NONE),
|
||||
CFG_STR_LIST("artwork_basenames", "{artwork,cover,Folder}", CFGF_NONE),
|
||||
CFG_BOOL("itunes_overrides", cfg_false, CFGF_NONE),
|
||||
CFG_STR_LIST("no_transcode", NULL, CFGF_NONE),
|
||||
CFG_STR_LIST("force_transcode", NULL, CFGF_NONE),
|
||||
|
|
Loading…
Reference in New Issue