Hello,
Currently i use 3 sources with fallback for streaming, defined like this:
security = single(...);
live = input.harbor(...);
autodj = request.dynamic(...)
radio = fallback(track_sensitive = false, [live, autodj, security]);
Request dynamic asks my cli script every time i need next track. Also, I've
implemented programs (or events) support for autodj source, that works
following way: I retrieve current event end date in liquidsoap, and set
timeout. When timeout comes, i use source.skip to skip a file, to make
request.dynamic pull new track. But request.dynamic, in fact, has two
tracks for a moment: one that is currently played, and one that is in
memory, that is ready to be played next.
So, when event timeout time comes, request.dynamic skips current track (for
old event), starts to play track from the memory (also for old event), and
pulls new track in memory (from new event). If i will call source.skip two
times at 1 moment, there will be no fade (and it is not nice solution).
I want to replace autodj source with fade with new request.dynamic. How it
is possible? And is that possible when using such scheme?
--
Kind regards,
Alexander.
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users