Can you look in the code cook book for examples of you you want to do and maybe modify that script? That's about all I can offer right now.
Take care. > On Jun 4, 2015, at 5:05 AM, Per Gunnarsson <[email protected]> > wrote: > > I am not sure I understand how I should define the variable. I had the > stream section at the top of the script. > I have looked it through for odd and misplaced quotes, and I can't find > anything wrong. > > On 2015-06-02 21:28, Sarah k Alawami wrote: >> Did you check to see if there are any odd or misplaced quotes? It looks >> right to me. Also did you define your veriable at the top of the script >> before beginning it? I'm just skimming as I'm new to the liquid soap thing >> as well. >>> On Jun 2, 2015, at 12:26 PM, Per Gunnarsson >>> <[email protected]> wrote: >>> >>> Hello! >>> >>> I use the Debian package of liquidsoap for Wheezy. >>> >>> I have added this in my radio.liq in /etc/liquidsoap : >>> >>> stream = register_flow( >>> radio="mustafejen", >>> website="http://mustafejen.se/", >>> description="Stream from Ersboda", >>> genre="Alternative", >>> streams=[("ogg/112k","http://mustafejen.se:8000/stream.ogg")], >>> stream) >>> >>> This I tried to copy from http://liquidsoap.fm/doc-svn/flows.html. >>> >>> I get >>> >>> per@mustafejen:~$ sudo /etc/init.d/liquidsoap restart >>> Stopping liquidsoap channels: radio.pid OK >>> Starting liquidsoap channels: radio.liq At line 19, char 7: the variable >>> stream used here has not been previously >>> defined. >>> OK >>> >>> Did I copy wrong? >>> >>> I looked in /usr/lib/liquidsoap/1.0.1/flows.liq >>> and thought there could be something in the section: >>> >>> def register_flow(~server="",~user="default",~password="default", >>> ~email="",~radio,~website,~description,~genre, >>> ~streams,s) >>> >>> Now I am looking for things above my skill level. >>> >>> I'd better go to sleep now. >>> >>> Regards, >>> >>> Per Gunnarsson >>> >>> >>> ------------------------------------------------------------------------------ >>> _______________________________________________ >>> Savonet-users mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/savonet-users >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Savonet-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/savonet-users > > > ------------------------------------------------------------------------------ > _______________________________________________ > Savonet-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/savonet-users ------------------------------------------------------------------------------ _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
