Hello, newbie bling-bling speaking.

Ok i' can connect my Winamp DNAS to Harbor,
sending stream, but Harbor send nothing to the "out".
Liquidsoap still streaming my playlist, and forget the "live" source.
"switch" can be the problem ?
Or my radio is not well defined ? (oula l'anglais là..)

My log :

##############################
20:01:54 [promo(dot)lst:3] Prepared
"/home/fred/www/Radio/minimal/02_-_Christian_Szer_-_Radio_glitch_FM_Sven_Laux_rmx.mp3"
-- rid 4
20:01:54 [src_3128:3] switch to src_3127 with forgetful transition
20:01:55 [src_3127:3] switch to minimal(dot)lst
20:02:14 [harbor:3] New client: 82.235.162.45
20:02:14 [harbor:3] ICY request on /.
20:02:14 [harbor:3] Adding source on mountpoint '/' with type 'audio/mpeg'.
20:02:14 [threads:3] Created thread "harbor source feeding" (4 total)
20:02:14 [src_3152:3] Decoding...
20:08:06 [minimal(dot)lst:3] Finished with
"/home/fred/www/Radio/minimal/pntg014-03-lukas_lehmann-hypnotisierung_eines_unbeugsamen.mp3"
20:08:06 [minimal(dot)lst:3] Prepared
"/home/fred/www/Radio/minimal/mtk123-aleksi-virta-02-nebulae-herb.mp3" --
rid 12
20:11:20 [minimal(dot)lst:3] Finished with
"/home/fred/www/Radio/minimal/mtk123-aleksi-virta-02-nebulae-herb.mp3"
##########################

My .liq

##########################
radio = random(weights=[1,20],[promotions,switch([ ({16h05-18h05}, mix),
({18h05-21h05}, normal), ({21h05-23h30}, mix), ({23h30-2h05}, normal),
({2h05-4h05}, mix), ({4h05-16h05}, normal) ])])

radio = map_metadata(fun(m)->[("title", get_process_output("basename
#{quote(m["filename"])}"))], radio)
radiodef = add([ radio, switch([({0m0s},jingles)]) ])

### serveur settings
set("harbor.bind_addr","0.0.0.0")
set("harbor.port",8020)
set("harbor.username","xxxxx")
set("harbor.password","xxxxx")
set("harbor.icy",true)
set("harbor.timeout",30.)

live = input.harbor("/")

flux_final = fallback(track_sensitive=false, [radiodef,live,security])

out = output.shoutcast.mp3(.............blablabla, flux_final)

Reply via email to