All checks were successful
Build RPi Pico firmware image / Build-Firmware (push) Successful in 3m21s
Check code formatting / Check-C-Format (push) Successful in 7s
Check code formatting / Check-Python-Flake8 (push) Successful in 10s
Check code formatting / Check-Bash-Shellcheck (push) Successful in 4s
Run unit tests on host / Run-Unit-Tests (push) Successful in 8s
Run pytests / Check-Pytest (push) Successful in 11s
As we don't have an API to upload files and create playlists yet, we used the convention "tag uid as directory name" to allow testing playback. With the introduction of the database in #39 "Add playlist db" a builddb() function to initialize the database from the tag directories was added, but it is not automatically called. To make the developer experience more ergonomical, add a check for that automatically runs builddb() when no database exists. Signed-off-by: Matthias Blankertz <matthias@blankertz.org>