Skip to content

v1.18.0

Choose a tag to compare

@Arubinu Arubinu released this 11 Oct 14:25
· 208 commits to main since this release

Home Assistant, a night volume, and a richer blind test

The radio shows up in Home Assistant over MQTT, turns itself down at night without moving its volume slider, and the blind test asks about the artist, the decade, the genre or the album, from a chosen list, with a hint and without repeats. Underneath, the board works much less: the background services went from up to 12% of the processor each to about 1%.

Updating from 1.17.0? Take this one: nothing to do by hand.

🏠 Home Assistant

  • Settings > Home Assistant: a broker's address, account and TLS, and the radio appears by itself (MQTT discovery) with what plays, the volume, the speaker, and buttons for play/pause, next, previous, start, skip the announcement and standby.
  • The card says whether it is connected, or why not; the password is written from the page but never shown back.

🌙 Night volume

  • Settings > Volume > Night volume: between two times, the whole radio plays at a share of the volume chosen - 100% shown plays at the cap, 50% at half of it. The slider keeps showing what was chosen, and the player says when the cap runs.
  • It glides in and out over a transition (60 s by default).

🏆 Blind test

  • Songs: ask only about one music list, manual or by genre.
  • Questions: the song, the artist, the decade, the genre or the album, picked in a dialog; each round asks one the song's tags can answer, and a game the tags cannot feed is refused with the reason. Aloud, the radio says the question before each extract.
  • A hint halfway (on the phones): a first letter, or before/after 2000 for a decade - a right answer before it scores more.
  • Do not ask songs again: the songs asked come back only once the others are used up, with a button to forget them.
  • Devices linked during a game or a skip vote count as one person straight away.

⚡ Lighter on the board

  • The configuration is read with the C YAML parser: 20 ms instead of 0.4 s, which the button, card and MQTT services did every few seconds.
  • mpv starts without its Lua scripts: a sound over the music or a cue starts about 0.4 s sooner.
  • The status poll, the genre lists and the session cookie cost less on every request; the captive portal no longer loads an HTTP server at boot.
  • The optional boot tweaks (install script and card page, where they are now a listed choice) also stop the daily man-db and apt timers.

🐳 Docker

  • The image reports its health: Docker, Portainer and Dockge show it healthy once the radio and its interface answer.

🧭 The interface

  • Pickers (codecs, questions, guest pages) say how many are ticked, and stay beside their label on a phone.

📦 Assets

  • rukebox-setup.html: the card setup page, self-contained and usable offline.
  • rukebox-server.html: the Docker, Portainer, Dockge and Proxmox LXC setup page.