summaryrefslogtreecommitdiff
path: root/apps/settings_list.c
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2021-11-19 05:11:13 +0100
committerWilliam Wilgus <me.theuser@yahoo.com>2022-01-22 08:29:40 -0500
commitbc5a6385949c9f0a17173f3512aa9a6db9175803 (patch)
treeb7b2990a4a43d6027f19cbe32a22cd2f0774d0b1 /apps/settings_list.c
parentaafe2dd2d14e1ce88b5c9c819277ca0bc98af6e5 (diff)
downloadrockbox-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.c10
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[] = {
927 #error "HAVE_PLAY_FREQ < 48???" 927 #error "HAVE_PLAY_FREQ < 48???"
928#endif 928#endif
929#endif /* HAVE_PLAY_FREQ */ 929#endif /* HAVE_PLAY_FREQ */
930
931#ifdef HAVE_ALBUMART
932 CHOICE_SETTING(0, album_art, LANG_ALBUM_ART, 1,
933 "album art", "off,prefer embedded,prefer image file",
934 NULL, 3,
935 ID2P(LANG_OFF),
936 ID2P(LANG_PREFER_EMBEDDED),
937 ID2P(LANG_PREFER_IMAGE_FILE)),
938#endif
939
930 /* LCD */ 940 /* LCD */
931#ifdef HAVE_LCD_CONTRAST 941#ifdef HAVE_LCD_CONTRAST
932 /* its easier to leave this one un-macro()ed for the time being */ 942 /* its easier to leave this one un-macro()ed for the time being */