Hi All !

I wrote a starting small minimal client interface in python / gtkbuilder 
that will permit to control liquidsoap, and in particular to link a 
local soundcard source to a shout/icecast server. this week I focused on 
the interface: it has one "add" button that pop a "server info" dialog  
(host,port,password) , then adding it to a listview. Additionally I 
wrote XML functions that permit to store each link info to a local file 
(ie: password ?)... see below.
I am asking myself what would be the best practice next ? :)

* to consider the local XML file as a "backup" file. If liquidsoap 
crash, all links info are still available. Maybe implement something 
that compare local and remote config data ? How to sync local client and 
remote data ?
* s4shout connects to liquidsoap at launch time and retrieve current 
links status. (but how to retrieve server name, password and metadata 
for a given link from the telnet interface ? ).
* s4shout display current active and inactive links, with name and port 
in the listview.
* Adding a link from s4shout: adds the link to the local XML file ? On 
"connect" event, send the "add" command (type 
"soundcard_source|host|port|password")  to liquidsoap for this link.  
for metadata, s4shout could send it afterward using a liquidsoap dynamic 
function for the link.
* Remove a link from s4shout... first removing it from liquidsoap ? (how 
to recognize it in liquidsoap thru telnet ?) the remove XML entry.
etc etc

Seems a lot of work's coming, don't you think :) ?

Martin



------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to