Can't play previous track when controlling Decibel from terminal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Decibel Audio Player |
Fix Released
|
Undecided
|
Anonym25712 |
Bug Description
I am working on a python script to control decibel-
Command | Arguments | Description
-------
next | | Jump to the next track
pause | | Pause or continue playing the current track
pl-add | file1 file2... | Append the given files to the playlist
pl-clr | | Clear the playlist
pl-set | file1 file2... | Set the playlist to the given files
play | | Start playing the current track
prev | | Jump to the previous track
shuffle | | Shuffle the playlist
stop | | Stop playback
volume | value (0 -- 100) | Set the volume
All the commands worked EXCEPT when I try to play the previous track via the terminal I get the following error:
name@name /usr/share/
Traceback (most recent call last):
File "remote.py", line 89, in <module>
elif cmd == PREVIOUS: player.Previous()
File "/usr/lib/
return self._proxy_
File "/usr/lib/
**keywords)
File "/usr/lib/
message, timeout)
dbus.exceptions
File "/usr/lib/
(candidate_
File "/usr/lib/
raise UnknownMethodEx
UnknownMethodEx
I am new to python and programming in linux in general so any help would be greatly appreciated. Also, I plan to share my script and a tutorial when it is completed and fully working for those who are interested; but first I need help figuring out how to get "previous track" to work.
Thanks!
Fixed in trunk. The MPRIS method is called Prev, not Previous.