Skip to content

Smart Playlists

Smart playlists populate themselves dynamically based on criteria and rotation sequences you define. Instead of manually curating static track lists, you define a sequence of Rotation Slots with rule conditions, and brūhi automatically selects matching tracks from your library.

  1. Open the Playlists workspace tab.
  2. Click New Smart Playlist (the wand icon ✨).
  3. Enter a name and press Enter.
  4. The Smart Playlist Editor opens, featuring the rotation slot builder on the left and the live rotation preview on the right.

Smart playlists appear alongside standard playlists in the sidebar, marked with a wand icon (✨).


brūhi uses a Rotation Slot model for smart playlists. Rather than a flat list of rules, a smart playlist is constructed from ordered, sequential slots:

[Slot 1: High-Energy Pop (Count: 2)] ──► [Slot 2: Recurrent Rock (Count: 1)] ──► [Slot 3: Indie Gold (Count: 1)]
  • Drag-and-Drop Reordering: Each slot card includes a grab handle. Drag slots up or down to change the rotation order.
  • Track Count per Slot: Specify how many tracks should be drawn from each slot before advancing to the next slot in the rotation.
  • Auto-Save & Immediate Refresh: Edits to slots and conditions are debounced and auto-saved automatically. The right-hand preview panel instantly re-evaluates and displays the resulting rotation sequence.

Within each rotation slot, you can define one or more rule conditions:

Condition ModeEffectPurpose
HardAbsolute filterTracks must strictly pass this rule to be eligible for the slot. If a track fails, it is excluded completely.
SoftPreference scorerTracks that match receive a weighted score boost, causing them to be preferred over other matching tracks.

Soft conditions have a configurable weight (e.g. 1.0 to 3.0). Higher weights give greater preference to tracks that satisfy that condition.


FieldKindDescriptionOperators
Library CategoryCategoryMatch tracks by folder or catalog tagis, is not
TitleTextMatch by song titlecontains, does not contain, is exactly, is not, is one of, is not one of
ArtistTextMatch by artist or band namecontains, does not contain, is exactly, is not, is one of, is not one of
AlbumTextMatch by release / album titlecontains, does not contain, is exactly, is not, is one of, is not one of
GenresArrayMatch tags in the track’s genre listincludes, does not include, is one of, is not one of
YearNumberRelease yeargreater than, less than, between, is exactly, is not
Duration (secs)NumberTrack length in secondsgreater than, less than, between, is exactly, is not
Days since addedDaysTime elapsed since track was importedin the last, more than … ago, between … and … days ago
BPMNumberBeats per minutegreater than, less than, between, is exactly, is not
Musical KeyTextHarmonic key (Camelot notation like 8B or standard key C)is exactly, is not, contains
EnergyNumber (1–10)Perceptual audio energy level from 1 (ambient) to 10 (high-energy)greater than, less than, between
Mood TagsArrayCustom mood tags (e.g. upbeat, mellow, driving)includes, does not include, is one of, is not one of
ExplicitBooleanExplicit content advisory flagis true, is false
Custom TagsArrayCustom user tags applied in Content Libraryincludes, does not include, is one of, is not one of

The right-hand panel displays the evaluated output in real time:

  • Explicit Slot Badges: Each generated track is labeled with its corresponding slot indicator (e.g., Slot 1, Slot 2), demonstrating how your rotation pattern resolves across the schedule.
  • Track Telemetry: Displays song title, artist, album art, duration, tempo (BPM), and musical key.
  • Rotation Totals: Shows total matched track count and total calculated broadcast duration.

The Playback Behaviour section fine-tunes how the playlist engine handles track selection:

  • Track Repeat Window: Prevents the same song from playing again within $N$ minutes.
  • Artist Repeat Window: Prevents any song by the same artist from playing again within $N$ minutes, ensuring diverse artist rotation.

When Prefer harmonic is enabled, brūhi evaluates the Camelot Wheel harmonic relationship relative to the previously played track:

  • Compatible adjacent keys: same key (e.g. 8B), relative major/minor (8A), or adjacent step on the wheel (7B or 9B).
  • Creates seamless musical segues across DJ sets and automated music programming.

Smart playlists support a Standby toggle:

  • Temporary Pause: Toggle Standby on to exclude a smart playlist from automated station queues, Auto DJ, and scheduler triggers without losing its configured rules or slot ordering.
  • Visual Status: Standby smart playlists display a badge in the sidebar for immediate operational visibility.

  • Add to Queue: Click Add to Queue in the playlist toolbar to immediately append the evaluated rotation sequence into the station’s broadcast queue.
  • Auto DJ Playout: Assign the smart playlist to Auto DJ to provide continuous 24/7 background music generated on the fly.
  • Format Clocks & Scheduling: Insert smart playlists into scheduled show blocks or hourly rotation wheels via Format Clocks & Rotation.