From bc5a6385949c9f0a17173f3512aa9a6db9175803 Mon Sep 17 00:00:00 2001 From: Christian Soffke Date: Fri, 19 Nov 2021 05:11:13 +0100 Subject: 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 --- apps/settings.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/settings.c') diff --git a/apps/settings.c b/apps/settings.c index 6d49beb5e3..566573ae68 100644 --- a/apps/settings.c +++ b/apps/settings.c @@ -945,6 +945,9 @@ void settings_apply(bool read_disk) lcd_bidir_scroll(global_settings.bidir_limit); lcd_scroll_delay(global_settings.scroll_delay); +#ifdef HAVE_ALBUMART + set_albumart_mode(global_settings.album_art); +#endif #ifdef HAVE_PLAY_FREQ /* before crossfade */ -- cgit v1.2.3