forked from len0rd/rockbox
Add option to resume next track on automatic track change
Move autoresume setting into its own menu. Add option to customize which tracks should be resumed on automatic track change. Tracks can be selected based on their their file location or genre tag (comma-separated list of filename / genre substrings). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29251 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4844142e16
commit
7141ff4513
7 changed files with 165 additions and 28 deletions
|
|
@ -125,6 +125,10 @@ enum { SHOW_PATH_OFF = 0, SHOW_PATH_CURRENT, SHOW_PATH_FULL };
|
|||
/* scrollbar visibility/position */
|
||||
enum { SCROLLBAR_OFF = 0, SCROLLBAR_LEFT, SCROLLBAR_RIGHT };
|
||||
|
||||
/* autoresume settings */
|
||||
enum { AUTORESUME_NEXTTRACK_NEVER = 0, AUTORESUME_NEXTTRACK_ALWAYS,
|
||||
AUTORESUME_NEXTTRACK_CUSTOM};
|
||||
|
||||
/* Alarm settings */
|
||||
#ifdef HAVE_RTC_ALARM
|
||||
enum { ALARM_START_WPS = 0,
|
||||
|
|
@ -577,6 +581,9 @@ struct user_settings
|
|||
#endif
|
||||
bool tagcache_autoupdate; /* automatically keep tagcache in sync? */
|
||||
bool autoresume_enable; /* enable auto-resume feature? */
|
||||
int autoresume_automatic; /* resume next track? 0=never, 1=always,
|
||||
2=custom */
|
||||
unsigned char autoresume_strpat[MAX_PATHNAME+1]; /* comma-separated list */
|
||||
bool runtimedb; /* runtime database active? */
|
||||
#endif /* HAVE_TAGCACHE */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue