diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2009-01-11 04:03:17 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2009-01-11 04:03:17 +0000 |
| commit | b84fe020a5bc497cee9b88eb782c2d4a9b7be711 (patch) | |
| tree | a8cf8514d1b5cb641fa5aa32e7a689bce003a917 /apps/gui | |
| parent | 6d871d53a3f089071e4cfdc91a98e05615aa608a (diff) | |
| download | rockbox-b84fe020a5bc497cee9b88eb782c2d4a9b7be711.zip rockbox-b84fe020a5bc497cee9b88eb782c2d4a9b7be711.tar.gz rockbox-b84fe020a5bc497cee9b88eb782c2d4a9b7be711.tar.bz2 rockbox-b84fe020a5bc497cee9b88eb782c2d4a9b7be711.tar.xz | |
use the playback PLAYBACK_EVENT_TRACK_CHANGE instead of the WPS to keep track of the current track (for follow playlist)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19747 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui')
| -rw-r--r-- | apps/gui/gwps.c | 4 | ||||
| -rw-r--r-- | apps/gui/gwps.h | 3 |
2 files changed, 0 insertions, 7 deletions
diff --git a/apps/gui/gwps.c b/apps/gui/gwps.c index dd8978c..6c387ef 100644 --- a/apps/gui/gwps.c +++ b/apps/gui/gwps.c @@ -688,10 +688,6 @@ long gui_wps_show(void) } if (exit) { - if (wps_state.id3) - strcpy(wps_state.current_track_path, wps_state.id3->path); - else - wps_state.current_track_path[0] = '\0'; #ifdef HAVE_LCD_CHARCELLS status_set_record(false); status_set_audio(false); diff --git a/apps/gui/gwps.h b/apps/gui/gwps.h index 4193cf8..3836d92 100644 --- a/apps/gui/gwps.h +++ b/apps/gui/gwps.h @@ -469,9 +469,6 @@ struct wps_state bool wps_time_countup; struct mp3entry* id3; struct mp3entry* nid3; - char current_track_path[MAX_PATH]; /* used by root_menu.c to browse to the - current track at the time the audio is - stopped (so *id3 is invalid) */ }; |