Manual · SchedulingContents

Scheduled events

The Schedule tab (the Scheduling section of the manual) runs simple actions at fixed times. It is separate from the long-term automation: events do something once, or on a repeating pattern, while the grid decides what airs hour by hour.

Event types

WhenMeaning
OnceThe next time that time comes; the event then disables itself
Every dayThe same time every day
Every weekA weekday and time
Every N minutesA repeating interval
Every hourEvery hour at the chosen Minute (0 is on the hour)

Each event has a Name. The list shows its When and its Action, a checkbox to enable or disable it and a cross to remove it. A disabled event stays in the list but does not run.

Actions

ActionWhat it does
Station IDPlays the station ID, with the spoken time if you want it. See below
Play trackPlays a chosen file immediately
Play playlistLoads and plays a saved playlist
Set volumeSets the output level
Fade volumeFades to a level over a number of Seconds
Start streamingStarts the Icecast connection
Stop streamingStops it

To add an event, fill in Name, When, the time or Minutes, and Action, then click Add. For Play track, use Choose file…; for Play playlist, choose a saved Playlist.

Hourly station ID

To air the station ID on the hour, add an event with When set to Every hour, Minute 0 and the action Station ID. Choosing Station ID while When is Every day switches it to Every hour.

  • Station ID: a file (Choose file…) or a folder (Choose folder…). With a folder, its audio files take turns in random order, and the same one never plays twice in a row.
  • Spoken time: an optional folder with one recording per hour. RIARS plays it just before the ID, so listeners hear the time and then the station name. Without spoken time removes it.
  • How: Over the music lowers the music by Lower music (dB) (8 by default) and plays the time and the ID on top, without cutting anything; the music comes back up when they end. Between songs puts them in the playlist after the current song (after the next one, if it is already queued), so the music is never talked over.

The ID is normalised like any other station ID (see Normalisation). Over the music needs a sound card; on a server without one, use Between songs.

Naming the spoken-time recordings

Name each file after the hour it announces, on the 24-hour clock: 00.mp3, 01.mp3 … 23.mp3. The extension can be any format RIARS plays (MP3, WAV, FLAC, OGG…). For an event at another minute, add the minute: 17-30.mp3 is read at half past five in the afternoon. 7, 07, 07-00 and 07h00 all mean seven o'clock. If the folder has no recording for that time, the ID plays alone and the log shows a warning.

Precision and saving

Events run with second precision. One-off events disable themselves after firing, so they do not repeat the next day. The schedule is saved as riars_schedule.json next to the library database in the data folder; it is loaded at startup by both the desktop app and riars-server. The bottom bar shows Event scheduler: N events.

Tip: use a scheduled event for a daily news feed or a volume change, and the Grid for the normal music programming. For the difference between the two systems, see Automation overview.

Improve this page on GitHub