Automation
Automation keeps the station on air when nobody is in the studio. This version has the music fill, a player that chooses music by itself, from rules you set, and never stops for lack of a list, and the Log column, which runs the day’s timed blocks, made from templates in the Automation window. The players you already use (P1 … Pn) are untouched: they stay yours for shows you prepare and play live.
The Log column
The Log column plays the day’s blocks: groups of items with a start time (an hourly ID, spots, a programme). Show it from the Log tile on the top bar, as you show a player.
Its list looks like a playlist, grouped by block. Each block starts with a header row: its start time, how many items it has and how long they last, “changed for this day” when you changed it today, and, in amber, by how much it runs past the next block. Then come its items, with the Time each one is planned to start. The list shows today, the last block of yesterday and the first of tomorrow. The item on air and the next one are marked as on a player; items that already aired are dimmed, and an item that did not air (missed) is struck through. A clock marks a hard start item, which plays only at its time. A category track shows the track chosen for it as soon as it is next (or comes after next in its block), with the category after it: that is the track that plays. If the category has no track that can play (none assigned to it, or their files are missing), the row says so in amber, and the item will be missed. An item whose file turns out unreadable when it is about to play is skipped and marked missed too. Assign tracks to a category in the library. The music fill row says until when it plays, and shows as on air while the music fill plays for the Log. A next whose time has passed shows its time in amber. Drag the line between two column headers to resize the columns, as on a playlist; the template and day windows use the same widths.
Changing today’s log
You change the Log as you change a playlist, and the change is for that day only: the template stays as it is.
- The buttons at the bottom of the column: + Track… opens the library, to drag tracks onto the list; + Category track… and + Music fill (rotation)… ask which one and add it just below the row you selected (click a row to select it; select a block header to add at the start of that block), or, with nothing selected or below a row that can no longer change, at the end of the coming block; + Block… asks for a time, with the first free one already filled in. When the column is too narrow for all of them, the ones that do not fit are behind ⋯.
- Drag tracks from the library, or audio files from your file manager, onto a row to put them before it (or after it, on the row’s lower half, as on a playlist: that is how they go at a block’s end), and drag rows within the same day to move them. The row you add is selected and scrolled into view, so the next one you add goes below it.
- Right-click a row for Hard start and Remove from today’s log. Click (or right-click) a block header to add a Track…, a Category track… or a Music fill (rotation)… at the end of that block, or for Change time…, Remove block and, on a changed block, Back to the template.
- While you drag over a block header, the line under it shows that the drop goes at the start of that block; to put rows at the end of the block above, drop them on the lower half of its last row.
- What already played, the item on air and past days cannot be changed. A change to the block on air takes effect after the item on air.
The Log column has a player’s header and buttons, and they work as on a player:
- Play plays the item marked next and runs automation: each block then plays at its time, and the music fill plays between blocks. When next was chosen by the clock and its block starts later, the music plays until then. Nothing runs by itself: after every start of the application, automation is stopped until you press Play.
- Pause, Stop and Fade stop act on what is on air for the Log (its item, or the music fill’s song between blocks) and stop automation. Play after Pause goes on from where it was; while paused, next does not move, and once you resume the next block keeps its time. Play after a Stop during the music plays music again, and the next block starts at its time.
- Stop at end lets what is on air end, and then automation stops. If the music is playing and a block’s time comes first, the block starts on time and automation stops after its first item.
- Previous does nothing on the Log.
- SINGLE makes the Log manual: Play plays the next item, and it stops after it; no block starts by itself.
While the music fill plays between blocks, the Log’s header says Music fill · rotation (the rotation it plays) and its buttons still work; the song, its meter and its waveform are in the Music fill column only.
When automation stops after an item, next stays on the item below the one that played, and Play plays it, whatever the time: you choose. When it stops during the music, Play plays music again until the next block, unless you chose another next. To change what plays next, double-click an item, or right-click it and choose Play next. Back to the clock, in the same menu, sets next to what the time says.
Templates and days
The Log plays each day from a template: a day of blocks. A new installation has one, “Base”, for every day. Templates are made in the Automation window (not on Android); the Log column changes only today, as above. Open the window with the gear (Automation settings…) in the Log column’s header, from that header’s right-click menu, by right-clicking the Log tile in the top bar (also while the column is hidden), or with its keyboard shortcut (see Keyboard). It floats over the main window like the library: move it by its title bar, resize it from its edges, minimize, maximize or close it; it opens where you left it.
- Templates. The list on the left, with a Search box when you have many; New template, Duplicate and Delete below it, and the chosen template’s name. The chosen template’s blocks are on the right, where you change them.
- Week and days. On the left, which template each weekday uses (the week plan) and the month (dates with changes are amber). On the right, the chosen date: it can use another template than its weekday’s (a holiday on a Thursday can use the weekend’s), and its blocks, which you change for that date only. Today is edited in the Log column; today and past dates show here read-only.
Edit template…, on a block header’s menu in the Log column, opens the template the block comes from, to change it for the days to come.
A template’s or a date’s list is the same list as the Log column, and you change it the same way: the buttons at its bottom (Track…, Category track…, Music fill (rotation)…, Block…, which add below the row you select), tracks dragged from the library (or files from your file manager) onto a row, rows dragged to move them, the right-click menu of rows and the block headers’ menu. It never plays, and the window can stay open beside the library.
A category track in a template plays one track of that category, a different one each time. The Music fill item chooses the rotation the music fill plays after the block (the default rotation when the block has none). When a block’s items are longer than the time to the next block, its header says by how much, in amber; you can still keep it so.
A change to a date is marked “changed for this day” on its block, and Back to the template, on the block header’s menu, undoes it. Later changes to the template still reach the blocks you did not change on that date. A change to a template made while one of its blocks is on air leaves that block as it is for today (it shows “changed for this day”); the change reaches it from the next day.
The music fill
The music fill is the Music fill column. It is hidden until you show it: click the Music fill tile on the left of the top bar. It sits left of P1.
It looks and works like a player: the big clock, the waveform, the transport buttons, the fader and the track list. The difference is the list:
- it fills itself from a rotation (below), always about half an hour ahead (look-ahead, in the Music fill window’s Rules);
- it trims itself: it keeps the last 50 tracks it played and removes older ones, so it can run for weeks;
- before a block of the log it may swap songs it chose itself for others whose length fits the time left (see below); the songs you added are never touched;
- you can still change it by hand: drag tracks from the library, reorder rows, remove a song you do not want. A row you add is marked with a hand and is never replaced; a row you remove does not count as played.
Its outputs are set in Settings → Audio outputs, on the Music fill row, as
for any player. It has no number, no keyboard shortcuts or MIDI bindings.
Remote control reaches it, and the Log, by name
(/fauste/music/…, /fauste/log/…, and the API’s players with their
role).
Press Play to start it and Stop at end to let the song on air end and stop. Like every player, it never starts by itself, not even after a restart: a song it had on air comes back paused, and Play on the Log plays it on from there. While it plays for the Log between blocks, stopping or pausing it stops automation too, and its Stop at end stops automation when the song ends; if a block’s time comes first, the block plays and the mark is cleared. After the Log was paused during the music, Play on the Music fill column plays the song on its own: the Log’s Play no longer resumes it, and its Stop no longer stops it.
Above its list, where a player has its playlist tabs, the Music fill column shows the rotation it plays. Choose another one there: the songs it had queued are replaced, the ones you added stay. When the rotation can find nothing to play (its categories are empty, or every file is missing), the bar says so.
Rotations
A rotation is a short list of steps the music fill plays in turn, then again from the first. Each step names where its tracks come from (a category of the library with its subcategories, or every track of a kind) and how many it plays each time, as a range:
| Step | Plays |
|---|---|
| Current hits | 2–3 |
| Station IDs | 1 |
| Gold | 0–1 |
With a range, a station ID comes after two songs one time and after three the next. A range from 0 lets a step sit out some turns: with Gold at 0–1, a gold song plays after the station ID some times and not others. The most is always at least 1. One rotation is the default: a new installation has one, Music, which plays all your music.
A step whose category has no track that can play (an empty category, or files that are missing) plays a song of the default rotation in its turn (any music, if the step is the default rotation’s own), so the other steps keep their place: a station ID still comes between songs.
Rotations are made in the Music fill window: open it with the gear (Music fill settings…) in the Music fill column’s header, from that header’s right-click menu, by right-clicking the Music fill tile in the top bar, or with its keyboard shortcut. Its Rotations tab lists them on the left, with a Search box, the default marked with a star and the one playing now with a speaker; New rotation, Duplicate, Make default and Delete rotation are below. The chosen rotation’s name and steps are on the right. Its Rules tab holds the rules below, with Restore defaults (it resets the rules; the rotations stay).
- The chosen rotation: its Name, then one row per step: where its tracks come from (a category with its subcategories, or All of a kind), how many it plays each time (At least 0–99, At most 1–99; at least 0 lets the step sit out some turns; the sliders run to 10, and a larger count is typed into the box beside them), Up, Down and Remove. Add step adds one at the end. A step whose category was deleted says so. New rotation adds one that plays all music; the last rotation cannot be deleted.
- Rules: how long before the same track may play again (3 hours, or once half of the other tracks of its step have aired, whichever comes first; 0 turns either off), the same artist (30 minutes), the look-ahead (30 minutes of music queued) and the played tracks kept in its list (50).
How it chooses
Within a step, the music fill prefers the tracks that have gone longest without airing, with a little chance among them so the order never becomes a fixed cycle. It also keeps apart:
- the same track: it may play again once 3 hours have passed or half of the other tracks of its step have aired since, whichever comes first;
- the same artist: not within 30 minutes.
Everything that went on air counts, from the music fill, a player or the cartwall; pre-listening does not. When a small category cannot keep the rules, the music fill gives way rather than fall silent: first on the artist, then on the track. The Music fill window’s Rules tab has every value.
Before a block of the log, the music fill also chooses its last songs by
their length, so the music ends cleanly: the song that fades out when the
block starts is still playing at the block’s time and loses at most 30
seconds after it, and no song starts that would play for less than 45
seconds. It keeps the artist and track rules too whenever it can. When no
song in the rotation can do both, the one that loses least plays, so a
few seconds of a song may sometimes be heard. A pause of the music moves
the songs after it, and the music fill chooses them again. The music
fill also avoids the songs, and the artists, a block plays soon after.
Both
values can be changed for now only in the configuration file
(automation.max_fade_cut_secs and automation.min_song_play_secs).
An Hourly ID is a track kind of its own (Library → Kind ▸ Hourly ID), for the station’s identification at the top of the hour.