gateship-one / odyssey

Odyssey music player
GNU General Public License v3.0
232 stars 39 forks source link

Sometimes the library is empty after a reboot #228

Open robinpaulson opened 2 years ago

robinpaulson commented 2 years ago

I have a few hundred tracks on my android device. Occasionally when the device shuts down due to low power, after charging and booting again, none of the music files on the SD card are listed in the library and I have to manually trigger a rebuild, which takes several minutes. I have a suspicion the media dB does not 'notice' the SD card when the battery is low, hence it removes all the files from the library which it can't find.

gnome17 commented 2 years ago

Sounds more like an issue of your device or your SD card. I have all my music on an SD card in my phone and had never such a problem.

robinpaulson commented 2 years ago

Oh, why do you think it's the device or SD card? I use Vanilla Music as well, usually when Odyssey fails. Vanilla doesn't have the same problems.

gnome17 commented 2 years ago

Odyssey doesn't have an own database to manage the music on the device. We are always asking the android media database for data. That's why I think it has something to do with you device or the SD card.

I don't know the implementation of Vanilla but the behavior might be different because they use another solution then Odyssey.

robinpaulson commented 1 year ago

I switched to vanilla for music listening, problem solved. No issues with the sdcard or any other part of the device.

gnome17 commented 1 year ago

Ok thanks for the update but we are still not able to reproduce the issue.

I still suspect that vanilla doesn't rely on the mediastore or something like that.