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.
Creating a Smart Playlist
Section titled “Creating a Smart Playlist”- Open the Playlists workspace tab.
- Click New Smart Playlist (the wand icon
✨). - Enter a name and press Enter.
- 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 (✨).
Rotation-Based Architecture
Section titled “Rotation-Based Architecture”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)]Reorderable Rotation Slots
Section titled “Reorderable Rotation Slots”- 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.
Rule Conditions: Hard vs Soft
Section titled “Rule Conditions: Hard vs Soft”Within each rotation slot, you can define one or more rule conditions:
| Condition Mode | Effect | Purpose |
|---|---|---|
| Hard | Absolute filter | Tracks must strictly pass this rule to be eligible for the slot. If a track fails, it is excluded completely. |
| Soft | Preference scorer | Tracks 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.
Rule Fields & Criteria
Section titled “Rule Fields & Criteria”| Field | Kind | Description | Operators |
|---|---|---|---|
| Library Category | Category | Match tracks by folder or catalog tag | is, is not |
| Title | Text | Match by song title | contains, does not contain, is exactly, is not, is one of, is not one of |
| Artist | Text | Match by artist or band name | contains, does not contain, is exactly, is not, is one of, is not one of |
| Album | Text | Match by release / album title | contains, does not contain, is exactly, is not, is one of, is not one of |
| Genres | Array | Match tags in the track’s genre list | includes, does not include, is one of, is not one of |
| Year | Number | Release year | greater than, less than, between, is exactly, is not |
| Duration (secs) | Number | Track length in seconds | greater than, less than, between, is exactly, is not |
| Days since added | Days | Time elapsed since track was imported | in the last, more than … ago, between … and … days ago |
| BPM | Number | Beats per minute | greater than, less than, between, is exactly, is not |
| Musical Key | Text | Harmonic key (Camelot notation like 8B or standard key C) | is exactly, is not, contains |
| Energy | Number (1–10) | Perceptual audio energy level from 1 (ambient) to 10 (high-energy) | greater than, less than, between |
| Mood Tags | Array | Custom mood tags (e.g. upbeat, mellow, driving) | includes, does not include, is one of, is not one of |
| Explicit | Boolean | Explicit content advisory flag | is true, is false |
| Custom Tags | Array | Custom user tags applied in Content Library | includes, does not include, is one of, is not one of |
Live Rotation Preview
Section titled “Live Rotation Preview”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.
Playback Behaviour & Rotation Rules
Section titled “Playback Behaviour & Rotation Rules”The Playback Behaviour section fine-tunes how the playlist engine handles track selection:
Repeat Windows
Section titled “Repeat Windows”- 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.
Harmonic Scheduling (Camelot Wheel)
Section titled “Harmonic Scheduling (Camelot Wheel)”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 (7Bor9B). - Creates seamless musical segues across DJ sets and automated music programming.
Standby Mode
Section titled “Standby Mode”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.
Using Smart Playlists On Air
Section titled “Using Smart Playlists On Air”- 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.