2010-03-30, 18:38
not sure what you mean by websockets but the tcp server can announce stuff like the old httpapi could, i.e. playback stopped and such.
I've also added so a client can announce stuff aswell, so 2 clients can in theory communicate through this, however the communication is easily eavesdropped by a third client I mostly added it so a script could listen to events and report stuff, a reasonable usage scenario is the social aspect were a script could report love status and such, and since scripts can announce a backend script could easily announce "download finished" and so on.
If there exist interest I'll add a real messaging system which can't be eavesdropped (well with wireshark it could, I doubt I'll add encryption, seems abit more like the clients doing but could be pursuaded to do add though).
P.S Glad to see you got it working.
Cheers,
Tobias
I've also added so a client can announce stuff aswell, so 2 clients can in theory communicate through this, however the communication is easily eavesdropped by a third client I mostly added it so a script could listen to events and report stuff, a reasonable usage scenario is the social aspect were a script could report love status and such, and since scripts can announce a backend script could easily announce "download finished" and so on.
If there exist interest I'll add a real messaging system which can't be eavesdropped (well with wireshark it could, I doubt I'll add encryption, seems abit more like the clients doing but could be pursuaded to do add though).
P.S Glad to see you got it working.
Cheers,
Tobias