Thanks a lot to all here my script and it works.

`#!/usr/bin/liquidsoap

set("log.file.path", "/tmp/liquidsoap_radio.log")

local_playlist = playlist.safe("/home/pi/Musique/", mode="random", reload=300)

stream_rfi = input.http("http://live02.rfi.fr/rfimonde-96k.mp3";, 
id="stream_rfi_ok")

live = input.http("http://orleans.radiocampus.org:8000/stream_rco_live.mp3";, 
id="live_ok")
 
content = fallback(track_sensitive=false, [live, stream_rfi, local_playlist])

output.alsa(content)`

To run the script at the start of my raspi I had to edit the /home/pi/.bashrc 
and add the path of the script at the end of the .bashrc

Is there another method ?

-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/savonet/liquidsoap/issues/674#issuecomment-446621071
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to