Hi Johannes,
On 21.04.05, Johannes Segitz wrote:
i can't add songs with pytonectl in pytone 2.2.1
# pytonectl playlistaddsongs ~/foo.mp3
For me this works.
,----[ debug output ] | D [home/johannes/PyTone-2.2.1/src/network] starting handler | D [home/johannes/PyTone-2.2.1/src/network] server: request type received | D [home/johannes/PyTone-2.2.1/src/network] server: object received | D [home/johannes/PyTone-2.2.1/src/network] unpickling requests.queryregistersong | D [home/johannes/PyTone-2.2.1/src/network] server receive: type=REQUEST object=(-1216173268, <requests.queryregistersong instance at 0xb72c1cec>) | D [home/johannes/PyTone-2.2.1/src/network] server: requesting <requests.queryregistersong instance at 0xb72c1cec> for client | D [home/johannes/PyTone-2.2.1/src/hub] request: queryregistersong(/home/johannes/foo.mp3)->main (priority -50) | D [home/johannes/PyTone-2.2.1/src/hub] event: requestresponse(<requests.queryregistersong instance at 0xb72c1cec> -> None) (priority -50) | D [home/johannes/PyTone-2.2.1/src/hub] request: queryregistersong(/home/johannes/foo.mp3)->main (priority 0)
Is there a database with id "main" defined whose musicbasedir contains /home/johannes?
[ ... ]
| D [home/johannes/PyTone-2.2.1/src/network] server: request type received | D [home/johannes/PyTone-2.2.1/src/network] exception 'unpack list of wrong size' occured during _receiveobject
Looking at the code , I think that this error is not the reason for your problem.
| D [home/johannes/PyTone-2.2.1/src/network] terminating handler `----
In pytone 2.2.2 it's not possible to go back to previous song with 'b'
,----[ log ] | playlist service: caught exception: global name 'currentsong' is not defined `----
You're right. Fixed.
Apart from that its the best program for managing my mp3s ever (love ncurses interfaces with vim-like keybindings). Thank you for coding it (:
Thanks!
Jörg