diff options
author | Justin Heiner <jheiner@rockbox.org> | 2002-08-24 06:57:24 +0000 |
---|---|---|
committer | Justin Heiner <jheiner@rockbox.org> | 2002-08-24 06:57:24 +0000 |
commit | 5301881adca9508f12eeb80704a201ff579e5836 (patch) | |
tree | 336ff45c4d831d10e2a8214a891ae3b4176eaaa0 /apps/settings.h | |
parent | 11f2c3c225b34e03fe869e19e051d5d2a08af69b (diff) | |
download | rockbox-5301881adca9508f12eeb80704a201ff579e5836.tar.gz rockbox-5301881adca9508f12eeb80704a201ff579e5836.zip |
Update to the Custom WPS. Now actually works, can be fed any string, uses %xx instead of just %x, and more! It's #define'd out in settings.h - Needs to be enabled to use it. PLAYER ONLY
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1963 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.h')
-rw-r--r-- | apps/settings.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/settings.h b/apps/settings.h index 36cf4930e1..fe85c13bfd 100644 --- a/apps/settings.h +++ b/apps/settings.h | |||
@@ -23,6 +23,9 @@ | |||
23 | #include <stdbool.h> | 23 | #include <stdbool.h> |
24 | #include "file.h" | 24 | #include "file.h" |
25 | 25 | ||
26 | /* Custom WPS Parsing - Uncomment to enable - PLAYER ONLY */ | ||
27 | /* #define CUSTOM_WPS */ | ||
28 | |||
26 | /* data structures */ | 29 | /* data structures */ |
27 | 30 | ||
28 | #define RESUME_OFF 0 | 31 | #define RESUME_OFF 0 |
@@ -63,6 +66,10 @@ struct user_settings | |||
63 | bool sort_case; /* dir sort order: 0=case insensitive, 1=sensitive */ | 66 | bool sort_case; /* dir sort order: 0=case insensitive, 1=sensitive */ |
64 | int scroll_speed; /* long texts scrolling speed: 1-20 */ | 67 | int scroll_speed; /* long texts scrolling speed: 1-20 */ |
65 | bool playlist_shuffle; | 68 | bool playlist_shuffle; |
69 | #ifdef CUSTOM_WPS | ||
70 | char custom_wps[64]; /* custom WPS string */ | ||
71 | bool wps_changed; /* to reload Custom WPS if changed to it */ | ||
72 | #endif | ||
66 | 73 | ||
67 | /* while playing screen settings */ | 74 | /* while playing screen settings */ |
68 | int wps_display; /* 0=id3, 1=file, 2=parse */ | 75 | int wps_display; /* 0=id3, 1=file, 2=parse */ |