Matthias Blankertz 6976aa6963 fix[player]: Don't latch tag if no playlist exists
When the device is in 'tagstartstop' tag mode, and the user presents a
new tag to get the serial number and create a playlist using the web UI,
the playerapp still remembered the tag as the currently playing tag even
though no playlist was found and no playback is running. After the user
saves the playlist in the UI and puts the tag on the device again, they
expect the playback to start with the new playlist. Instead, nothing
happens, because this is counted as the 'stop' event of the tagstartstop
mode. The user would have to remove the tag and present it again (after
waiting for the tagtimeout) to play the new playlist.

Fix this unexpected behaviour by not storing the current tag into the
playing_tag field if no playlist existed for the tag.

Signed-off-by: Matthias Blankertz <matthias@blankertz.org>
2026-01-06 14:59:12 +01:00
2025-11-10 21:45:57 +01:00
2025-04-01 21:14:39 +02:00
2024-05-31 12:30:59 +00:00
2024-04-15 19:01:00 +02:00

TonBERRY pico

Von TonUINO inspiriert, auf einer moderneren Platform für zusätzliches Features: WLAN und Bluetooth zum Managen der Audiodateien per Handy-App oder Webseite - kein Ausbau der SD-Karte mehr nötig. Aus Sicht des Hörers bleibt die Funktionalität aber die selbe - durch einfaches Auflegen einer RFID-Karte (oder einer Figur mit RFID-Chip) und wenige Tasten zur Lautstärkeregelung kann das Gerät kinderleicht bedient werden.

Dabei soll der Geist des Ursprungsprojekts, dass es ein "einfach" zu bastelndes Projekt auch für Elektronik- und Programmier-Unerfahrene ist erhalten bleiben. Deswegen:

  • Zusammenbau aus fertigen Modulen, die mittels 2.54mm-Raster Sockel/Steckleisten zusammengesetzt werden - keine SMD-Lötarbeiten
  • Die Software ist größtenteils (bis auf kritische Module wie z.B. den MP3-Dekoder) in MicroPython geschrieben, sodass Anpassungen auch ohne weitergehende Programmierkenntnisse möglich sind
  • Die Kombination aus Raspberry Pi Pico W und sonstigen nötigen Modulen sollte nicht nennenswert teurer sein als die Arduino-Module des TonUNIO.

Design

Überlegungen zum Design gibt's im Wiki.

Description
Von TonUINO inspirierte Musikbox auf Basis eines Raspberry Pi Pico W
Readme MIT 5.5 MiB
Languages
C 69.2%
Python 18.2%
HTML 8.8%
CMake 1.7%
Shell 1.1%
Other 1%