Already a member?
Sign in
Listen Plugin
This is a stand-alone python script to connect the Listen music player (www.listen-project.org) to AWN.
It displays the cover and the percentage of the song played. Other information about the song is already displayed in the title (bubble).
Maybe this concept shows that we should not get our favorite programs to support AWN, but get them supported by AWN. We should add some hook to load such plugins at AWN startup.
(Little) Issues:
It displays the cover and the percentage of the song played. Other information about the song is already displayed in the title (bubble).
Maybe this concept shows that we should not get our favorite programs to support AWN, but get them supported by AWN. We should add some hook to load such plugins at AWN startup.
(Little) Issues:
- Listen changes its window name according to the song played. Therefor it was a little hard to find the task on the icon bar. If the format of the window name is not right for you, you can change it.
- Listens plugin system is currently being implemented. Awn also does not have a loading system at the moment. This plugin is the "glue" between those two. Just run it somewhere in the background.
Latest page update: made by pavpanchekha
, Jul 23 2007, 9:06 PM EDT
(about this update
About This Update
Edited by pavpanchekha
2 words added
2 words deleted
view changes
- complete history)
2 words added
2 words deleted
view changes
- complete history)
More Info: links to this page
| Started By | Thread Subject | Replies | Last Post | |
|---|---|---|---|---|
| aqtrans | Won't Work. | 1 | Jul 31 2007, 9:20 AM EDT by lapo | |
|
Thread started: Mar 10 2007, 12:36 PM EST
Watch
Has anyone actually gotten this plugin to work? It runs fine (after deleting the () from the python script, so it actually runs), but won't do anything.
|
||||
| Seine | DBusException | 2 | Jul 2 2007, 8:58 AM EDT by Seine | |
|
Thread started: Jul 1 2007, 9:37 AM EDT
Watch
I'm not too good with python, but I managed to detect that the script was throwing a DBusException each loop iteration. Here's the traceback...
Traceback (most recent call last): File "./awn_plugin_listen.py", line 41, in main vars = {'title' : listen.get_title(), 'artist' : listen.get_artist(), 'album' : listen.get_album()} File "/var/lib/python-support/python2.5/dbus/proxies.py", line 85, in __call__ return self._proxy_method(*args, **keywords) File "/var/lib/python-support/python2.5/dbus/proxies.py", line 169, in __call__ reply_message = self._connection.send_message_with_reply_and_block(message, timeout) DBusException: org.freedesktop.DBus.Python.dbus.exceptions.UnknownMethodException: Traceback (most recent call last): File "/var/lib/python-support/python2.5/dbus/service.py", line 429, in _message_cb (candidate_method, parent_method) = _method_lookup(self, method_name, interface_name) File "/var/lib/python-support/python2.5/dbus/service.py", line 222, in _method_lookup raise UnknownMethodException('%s is not a valid method of interface %s' % (method_name, dbus_interface)) UnknownMethodException: Unknown method: get_title is not a valid method of interface org.gnome.Listen Have I done something wrong setting this up? PS, without additional handling this just looks like its working but doing nothing. |
||||
| aqtrans | No Dynamic Title | 0 | Mar 14 2007, 5:21 PM EDT by aqtrans | |
|
Thread started: Mar 14 2007, 5:21 PM EDT
Watch
A developer for Listen just submitted a patch that allows you to turn off the dynamic title for Listen, so AWN can recognize it a lot easier. I just applied it, and it works fine...Maybe make it a bit more reliable?
|
||||
| njpatel | Getting it to work | 1 | Mar 7 2007, 2:08 PM EST by mthaddon | |
|
Thread started: Feb 26 2007, 7:52 AM EST
Watch
Try 'Listen' (with a capital L, it works for me on test)
|
||||
|
|
awn_plugin_listen.py (Python Script - 3k)
posted by Timon_and_Pumba Mar 2 2007, 9:07 AM EST
Listen plugin (Python)
|
