From b84fe020a5bc497cee9b88eb782c2d4a9b7be711 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sun, 11 Jan 2009 04:03:17 +0000 Subject: 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 --- apps/gui/gwps.c | 4 ---- apps/gui/gwps.h | 3 --- 2 files changed, 7 deletions(-) (limited to 'apps/gui') diff --git a/apps/gui/gwps.c b/apps/gui/gwps.c index dd8978c8bb..6c387ef62e 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 4193cf8301..3836d9291b 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) */ }; -- cgit v1.2.3