aboutsummaryrefslogtreecommitdiff
path: root/src/playlist.c
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.c
parentaa71ce4cd58bd38ca3798d29ef3e05df07280ae7 (diff)
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.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/playlist.c b/src/playlist.c
index 162103c2..62a723d3 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);
}
/**