Sign in or 

|
pavpanchekha |
Latest page update: made by pavpanchekha
, Jul 23 2007, 9:06 PM EDT
(about this update
About This Update
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?
|
|||||
|
|
awn_plugin_listen.py (Python Script - 3k)
posted by Timon_and_Pumba Mar 2 2007, 9:07 AM EST
Listen plugin (Python)
|