diff src/audacious/playback.c @ 4547:024be3d7ef4c

Make MPRIS work again.
author Jonathan Schleifer <js-audacious@webkeks.org>
date Thu, 15 May 2008 19:25:29 +0200
parents d2fd41d3964e
children cbc9965e1552
line wrap: on
line diff
--- a/src/audacious/playback.c	Thu May 08 22:49:52 2008 +0200
+++ b/src/audacious/playback.c	Thu May 15 19:25:29 2008 +0200
@@ -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);