so i try this script
```
spot = playlist(mode='randomize',reload=1,reload_mode="rounds",
"/var/www/html/admin/spot.m3u")
# Schedulazione playlist su fascia oraria
def orer() =
# Get the first line of my external process
result = list.hd(default="", get_process_lines("php -q ore.php"))
# Create and return a request using this result
request.create(result)
end
# Create the source
s = request.dynamic(orer)
rotation = rotate(weights=[1,1],[spot,s])
radio = fallback([rotation,security])
```
ore.php is:
```
<?php
$h = date('H') .".mp3";
echo 'audio_to_stereo(single("ORARIO/ore/'.$h."))'
?>
```
all path are correct but the rotation play only "spot", where i wrong?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/savonet/liquidsoap/issues/641#issuecomment-433885145
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users