AkaneTan / Gramophone

A sane music player built with media3 and material design library that is following android's standard strictly.
GNU General Public License v3.0
1.16k stars 62 forks source link

[BUG] some songs do not index #301

Open ViktorsakYT opened 1 month ago

ViktorsakYT commented 1 month ago

I have a folder of 53 songs, which normally indexes in my phone's default music player and I can see and play all the songs, however gramophone only indexes about 45 of those songs, and they are all over the length limit. When I play the songs via gramophone in the file context menu via the file explorer, they normally play. I have no idea what do do now, it's been bugging me for quite some time now...

Unfortunately, I don't think there's a way for you to reproduce this bug unless I would semd you the files that are acting up or something :/

I expected the songs to index normally

Screenshot of the folder with the files and the app without them probably isn't gonna help you

nift4 commented 1 month ago

Try setting the length limit to zero, sometimes MediaStore doesn't understand a music file and reports unknown length (0 seconds). The next release already has a fix to ignore length limiter for 0 second length files

ViktorsakYT commented 1 month ago

That unfortunately didn't work

nift4 commented 1 month ago

what file formats are the undetected files

ViktorsakYT commented 1 month ago

MP3, same as all the other files, downloaded the same way.

ViktorsakYT commented 1 month ago

They're MP3, same as the others

nift4 commented 1 month ago

Are these displayed in YouTube Music' local device playback (R.I.P Googld Play Music) or something?

ViktorsakYT commented 1 month ago

My phone is not that google infested, so it just has a music app that plays mp3 and many more files, in that app, they work normally, and also as I said, if I play the file via the context menu through gramophone, it plays. The only thing is that it just doesn't index...

nift4 commented 1 month ago

Gramophone uses your device's music database, called MediaStore. The only two features that filter out songs are the minimum length filter and the folder blacklist

ViktorsakYT commented 1 month ago

That is very weird then