Skip to content
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.

  1. If there any requests that have been scheduled using the jukebox_requests.push telnet command, play these.
  2. 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.
  3. 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.
  4. 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.

Clone this wiki locally