Yeah my ice cast must stream out  to port 80 for reasons i won't go in to here. 
 Oh it bound successfully but i posted another  thread explaining what  hapens 
next. This really is a n odd one as the server works grate except for now. The 
playlist at least loads now. but I'm getting http 404 errors all over the 
place. See the next thread I replied to at about midnight  pst.

Blessings.
> On Dec 4, 2014, at 1:32 AM, unosonic <[email protected]> wrote:
> 
> Sarah k Alawami:
>> 
>> live = input.harbor("live",port=8000,password="whatever")
>> correct? 
> 
> depends...
> 
> if your icecast runs on its default port 8000, your harbor cannot
> bind() to 8000 since it's used. rather try 8001 for your harbour.
> but don't use ports below 1024, they're only for root... just
> don't use them...
> 
> so:
> 
> # create a playlist source
> list = playlist("/path/to/my_playlist")
> 
> # create a harbor that listens on my.ip.add.ress and port 8001 for live input
> set("harbor.bind_addr","my.ip.add.ress")
> live = input.harbor(id="live", port=8001, password="my_harbor_pass", "live")
> 
> # combine the sources
> radio = [live, list]
> 
> # stream to icecast
> output.icecast( 
>        %mp3(bitrate = 128, samplerate = 44100), 
>        mount = "/your_icecast_mountpoint", 
>        host = "localhost",  
>        port = "8000",  
>        password = "your_icecast_pass", 
>        radio
> ) 
> 
> this is just an example, very basic. it plays a playlist, 
> until you connect to the harbor, then it plays your live input.
> 
> tip: do NOT change many things at the same time if you're not
> sure what they mean. one after the other. if it does what you want,
> then proceed with the next. keep it simple.
> 
> bests, u.
> 
> 
> 
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to