diff options
author | Christian Soffke <christian.soffke@gmail.com> | 2021-11-19 05:11:13 +0100 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2022-01-22 08:29:40 -0500 |
commit | bc5a6385949c9f0a17173f3512aa9a6db9175803 (patch) | |
tree | b7b2990a4a43d6027f19cbe32a22cd2f0774d0b1 /apps/settings_list.c | |
parent | aafe2dd2d14e1ce88b5c9c819277ca0bc98af6e5 (diff) | |
download | rockbox-bc5a6385949c9f0a17173f3512aa9a6db9175803.tar.gz rockbox-bc5a6385949c9f0a17173f3512aa9a6db9175803.zip |
Option to switch off album art or to prefer file over embedded
Large embedded album art can cause pauses during
playback or when skipping between tracks, especially
on older devices, but embedded art is currently loaded
even when separately stored smaller image files would be
available.
A workaround is to remove large album art from the
metadata of files.
This now adds a setting to either turn off loading of
album art completely, or to prefer loading the album art
from a separate image file and thus ignore the embedded
versions.
Change-Id: I22fb581abf56072e35e6c29d72e553747ec1a96a
Diffstat (limited to 'apps/settings_list.c')
-rw-r--r-- | apps/settings_list.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c index 795d42ceba..7b24db22e5 100644 --- a/apps/settings_list.c +++ b/apps/settings_list.c @@ -927,6 +927,16 @@ const struct settings_list settings[] = { #error "HAVE_PLAY_FREQ < 48???" #endif #endif /* HAVE_PLAY_FREQ */ + +#ifdef HAVE_ALBUMART + CHOICE_SETTING(0, album_art, LANG_ALBUM_ART, 1, + "album art", "off,prefer embedded,prefer image file", + NULL, 3, + ID2P(LANG_OFF), + ID2P(LANG_PREFER_EMBEDDED), + ID2P(LANG_PREFER_IMAGE_FILE)), +#endif + /* LCD */ #ifdef HAVE_LCD_CONTRAST /* its easier to leave this one un-macro()ed for the time being */ |