changeset 4547:024be3d7ef4c

Make MPRIS work again.
author Jonathan Schleifer <js-audacious@webkeks.org>
date Thu, 15 May 2008 19:25:29 +0200
parents 97b29dec6c6b
children d85316d57a02
files src/audacious/playback.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
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);