Do you have DNS running on your LAN with an entry for your server?  Is the 
sever aware of its own host name?

I'm pretty sure you can use switch to play the m3u as you described. 


Mobile Commando types and spells ungood.  Forgive, please.

On Sep 5, 2013, at 5:17 PM, "The Sky Dancer" <[email protected]> 
wrote:

> greetings,
> First of all, I'd like to say thanks for an awesome streamer.  Liquidsoap 
> rocks.
> I do however, have just one problem with my harbor.  It works beautifully, 
> as long as I connect from within my network.  If I try to connect using my 
> domain name it will not connect. meaning, if I use 192.168.1.20 the ip 
> within my lan that is the static ip for my server on my router it works 
> otherwise, no go.  If you can help with this I'd be so appreciative.  This 
> is driving me nuts.
> 
> my liquidsoap script is as follows:
> 
> #Including this manually, as for some reason it isn't doing so 
> automatically.
> %include "/usr/lib/liquidsoap/1.0.1/pervasives.liq"
> 
> #Various settings.
> set("log.stdout", false)
> set("server.telnet", true)
> set("server.timeout",-30.)
> set("server.telnet.bind_addr","127.0.0.1")
> set("server.telnet.port",1234)
> set("harbor.bind_addr","0.0.0.0")
> 
> #The default that plays if all else fails.
> default = normalize(single("/radio/streamers/music/oldies/Looking Glass - 
> Brandy (You're A Fine Girl).mp3"))
> 
> # day and night are the same for now, but I plan to change this later on.
> day     = playlist("/radio/streamers/music/oldies")
> night   = playlist("/radio/streamers/music/oldies")
> jingles = playlist("/radio/streamers/music/jingles")
> 
> # Play user requests if there are any,
> # otherwise one of our playlists,
> # and the default file if anything goes wrong.
> bsradio = fallback([ request.queue(id="request"),
> switch([({ 6h-22h }, day),
> ({ 22h-6h }, night)]),
> default])
> 
> # Add the ability to relay live shows
> # This defines a source waiting on the port 4500 and mount point: /
> live = input.harbor("/",port=4500,password="<password>",icy=true)
> 
> # Add a jingle to the normal source
> # every half hour:
> timed_promotions = delay(1800.,jingles)
> station_id = fallback([timed_promotions,bsradio])
> 
> # This is the final stream.
> # Uses the live source as soon as available,
> # and don't wait for an end of track, since
> # we don't want to cut the beginning of the live
> # stream.
> full = fallback(track_sensitive=false,
> [live,station_id])
> 
> # Register our stream with liquidsoap flows.
> full = register_flow(
> radio="Blazing Star Radio",
> website="http://www.blazingstarradio.com/";,
> description="Playing the Hottest Stars of Yesteryear!",
> genre="oldies",
> user="<user>",
> password="<password>",
> streams=[("mp3/128k","http://blazingstarradio.com:4489/listen.pls";),("mp3/32k","http://blazingstarradio.com:4487/listen.pls";)],
> full)
> 
> # Crossfade the whole works, I hope.
> full = normalize(full)
> full = smart_crossfade(full)
> 
> # Output the full stream to the broadband shoutcast server in MP3 format.
> output.shoutcast(%mp3(bitrate=128,samplerate=44100),
> host="localhost",port=4489,password="<password>",
> genre="oldies",name="Playing all the Hottest Stars of 
> Yesteryear!",public=true,url="http://www.blazingstarradio.com/";,
> full)
> 
> # Output the full stream to the dialup shoutcast server in MP3 format.
> output.shoutcast(%mp3(bitrate=32,samplerate=22050),
> host="localhost",port=4487,password="<password>",
> genre="oldies",name="Playing all the Hottest Stars of 
> Yesteryear!",public=true,url="http://www.blazingstarradio.com/";,
> full)
> 
> Now we come to my scheduling question.  Can liquidsoap handle scheduling a 
> specific m3u to be played at a specific time on a specific day every week 
> for example, or do I need to find a way to do this with perhaps php and 
> mySQL or something? just wondering.
> Thanks,
> Ben
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to