Open 3err0 opened 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.
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.
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?
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
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
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
Please integrate player in Unity sound menu. Example documentation http://developer.ubuntu.com/resources/technologies/sound-menu/