Hello,
You said if I would try to make some extra dynamic, I could ask you for
help :)
So, I dream to make two types of playlists (from user's point):
1. autodj (dynamic playlist, based on request.dynamic, that retrieves
just track urls)
2. http relay (relaying smbd station's stream by given url, based on
http.input)
Finally i thought about something like this:
security = single()
> mainstream = ref blank() # here will be implemented as autodj as http relay
> live = input.harbor(...)
> radio = fallback(track_sensitive = false, [live, mainstream, security]);
As for dynamic stream change, i thought to implement function that will:
1. retrieve in json some information about next playlist at some period
of time in json format
2. parse data
3. depending on data retrieved, will assign to mainstream new source
using reference
for example something like this:
def test() =
> playlist = #... request playlist data
> if (playlist["type"] == "relay") then
> source = request.dynamic(...)
> else
> source = input.http(...)
> end
>
> mainstream := source;
> end
Is it possible, or i am in the wrong way?
--
Kind regards,
Alexander.
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users