aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-10-08 20:33:50 +0200
committerMax Kellermann <max@duempel.org>2009-10-08 20:33:50 +0200
commita5960c20cc679132e049fc6da0f3d7d6fa34e361 (patch)
treecdd21166134a5621690c024ca89c7c19a4001f74 /src/playlist.h
parentaa71ce4cd58bd38ca3798d29ef3e05df07280ae7 (diff)
downloadmpd-a5960c20cc679132e049fc6da0f3d7d6fa34e361.tar.gz
mpd-a5960c20cc679132e049fc6da0f3d7d6fa34e361.tar.xz
mpd-a5960c20cc679132e049fc6da0f3d7d6fa34e361.zip
playlist_control: "previous" really plays the previous song
No more CD player emulation. The current behaviour of "previous" is difficult for a client to predict, because it does not definitely know the current position within the song. If a client wants to restart the current song, it can always send "playid".
Diffstat (limited to 'src/playlist.h')
-rw-r--r--src/playlist.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/playlist.h b/src/playlist.h
index 311163e8b..f8f5bd942 100644
--- a/src/playlist.h
+++ b/src/playlist.h
@@ -81,13 +81,6 @@ struct playlist {
* This variable is only valid if #playing is true.
*/
int queued;
-
- /**
- * This timer tracks the time elapsed since the last "prev"
- * command. If that is less than one second ago, "prev" jumps
- * to the previous song instead of rewinding the current song.
- */
- GTimer *prev_elapsed;
};
/** the global playlist object */