Hi! I was thinking to try adding commands (such as play/stop, pause, skip, and so on) in the context menu of guayadeque icon in unity launcher.
I found all commands here http://xmms2.org/wiki/MPRIS excepts the Next/Prev Album how can I send these message through MPRIS?
MPRIS and Natty Launcher
- anonbeat
- Posts: 2048
- Joined: Thu Sep 16, 2010 9:47 pm
MPRIS and Natty Launcher
This will be the same as Next Prev but with shift pressed.
-
- Posts: 210
- Joined: Wed Sep 29, 2010 11:20 pm
MPRIS and Natty Launcher
Thanks, but what I was meaning is the org.freedesktop.MediaPlayer.[CommandForNextAlbum?]
- anonbeat
- Posts: 2048
- Joined: Thu Sep 16, 2010 9:47 pm
MPRIS and Natty Launcher
As you can see in the specification there is no such thing
Thanks for your help
Thanks for your help
-
- Posts: 210
- Joined: Wed Sep 29, 2010 11:20 pm
MPRIS and Natty Launcher
Ouch
Ok, thanks anonbeat!
Ok, thanks anonbeat!
-
- Posts: 33
- Joined: Sat Oct 09, 2010 8:01 am
MPRIS and Natty Launcher
Let us know how it goes. I'm interested.
-
- Posts: 210
- Joined: Wed Sep 29, 2010 11:20 pm
MPRIS and Natty Launcher
Ok, I've done something very basic!
guayampris is a simple perl script (I'm completely unable to do even simple things in bash XDD) which determine if guayadeque is in play/pause/stop status. This is important because I've chosen to add a unic Play/Pause item in the icon in unity-launcher, and the mpris signal to send depends on the status.
unzip guayampris in /usr/bin/ folder
Unzip guayadeque.desktop. If it doesn't have the guayadeque icon, probably because this launcher is not trusted, double click on it and when asked, tell that this launcher is trusted, then drag it in unity-launcher to add it. Try with the mouse right-button, it should display the three commands I've added, Click on "keep in launcher" to add this icon to unity launcher.
guayampris is a simple perl script (I'm completely unable to do even simple things in bash XDD) which determine if guayadeque is in play/pause/stop status. This is important because I've chosen to add a unic Play/Pause item in the icon in unity-launcher, and the mpris signal to send depends on the status.
unzip guayampris in /usr/bin/ folder
Unzip guayadeque.desktop. If it doesn't have the guayadeque icon, probably because this launcher is not trusted, double click on it and when asked, tell that this launcher is trusted, then drag it in unity-launcher to add it. Try with the mouse right-button, it should display the three commands I've added, Click on "keep in launcher" to add this icon to unity launcher.
-
- Posts: 210
- Joined: Wed Sep 29, 2010 11:20 pm
MPRIS and Natty Launcher
Problems with attachment... download the files from here:
http://dl.dropbox.com/u/15891016/guayadeque.desktop.zip
http://dl.dropbox.com/u/15891016/guayampris.zip
http://dl.dropbox.com/u/15891016/guayadeque.desktop.zip
http://dl.dropbox.com/u/15891016/guayampris.zip
-
- Posts: 33
- Joined: Sat Oct 09, 2010 8:01 am
MPRIS and Natty Launcher
Nicely done sir. Even more awesome than others with the next/previous album.
Thanks.
Thanks.