Skip to main content

BlockRule

A never-play rule: a KIND of record the station must not play. Absolute, like a dislike, and exclude-only: there is no "only these" rule, because one could leave the station nothing to play. Every scope is optional and an absent one means "always"

Attributes (11)
AttributeTypeRequiredDescription
idstringYesread-only
field'genre' | 'tag' | 'version'Yesgenre refuses any record tagged with this genre or a kind of it (Punk Rock under Punk, never Pop under Pop Punk, never Trap under Rap). tag refuses a record carrying exactly this tag. version refuses a version of a record, read from the markers on its title and album: live refuses a live recording ("War Pigs - Live", anything from "Live in Nottingham"), and never a title that merely says the word ("Live Wire")
valuestringYesThe genre or tag, as you would write it. For a version rule, the version: live is the only one
seasonFromstringNoFirst day it holds, as MM-DD. With seasonTo; a season starting after it ends wraps the year end
seasonTostringNoLast day it holds, as MM-DD
fromHournumberNoFirst hour of the station's day it holds. With untilHour; a window starting after it ends wraps midnight
untilHournumberNoThe hour it stops holding, exclusive
modes('rotation' | 'setlist' | 'feature')[]NoOnly while the station is in one of these modes. Absent or empty means every mode
slotIdsstring[]NoOnly during these schedule blocks. Absent or empty means whatever is on
endsAtstringNoWhen it stops holding. Absent means until it is removed
inForcebooleanYesWhether it holds right now, on the station's clock, for what is on air. read-only