Hi,
Thank you for the reply. I think my question was not clear enough.
Anyway I used fallback to transfer to news_src on specified time slots
as follows.
radio = (.......................)
news_src = input.http("http://76.73.8.178/radio")
# fake_src for activate fallback after news
fake_src = playlist("/var/songs/fake/")
news = fallback(transitions = [crossfade, crossfade], track_sensitive=false, [
switch([
({7h0m0s-7h15m0s},news_src),
({7h15m0s-7h17m0s},fake_src),
({12h30m0s-12h45m0s},news_src),
({12h45m0s-12h47m0s},fake_src),
({18h30m0s-18h45m0s},news_src),
({18h45m0s-18h47m0s},fake_src),
({22h0m0s-22h15m0s},news_src),
({22h15m0s-22h17m0s},fake_src)
]),radio])
After the specified duration for news, I want to get back to normal
radio (Songs). I just added a fake source to activate fallback. But
this trick doesn't work and hang on news_src forever.
What should I do to activate fallback after specified time for news source?
Thanks.
On Tue, Oct 26, 2010 at 2:55 AM, David Baelde <[email protected]> wrote:
> Hi Senaka,
>
> An output.icecast() cannot be reconfigured dynamically, but you have
> several other options:
>
> (1) Have a special output for the special time slot, if it's always
> the same server/mountpoint. It should be fallible, which allows to
> have an input source such as switch([({0-10m},s)]); it will
> connect/disconnect depending on when the source is ready.
>
> (2) Have a separate liquidsoap script, or an icecast relay setup that
> relays the main stream to the special point during 0-10m.
>
> (3) Have a function (and a corresponding server command) that
> creates/deletes an output dynamically in your script -- this is a
> little tricky to do, avoid if you can.
>
> Try to keep it simple, there is probably a way!
>
> Good luck,
>
> David
>
--
H K S Amarakeerthi
Computer Arts Lab
University of Aizu
Aizu - Wakamatsu, Fukushima Ken 965-8580
Japan
[email protected]
[email protected]
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users