From a5960c20cc679132e049fc6da0f3d7d6fa34e361 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 8 Oct 2009 20:33:50 +0200 Subject: 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". --- src/playlist.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/playlist.c') 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); } /** -- cgit v1.2.3