memeco / osd-lyrics

Automatically exported from code.google.com/p/osd-lyrics
GNU General Public License v3.0
1 stars 0 forks source link

osdlyrics Cannot get property CanPause, Method "Get" with signature "ss" doesn't exist #319

Open redbarrol opened 6 years ago

redbarrol commented 6 years ago

When I run: osdlyrics -d, it shows

Error: in function ol_player_get_property: ol_player.c[647] Cannot get property CanPause: GDBus.Error:org.freedesktop.DBus.Error.UnknownMeth od: Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properti es" doesn't exist

and when I close osdlyrics: Error: in function ol_player_get_property: ol_player.c[647] Cannot get property CanPause: GDBus.Error:org.freedesktop.DBus.Python.AttributeError: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 707, in _message_cb retval = candidate_method(self, *args, **keywords) File "/usr/local/lib/python2.7/dist-packages/osdlyrics/dbusext/service.py", line 136, in Get return getattr(self, prop_name) File "/usr/local/lib/python2.7/dist-packages/osdlyrics/dbusext/property.py", line 91, in get return wrap_dbus_type(self._type_signature, self._fget(obj)) File "/usr/local/lib/osdlyrics/daemon/player.py", line 472, in CanPause return self._player.Get(MPRIS2_PLAYER_INTERFACE, 'CanPause') AttributeError: 'NoneType' object has no attribute 'Get'

Please help me