[settings] Move two settings to artwork category

show_cover_artwork_in_album_lists and streamurl_ignore. Ref #1829.
This commit is contained in:
ejurgensen 2025-01-10 20:37:45 +01:00
parent 9d707f0641
commit f7fb6f8532
2 changed files with 3 additions and 3 deletions

View File

@ -293,7 +293,7 @@ metadata_prepare(struct input_source *source)
// Note we map title to album, because clients should show stream name as title
swap_pointers(&prepared_metadata.parsed.album, &m->title);
if (! SETTINGS_GETBOOL("misc", "streamurl_ignore"))
if (! SETTINGS_GETBOOL("artwork", "streamurl_ignore"))
{
// In this case we have to go async to download the url and process the content
if (m->url && !artwork_extension_is_artwork(m->url))

View File

@ -30,7 +30,6 @@ static struct settings_option webinterface_options[] =
{ "show_composer_now_playing", SETTINGS_TYPE_BOOL },
{ "show_filepath_now_playing", SETTINGS_TYPE_BOOL },
{ "show_composer_for_genre", SETTINGS_TYPE_STR },
{ "show_cover_artwork_in_album_lists", SETTINGS_TYPE_BOOL, { true } },
{ "show_menu_item_playlists", SETTINGS_TYPE_BOOL, { true } },
{ "show_menu_item_music", SETTINGS_TYPE_BOOL, { true } },
{ "show_menu_item_podcasts", SETTINGS_TYPE_BOOL, { true } },
@ -49,13 +48,14 @@ static struct settings_option artwork_options[] =
{ "use_artwork_source_spotify", SETTINGS_TYPE_BOOL, { true } },
{ "use_artwork_source_discogs", SETTINGS_TYPE_BOOL, { false } },
{ "use_artwork_source_coverartarchive", SETTINGS_TYPE_BOOL, { false } },
{ "show_cover_artwork_in_album_lists", SETTINGS_TYPE_BOOL, { true } },
{ "streamurl_ignore", SETTINGS_TYPE_BOOL, { false } },
};
static struct settings_option misc_options[] =
{
{ "streamurl_keywords_artwork_url", SETTINGS_TYPE_STR },
{ "streamurl_keywords_length", SETTINGS_TYPE_STR },
{ "streamurl_ignore", SETTINGS_TYPE_BOOL },
};
static struct settings_option player_options[] =