Vanilla Music Version (Settings -> About): 1.1.0 (Apr 11 2021)
Android Version: LineageOS 18.1
Phone vendor / model: Samsung S5
Application was downloaded from (use [x]):
[ ] Play Store
[x] F-Droid
[ ] Other (Nightly Build)
Did this work in a previous version?
[ ] Yes
[ ] No
[x] NA / Don't know.
Description
I have my music on the uSD card, and I basically use a single long .m3u playlist, which is also stored on the uSD card. Both the music files and the playlist are autogenerated (the music files are compressed from FLAC and the playlist is generated from a description of the artists I want included).
I have my playlist settings set to only import from the .m3u.
When I delete the playlist from Vanilla (and after some time, since I don't actually know how to trigger a re-import), Vanilla re-imports the playlist, as desired, but since the playlist contains a bit more than 2000 songs it takes a while. Inevitably the phone "goes to sleep" or I switch to doing something else before the importation finishes.
When I go back to Vanilla to see where it's at, it's sometimes still importing the playlist, but in most cases if I waited enough it's not importing it any more, but the playlist is incomplete. No amount of waiting seem to convince Vanilla to finish the importation. It looks like something interrupted the importation (maybe Vanilla was "swapped out" by Android?) and when Vanilla comes back it sees it already has a matching imported playlist (doesn't realize it's incomplete) and moves on to doing the other things it has to do, never looking back.
FWIW, I have "battery saver" enabled, so Android probably makes it harder for Vanilla to do the import in the background. That's no excuse for giving up before the end, tho :-)
Steps to reproduce the issue
Delete a playlist that has 2000 songs in it. Then wait. Check the next day if the re-imported playlist is complete.
[x]
):Description
I have my music on the uSD card, and I basically use a single long .m3u playlist, which is also stored on the uSD card. Both the music files and the playlist are autogenerated (the music files are compressed from FLAC and the playlist is generated from a description of the artists I want included).
I have my playlist settings set to only import from the .m3u. When I delete the playlist from Vanilla (and after some time, since I don't actually know how to trigger a re-import), Vanilla re-imports the playlist, as desired, but since the playlist contains a bit more than 2000 songs it takes a while. Inevitably the phone "goes to sleep" or I switch to doing something else before the importation finishes.
When I go back to Vanilla to see where it's at, it's sometimes still importing the playlist, but in most cases if I waited enough it's not importing it any more, but the playlist is incomplete. No amount of waiting seem to convince Vanilla to finish the importation. It looks like something interrupted the importation (maybe Vanilla was "swapped out" by Android?) and when Vanilla comes back it sees it already has a matching imported playlist (doesn't realize it's incomplete) and moves on to doing the other things it has to do, never looking back.
FWIW, I have "battery saver" enabled, so Android probably makes it harder for Vanilla to do the import in the background. That's no excuse for giving up before the end, tho :-)
Steps to reproduce the issue
Delete a playlist that has 2000 songs in it. Then wait. Check the next day if the re-imported playlist is complete.