diff options
| author | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2007-07-25 14:14:47 +0000 |
|---|---|---|
| committer | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2007-07-25 14:14:47 +0000 |
| commit | 29407cbe801bfdfbe59ad0e40be8fc8ced4ac778 (patch) | |
| tree | e38a41314519fb9e8ea8041668f7a0623c0be893 /apps/gui/wps_debug.c | |
| parent | ebc076bc15d6501674b9db772557a0eadfb4a5e2 (diff) | |
| download | rockbox-29407cbe801bfdfbe59ad0e40be8fc8ced4ac778.zip rockbox-29407cbe801bfdfbe59ad0e40be8fc8ced4ac778.tar.gz rockbox-29407cbe801bfdfbe59ad0e40be8fc8ced4ac778.tar.bz2 rockbox-29407cbe801bfdfbe59ad0e40be8fc8ced4ac778.tar.xz | |
Implement feature request FS#7476: Add a "song progress percentage" WPS tag (%px) that can be used in a conditional to create custom progress meters.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13987 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/wps_debug.c')
| -rw-r--r-- | apps/gui/wps_debug.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/gui/wps_debug.c b/apps/gui/wps_debug.c index 317e73c..0f40a57 100644 --- a/apps/gui/wps_debug.c +++ b/apps/gui/wps_debug.c @@ -242,6 +242,10 @@ static void dump_wps_tokens(struct wps_data *data) snprintf(buf, sizeof(buf), "time elapsed in track"); break; + case WPS_TOKEN_TRACK_ELAPSED_PERCENT: + snprintf(buf, sizeof(buf), "played percentage of track"); + break; + case WPS_TOKEN_PLAYLIST_ENTRIES: snprintf(buf, sizeof(buf), "number of entries in playlist"); break; |