Android VLC client displays DLNA files as <number>.mp3 with Playback history enabled
I have VLC 3.3.4 on a Pixel 4a. I have minidlna 1.2.1 from default packages on Ubuntu 18.04. When I browse to the DLNA server, I expect to see the song name, or maybe filename (if no song name is set). When I use VLC on my PC, this is what I see. However, when I use VLC on my phone, something happens and it starts displaying files as .mp3. I do not know where this number comes from, as it is not the name of the file. It is however, consistent about which number a given file gets. Additionally, this display issue persists when VLC is stopped, when cache is cleared, when the phone is rebooted, when VLC does a "Refresh" (rescan of media).
I did observe that clearing storage for VLC allowed it to start displaying the correct names again, although it came back again. I also noticed the sequence of "Clear media database", "Clear playback history" then "Quit and restart application" allows it to start displaying the correct names.
I turned off "Playback history" (which defaults on) and the problem did not start happening. Clearing the media database (without also clearing playback history) was enough to fix the display issue.
So it seems like the "Playback history" feature is causing this display issue?
A note that for my testing, I have been stopping VLC mid-playback rather than letting it finish playing the file. I am not sure if that makes a difference.