changeset 4550:8445515efab1

Automated merge with ssh://hg.atheme.org//hg/audacious
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 17 May 2008 14:22:22 +0300
parents d85316d57a02 (diff) 785b606fd504 (current diff)
children d09dd0960a6a
files
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/playback.c	Sat May 17 14:21:47 2008 +0300
+++ b/src/audacious/playback.c	Sat May 17 14:22:22 2008 +0300
@@ -177,13 +177,13 @@
     entry = playlist_get_entry_to_play(playlist);
     g_return_if_fail(entry != NULL);
 
-    if (!playback_play_file(entry))
-        return;
-
 #ifdef USE_DBUS
     mpris_emit_track_change(mpris);
 #endif
 
+    if (!playback_play_file(entry))
+        return;
+
     playlist_check_pos_current(playlist);
 
     hook_call("playback begin", entry);