vanilla-music / vanilla

Vanilla Music Player for Android
GNU General Public License v3.0
1.19k stars 296 forks source link

New artists are added to a second alphabetic list that begins after the last entry with Z #1104

Closed Popkornium18 closed 3 years ago

Popkornium18 commented 3 years ago

Description

After some time of using Vanilla whenever I added a new artist it would create a second list of alphabetically sorted artists and add it to that. So now I have the normal list of 'old artists' and after the last entry with Z a new list begins from A where every new artist is added.

Steps to reproduce the issue

Not really sure. It just started doing this one day and never stopped since.

Screenshot / Video (If applicable)

image

adrian-bl commented 3 years ago

What sort option are you using? are you sure its set to alphabetical sorting?

Popkornium18 commented 3 years ago

Yes it's set to sort by title.

adrian-bl commented 3 years ago

Either there are some UTF8/control characters prefixing the artist name or there was a firmware upgrade on your phone which changed how sorting is handled.

Can you try to go to Settings -> Media Library and then start a new search while 'Flush media library' is ticked?

Popkornium18 commented 3 years ago

Either there are some UTF8/control characters prefixing the artist name or there was a firmware upgrade on your phone which changed how sorting is handled.

There are no prefixes, since I manually tag the music and my other music players (Kodi, mpd) sort them correctly. Do you mean OS updates by firmware? If so, I use the microG fork of LineageOS and keep it up to date.

Other Android music players (like LineageOS's Eleven) sort the artists correctly.

Can you try to go to Settings -> Media Library and then start a new search while 'Flush media library' is ticked?

I did that but the result is the same.

adrian-bl commented 3 years ago

Ok, can you upload a dump to the media-db to somewhere?

You can create a dumb via Settings -> Media Library -> 3-dot-menu

Popkornium18 commented 3 years ago

Unfortunately that doesn't seem to work. It says: image But when I look for that file it's not there.

$ file /storage/emulated/0/dbdump-ch.blinkenlights.android.vanilla.sqlite
/storage/emulated/0/dbdump-ch.blinkenlights.android.vanilla.sqlite: cannot open: No such file or directory

I checked this both with an adb shell and the file manager on Android. There is no such file.

Popkornium18 commented 3 years ago

Bricked my phone, can't reproduce it on the new phone, so I'll close this for now.