On 20/04/16 18:03, Mark Jeghers wrote:
> So is this legal?

well... I'm more like the breaking laws kind of guy... but it works, yes. =)


> *p**laylist**1**= playlist("audios/**blues-rock**.**txt**")*
> *playlist**2**= playlist("audios/**acoustic-folk.txt**")*
>  
> *output.icecast(*
> *        %**mp3**,****host="localhost",****port=8000,****password=password,*
> *       
> mount="/**blues-rock**",****genre=**"Blues"**,****description="**Blues!**",*
> *        url=url ,****mksafe(playlist**1**))*
>  
> *output.icecast(*
> *        %**mp3**,****host="localhost",****port=8000,****password=password,*
> *       
> mount="/a**coustic-folk**",****genre=**"Folk"**,****description="**Folk!**",*
> *        url=url ,****mksafe(playlist**2**))*


you may need to use quote marks for password though (I didn't quote it
in mine 'cause it was a previously declared variable). Same for the url
parameter.

and you could also declare the mksafe function in the playlist variable
to make it "cleaner". Like

playlist = mksafe(playlist("list.txt"))

for instance.

hope it helps.

>  
>  
> -----Original Message-----
> From: k054 [mailto:[email protected]]
> Sent: Wednesday, April 20, 2016 2:57 PM
> To: [email protected]
> Subject: Re: [Savonet-users] Multiple programs running in one instance
> if Liquidsoap
>  
> Hi Mark,
>  
> On 20/04/16 15:52, Mark Jeghers wrote:
>> I plan to have more than one different program going at the same time 
>> (e.g. two different playlists streaming to different mountpoints).  
>> Can one liquidsoap instance do both, and how is the script coded for that?
>> I have not seen an example for that.  Is there a **simple** sample 
>> config that illustrates this?
>> 
>> Or is it required to run a separate instance of liquidsoap for each 
>> unrelated streaming program?
>  
> I just stared using liquidsoap 4 days ago and I may be completely wrong,
> but it seems to me that scripts are the best way to understand way to
> run stuff.
>  
> That being said, you can run as much as instances, streams and
> mountpoints as you need/want in a script.
>  
> Take a look at this example and let us know if that works for you.
>  
> https://share.riseup.net/#miSsfq1pEs76655M7ZI8cw
>  
> It runs two different mount points (1 video and 1 audio).
> It also takes a single video for the video stream and a playlist for the
> audio one.
>  
> Saludos!
>  
>  
> --
> k054
>  
> 
> 
> ------------------------------------------------------------------------------
> Find and fix application performance issues faster with Applications Manager
> Applications Manager provides deep performance insights into multiple tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> 
> 
> 
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
> 


-- 
k054

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to