comparison 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
comparison
equal deleted inserted replaced
4532:97b29dec6c6b 4547:024be3d7ef4c
175 playback_stop(); 175 playback_stop();
176 176
177 entry = playlist_get_entry_to_play(playlist); 177 entry = playlist_get_entry_to_play(playlist);
178 g_return_if_fail(entry != NULL); 178 g_return_if_fail(entry != NULL);
179 179
180 if (!playback_play_file(entry))
181 return;
182
183 #ifdef USE_DBUS 180 #ifdef USE_DBUS
184 mpris_emit_track_change(mpris); 181 mpris_emit_track_change(mpris);
185 #endif 182 #endif
183
184 if (!playback_play_file(entry))
185 return;
186 186
187 playlist_check_pos_current(playlist); 187 playlist_check_pos_current(playlist);
188 188
189 hook_call("playback begin", entry); 189 hook_call("playback begin", entry);
190 } 190 }