MissingCore / Music

A Nothing inspired local music player.
GNU Affero General Public License v3.0
154 stars 9 forks source link

No Tracks found / Folder is empty #39

Closed learning-thing closed 1 month ago

learning-thing commented 1 month ago

What device did this occur on?

Nothing Phone (2a)

What version of Android is your device running?

Nothing os 2.6 (Android 14)

App Version

Version v1.0.0-rc10

Summary

There are a bunch of mp3 Files in my music folder, but the app tells me that there are no tracks.

Screenshot / Video

Screenshot_20240723-123137

Avichal1234 commented 1 month ago

Any solutions yet?

cyanChill commented 1 month ago

Some debugging suggestions:

  1. Check the TRACKS tab to see if any tracks are displayed. a. This is to see if the issue is due to maybe me messing up the filtering logic for displaying tracks for this feature.
  2. Go to the INSIGHTS screen from the settings page and send a screenshot. a. We want to see the value next to the "Save Error" statistic to see if at least the tracks were detected, but rejected for some reason.
  3. Try clearing the app storage to force re-indexing. a. There might be some random issue with saving the first time.

If the tracks were detected but rejected, I think I might know the reason why: I currently have in the @missingcore/audio-metadata package to throw an error if a track has no tags, which I kind of forgot about. This should be fixed in v1.0.0-rc.11 when I change what we use for reading the metadata, which should be faster than what we have currently.

learning-thing commented 1 month ago
  1. Tracks tab also shows "folder is empty"

  2. Insights shows 8 save erors (I have 8 audio files) Screenshot_20240724-125255

  3. Tried alot of reinstalling/clearing didn't make a difference

cyanChill commented 4 weeks ago

@learning-thing @Avichal1234 v1.0.0-rc.11 has been released and should fix the potential causes for the problem.