Add stop after current to mpris interface

This commit is contained in:
craig.p.drummond
2013-05-29 19:02:55 +00:00
parent 8854c4b7c1
commit 7ef7aa3f00
3 changed files with 4 additions and 2 deletions

View File

@@ -23,10 +23,10 @@
real gain. (URL is still shown in tooltip)
14. Detailed tree view for playlists by default.
15. Remove config compatibility with Cantata versions older than 0.7
16. Only require 2 stop actions; stop now, or stop after current. Default stop
16. Only have 2 stop actions; stop now, or stop after current. Default stop
action is always 'stop now'
17. Make 'stop after current track' assignable to KDE global shortcut.
18. Add 'stop after current' to tray item menu.
18. Add 'stop after current' to tray item menu, and to Cantata MPRIS interface..
19. Try to use better text for buttons in dialogs, and not just yes/no.
20. Dont use icons in buttons when using QGtkStyle - Gtk does not use button
icons.

View File

@@ -79,6 +79,7 @@ public:
void PlayPause() { mw->playPauseTrack(); }
void Stop() { mw->stopPlayback(); }
void StopAfterCurrent() { mw->stopAfterCurrentTrack(); }
void Play() {
MPDStatus * const status = MPDStatus::self();

View File

@@ -8,6 +8,7 @@
<method name='Pause'/>
<method name='PlayPause'/>
<method name='Stop'/>
<method name='StopAfterCurrent'/> <!-- Cantata addition -->
<method name='Play'/>
<method name='Seek'>
<arg direction='in' name='Offset' type='x'/>