-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Lloyd Wallis edited this page Jan 20, 2014
·
2 revisions
Welcome to the URY-Jukebox wiki!
URY-Jukebox is part of URY's iTones project, designed to do what our student presenters do, only far better and more reliably - play music.
The script outputs both over the local soundcard (using alsa) and to an icecast mount /jukebox to the configured icecast server. There are several layers of scheduling tracks, with each falling back to the previous level.
- If there any requests that have been scheduled using the
jukebox_requests.push
telnet command, play these. - Try and use an external script (
sched_script
), where the first line of the output from the script is a file to play. URY's implementation of this can be found in our MyRadio repository. - Try and use a-list, b-list, c-list and d-list files in the playlists/ folder. These can be any playlist format, the simplest of which is one file per line.
- Try and use /jukebox/intermission-long.mp3 as a static file. With URY, we use this because our main music library is a network share, and we need something to play if this is unavailable.
Additionally, a file in /jukebox/jingles is played at random every 15m, and one from /jukebox/cj-jingles every 30m.
When a track starts playing /usr/local/bin/jukeboxtracklist.sh is executed with the filename as its first argument. This can be used to updated licensing return data.