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.h | |
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.h')
-rw-r--r-- | apps/settings.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/apps/settings.h b/apps/settings.h index b3c31476e3..936280ba5a 100644 --- a/apps/settings.h +++ b/apps/settings.h | |||
@@ -127,6 +127,15 @@ enum | |||
127 | QUEUE_SHOW_IN_SUBMENU | 127 | QUEUE_SHOW_IN_SUBMENU |
128 | }; | 128 | }; |
129 | 129 | ||
130 | #ifdef HAVE_ALBUMART | ||
131 | enum | ||
132 | { | ||
133 | AA_OFF = 0, | ||
134 | AA_PREFER_EMBEDDED, | ||
135 | AA_PREFER_IMAGE_FILE | ||
136 | }; | ||
137 | #endif | ||
138 | |||
130 | /* dir filter options */ | 139 | /* dir filter options */ |
131 | /* Note: Any new filter modes need to be added before NUM_FILTER_MODES. | 140 | /* Note: Any new filter modes need to be added before NUM_FILTER_MODES. |
132 | * Any new rockbox browse filter modes (accessible through the menu) | 141 | * Any new rockbox browse filter modes (accessible through the menu) |
@@ -598,7 +607,10 @@ struct user_settings | |||
598 | bool warnon_erase_dynplaylist; /* warn when erasing dynamic playlist */ | 607 | bool warnon_erase_dynplaylist; /* warn when erasing dynamic playlist */ |
599 | bool show_shuffled_adding_options; /* whether to display options for adding shuffled tracks to dynamic playlist */ | 608 | bool show_shuffled_adding_options; /* whether to display options for adding shuffled tracks to dynamic playlist */ |
600 | int show_queue_options; /* how and whether to display options to queue tracks */ | 609 | int show_queue_options; /* how and whether to display options to queue tracks */ |
601 | 610 | #ifdef HAVE_ALBUMART | |
611 | int album_art; /* switch off album art display or choose preferred source */ | ||
612 | #endif | ||
613 | |||
602 | /* playlist viewer settings */ | 614 | /* playlist viewer settings */ |
603 | bool playlist_viewer_icons; /* display icons on viewer */ | 615 | bool playlist_viewer_icons; /* display icons on viewer */ |
604 | bool playlist_viewer_indices; /* display playlist indices on viewer */ | 616 | bool playlist_viewer_indices; /* display playlist indices on viewer */ |