I have ~2K flac and mp3 files in a /music/artist/album file structure managed by beets. I can see my folders in Tangera's file browser however the music player only shows ~10 artists. To see what was on the console, I tried connecting to the serial port using Serial on a Mac, however when I turn on my Tangara I get 5 bytes of garbage on the port, followed by the device rebooting. I also tried reindexing via the settings app, but no change.
Thinking maybe bad file name was causing the problem, I found and removed an album with square braces in the title; other than that, nothing jumps out.
Any suggestions on what I might look at? Thanks!
2024-12-25, 08:33 AM
(Edited 2024-12-25, 08:34 AM by ailurux.)
We're aware of a few issues that currently cause tracks to not be indexed correctly. Here's some things that might help:
- Make sure your files are in a "Music/" directory at the top level. This is case-sensitive at the moment, so make sure that the case matches. (A fix for the case-sensitivity is coming, but not released yet).
- Make sure your music has tags, we use tags in the file to build the database. We would like to have better support for inferring things from filepaths, but it's not very well supported right now.
To get better serial output, try setting the baud rate to 115200. You could also use `idf.py monitor` with a development build of the firmware. That can help to debug this further if the previous steps don't fix it.
2024-12-25, 11:21 PM
(Edited 2024-12-26, 06:59 AM by timothy.reed.)
Upping the baud rate to 115200 allowed me to see log data off the port - thank you! When connecting, my Tangera goes dark/unresponsive and I get this response on the port:
ets Jul 29 2019 12:21:46
rst:0x1 (POWERON_RESET),boot:0x7 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
waiting for download
After disconnecting it from the USB port, it takes a couple of hours despite of toggling the lock/power switch or removing/reinserting the SD for the player to regain responsiveness and display. I don't know enough to find the port interface in the firmware code but thought I'd pass that on.
I was also able to rebuild the library. I manually deleted .tangara-db and .queue.playlist instead of running Settings> Database> Update now and it rebuilt correctly.
Thanks again!