PromyLOPh / pianobar

Console-based pandora.com player
http://6xq.net/pianobar/
Other
1.74k stars 323 forks source link

IPC interfaces #70

Closed vayn closed 13 years ago

vayn commented 13 years ago

Is there any chance of adding IPC interface support? Many software communicate each other with this interface, i.e. OSD-Lyrics. About OSD-Lyrics: http://lifehacker.com/5607580/osd+lyrics-turns-your-linux-media-player-into-a-karaoke-machine

Thank you. Merry Christmas.

PromyLOPh commented 13 years ago

Which IPC interface are you refering to? Dbus?

vayn commented 13 years ago

DBUS Interface: getstatus(player current status), getcurrentposition, getmetadata(artist,album,duration)

PromyLOPh commented 13 years ago

Is there more documentation of this api available? Who else uses it?

vayn commented 13 years ago

Sorry I don't know much about details. I just think displaying lyrics when the song is playing is good user experience. You can find more information at here: http://code.google.com/p/osd-lyrics/ and https://github.com/tigersoldier/osd-lyrics

PromyLOPh commented 13 years ago

Ok, so basically this would turn pianobar into a daemon/server that responds to requests (getstatus, getcurrentposition, getmetadata) from clients. I will not add this feature, although it would be possible (and painful, I guess). My advice is to write a real pandora daemon -- something like xmms2 or mpd. They're both designed to serve information to other clients whereas pianobar is not.

vayn commented 13 years ago

This is really bad news... Anyway, pianobar is still a great software for me. I don't understand how to create a player like pianobar, or patch pianobar, could you recommend some ebooks or websites about it please?