diff options
author | Max Kellermann <max@duempel.org> | 2009-10-08 20:33:50 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-10-08 20:33:50 +0200 |
commit | a5960c20cc679132e049fc6da0f3d7d6fa34e361 (patch) | |
tree | cdd21166134a5621690c024ca89c7c19a4001f74 /src/playlist.c | |
parent | aa71ce4cd58bd38ca3798d29ef3e05df07280ae7 (diff) | |
download | mpd-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.c')
-rw-r--r-- | src/playlist.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/playlist.c b/src/playlist.c index 162103c2e..62a723d34 100644 --- a/src/playlist.c +++ b/src/playlist.c @@ -62,16 +62,12 @@ playlist_init(struct playlist *playlist) playlist->queued = -1; playlist->current = -1; - - playlist->prev_elapsed = g_timer_new(); } void playlist_finish(struct playlist *playlist) { queue_finish(&playlist->queue); - - g_timer_destroy(playlist->prev_elapsed); } /** |