Sixthhokage2 / remuco

Automatically exported from code.google.com/p/remuco
1 stars 1 forks source link

remuco-exaile needs to update to new exaile plugin API #194

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What is your environment?
* OS: Ubuntu 13.04(devel) and Debian Sid
* Remuco version: 0.9.6
* Client device: any
* Player: Exaile 3.3.x

Exaile 3.3.0-1, has had changes to its plugin API. The remuco-exaile can no 
longer be enabled.

Traceback:

INFO    : remuco version: 0.9.6
INFO    : file browser root dirs: {'Andrew': '/home/andrew'}
INFO    : created bluetooth server
INFO    : created wifi server
Traceback (most recent call last):
  File "/usr/lib/exaile/xl/plugins.py", line 124, in enable_plugin
    plugin.enable(self.exaile)
  File "/usr/share/exaile/plugins/remex/__init__.py", line 636, in enable
    _enable("exaile_loaded", exaile, None)
  File "/usr/share/exaile/plugins/remex/__init__.py", line 641, in _enable
    epa.start()
  File "/usr/share/exaile/plugins/remex/__init__.py", line 123, in start
    self.__update_position()
  File "/usr/share/exaile/plugins/remex/__init__.py", line 529, in
__update_position
    self.update_position(pl.get_current_pos())
AttributeError: 'Playlist' object has no attribute 'get_current_pos'
WARNING : Unable to enable plugin remex
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/remuco/adapter.py", line 615, in __poll
    self.poll()
  File "/usr/share/exaile/plugins/remex/__init__.py", line 140, in poll
    self.__update_repeat_and_shuffle()
  File "/usr/share/exaile/plugins/remex/__init__.py", line 450, in
__update_repeat_and_shuffle
    repeat = self.__queue.current_playlist.is_repeat()
AttributeError: 'Playlist' object has no attribute 'is_repeat'
...

Original issue reported on code.google.com by A.Star...@gmail.com on 21 Dec 2012 at 5:04

GoogleCodeExporter commented 9 years ago
Attaching my ugly/hacked to pieces __init__.py that i got working with exaile 
3.3.1

Python is not my language and i stopped poking around once i got it working

Original comment by kristian...@gmail.com on 16 Sep 2013 at 7:27

Attachments: