summaryrefslogtreecommitdiff
path: root/apps/gui
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-01-11 04:03:17 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-01-11 04:03:17 +0000
commitb84fe020a5bc497cee9b88eb782c2d4a9b7be711 (patch)
treea8cf8514d1b5cb641fa5aa32e7a689bce003a917 /apps/gui
parent6d871d53a3f089071e4cfdc91a98e05615aa608a (diff)
downloadrockbox-b84fe020a5bc497cee9b88eb782c2d4a9b7be711.tar.gz
rockbox-b84fe020a5bc497cee9b88eb782c2d4a9b7be711.zip
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.c4
-rw-r--r--apps/gui/gwps.h3
2 files changed, 0 insertions, 7 deletions
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)
688 } 688 }
689 689
690 if (exit) { 690 if (exit) {
691 if (wps_state.id3)
692 strcpy(wps_state.current_track_path, wps_state.id3->path);
693 else
694 wps_state.current_track_path[0] = '\0';
695#ifdef HAVE_LCD_CHARCELLS 691#ifdef HAVE_LCD_CHARCELLS
696 status_set_record(false); 692 status_set_record(false);
697 status_set_audio(false); 693 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
469 bool wps_time_countup; 469 bool wps_time_countup;
470 struct mp3entry* id3; 470 struct mp3entry* id3;
471 struct mp3entry* nid3; 471 struct mp3entry* nid3;
472 char current_track_path[MAX_PATH]; /* used by root_menu.c to browse to the
473 current track at the time the audio is
474 stopped (so *id3 is invalid) */
475}; 472};
476 473
477 474