The scheduler can be used to dynamically switch between multiple audio input streams. Its designed to run without any user interaction except synchronization with an external calendar like Google's.
Audio processing is done using french-army knife for multimedia streaming: liquidsoap.
PACKAGE stream-schedule-gsync: Each google calendar event title contains either the source stream URL or an pre-defined keyword. Use syncStreamSchedule.pl to write a list of stream events to a CSV file. The output can be used by stream-schedule to switch between defined streams.
Configuration is to be done at /etc/stream-schedule/gsync.conf Place the google calendar url, your google service account and the path of your service account key at „sources“ section. Place the output file at „target“ section.
PACKAGE stream-schedule-liquidsoap: define a liquidsoap daemon with 2 predefined stations that will be used for fallback configuration. audio output, file archive and stream output can be defined at /etc/stream-config/liquidsoap/start.conf defines remote control via socket, that is used to set the streams and get RMS values
PACKAGE stream-scheduler: schedule the events from the gsync.conf output and make liquidsoap starting them. Creates RMS logs and plots at configured directory.
PACKAGE stream-schedule-webapp: web gui to see the current status of the scheduler and the liquidsoap instance. uses apache web server.
There are different components. Web interface and Google Synchronization are optional.
* Once configured, you can use one of the station aliases at the event title at Google calendar to address the station.
* The scheduler is running as background daeman and creates the status for the web frontend.
* The scheduler should also prevent setting invalid URLs, so liquidsoap should keep on running.
The current version is in used by Piradio since May 2011 to switch between streams provided by free radio stations at Berlin (Radio Ansage, Freies Radio Potsdam, Collabo-Radio and Pi Radio) and forward the result stream to the transmitter station of 88vier at 88.4 FM Berlin. A previous version was used to switch between 2 radio stations (Reboot.fm and Pi Radio) at Radio Einheit in September 2010.
This scheduler is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program comes with ABSOLUTELY NO WARRANTY.