multani / sonata

GTK 3 client for the Music Player Daemon - I'm looking for new maintainers!
GNU General Public License v3.0
124 stars 41 forks source link

Integrate Unity sound menu #46

Open 3err0 opened 11 years ago

3err0 commented 11 years ago

Please integrate player in Unity sound menu. img Example documentation http://developer.ubuntu.com/resources/technologies/sound-menu/

multani commented 11 years ago

I don't have access to any machine with Unity so I can't really implement this at the moment.

I don't know if there's a Python module for this, but playlists aside, it should be easily implemented as a plugin, which I would gladly consider integrating into Sonata.

3err0 commented 11 years ago

In this case, make the ability to display links to launch the player in this menu. Without the ability to control. Since when minimized to the system tray application in the system with Unity application is lost. And in due course to try to realize the possibility of a broader governance. And as an example of interaction between Unity and MPD have the source code to C++ http://bazaar.launchpad.net/~torkvemada/mpd-sound-menu/main/files if they can be useful.

multani commented 11 years ago

Do you mean that, under Unity, if Sonata is minimized into the system tray, you can't use the controls from the context menu which appears when you right-click on the tray icon?

3err0 commented 11 years ago

No. I mean that if you use Unity, turning the app does not appear in the system tray. But there is a possibility that this is caused by the new system of Elementary OS which, though not a complete Unity but there are large parts of it. Screen http://i.imgur.com/mBRkzWm.png

3err0 commented 11 years ago

Hello again. Stumbled upon the code of one of the demonstration project which shows the way in Python as a player is placed at the menu which I wrote to you. That's the same project: http://theravingrick.blogspot.ru/2011/02/easily-support-sound-menu-in-python.html http://bazaar.launchpad.net/~rick-rickspencer3/+junk/sound_menu/view/head:/sound_menu.py

CaviaPorcellus commented 10 years ago

Sonata can be used together with mpDris2 (it's in the Ubuntu repos) to get the Unity sound menu working. See also: https://github.com/eonpatapon/mpDris2