Hi Everyone!
At University Radio York we've been running our jukebox/sustainer with
liquidsoap for the past few months and recent switched out main output
streams to liquidsoap too and they've been working great. But now has
come the time to tidy up what has slowly been added to since the start
and I was wondering if anyone had some advice, improvements or best
practices that you think our code could do with.
Link to the code:
http://pastebin.com/tTEQ3rdT
Things we want to achieve:
- Actually implement the commented out playlists:
Currently we use delay to go between the A list (about 20
tracks) and the Normal List (about 150 tracks).
I guess just using random(weights=[], []) is best?
- Re-factoring out parts of the code into separate files to allow
individual restarts:
Is this actually possible?
I saw an init script that should allow this, but would having
playlists defined separately be useful?
Does anyone use a very modular system? How do you do it?
- Implementing 'Campus_Playout':
We made a system to take in the http stream from the live
output so that the 'campus_playout' output could be switched manually to
live rather than jukebox, but wasn't ideal. The best way seems to be
harbors, is there a way to set a flag to switch this on and off
automatically?
- Sorting out the clocks:
On each output there is a separate clock, this was to try and
combat an issue where all outputs sped up if we tried to use
smart_crossfade on the 'campus_playout' stream. Is what we've done
wrong, or badly implemented, as it didn't seem to solve the issue, but
does provide multiple threads for liquidsoap to run in.
The mksafe(buffer(jukebox)) on each output seems unnecessary,
but liquidsoap seems to complain if it's not there, why is this? and how
can we fix it?
- OB-line input:
Currently for outside broadcasts the audio is streamed from a
laptop to icecast, then re-streamed internally to live. We'd quite like
to automate this, and also to reduce the extra delay this creates. A
simple way would seem to be streaming directly to the server and using a
harbor. What are your thoughts on implementing this?
One thing we have been looking into is using netJACK to connect
from OB to studio. would this be as simple as taking input.jack or
should more be done?
Lots of questions there, any other comments or improvements would be
much appreciated.
Thanks,
Andy
((URY)) Computing
University Radio York
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users