Le lundi 11 octobre 2010 11:54:02, Maxwell Rathbone a écrit :
>   It appears the problems continue unfortunately.  I modified my .liq 
> file so it looks like:
> output.shoutcast(%mp3,name="OrbitalGrooves.com",description="OrbitalGrooves
> ",bitrate=192,host="IPADDRESSHERE",  port=PORT#HERE,
> password="PASSWORDHERE", restart=true, genre="genres",
> url="http://www.orbitalgrooves.com";, mksafe(playlist("playlist.pls")))
> 
> It's worth noting that minus the %mp3, the syntax above did work for me 
> on the previous version of Liquidsoap.
> 
> Liquidsoap appears to not like having a description in this function any 
> longer. So I removed description, 

Yes, there was a bugreport about the fact that the description part of the 
operator was actually not used so we removed it:
  http://savonet.rastageeks.org/ticket/341

Do you know if the description was actually used by shoutcast ? If so, we may 
revert this change..

> and then it started complaining about 
> bitrate.
> 
> It appears that more has changed than the name of the 
> output.shoutcast.mp3 function?

Yeah, sorry. More generally, everyting that was related to the encoding format 
has been moved into the %format syntax, which is documented here:
  http://savonet.sourceforge.net/doc-1.0.0-beta1/encoding_formats.html

So, in your case, what you need is:
  output.shoutcast(%mp3(bitrate=192), ...)

Another remark now that I'm here is about mksafe; you can now set the 
parameter fallible to true, this way:
  output.shoutcast(%mp3(bitrate=192), fallible=true, ...)
And avoid using mksafe. In the source becomes unavailable, however, the output 
will stop and start later when the source is available again..

> How do I continue to specify the yellowpages information for the 
> station??? Even the example shoutcast.liq that you provide does not 
> include these other required fields. It seems like at minimum your 
> example shoutcast.liq and website need updated to reflect the proper 
> FULL syntax for streaming to Shoutcast.

As usual,
  liquidsoap -h output.shoutcast
will give you all the arguments of the function. In particular, you have:

* genre : string (default "Misc")
* url : string (default "http://savonet.sf.net/";)
* name : string (default "OCaml Radio!")
* aim : string (default "")
* icq : string (default "")
* irc : string (default "")

Do you need to send more informations ?

Romain

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to