Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No audio file showing up inside the software. #81

Open
RXS-reyansh opened this issue Sep 5, 2024 · 6 comments
Open

No audio file showing up inside the software. #81

RXS-reyansh opened this issue Sep 5, 2024 · 6 comments
Labels
Bug Issue was opened via the bug report template. needs review Issue is ready to be reviewed by a maintainer.

Comments

@RXS-reyansh
Copy link

RXS-reyansh commented Sep 5, 2024

What device did this occur on?

Redmi 11X

What version of Android is your device running?

Android 13

App Version

1.0.1

Summary

Since the installation of the app, I am not able to see a single audio file in it. Tried changing the library path in the settings multiple times, clearing data and changing paths again, using the rescan feature everytime after a change. Tried using the Google Play Store version too. Even tried .3gp files instead of .mp3 but nothing works still. (I am a new user here)
I have also seen some other reviews about this problem on Play Store.

Kindly Acknowledge.

Images:

IMG-20240906-WA0001
IMG-20240906-WA0003

@RXS-reyansh RXS-reyansh added Bug Issue was opened via the bug report template. needs review Issue is ready to be reviewed by a maintainer. labels Sep 5, 2024
@cyanChill
Copy link
Member

Can you also check the "Insights" page (accessible on the settings page) and see if Save Errors isn't 0.

  • If it's 0, then there can be 2 things wrong:
    • The library we're using to find media files on your device isn't finding any.
    • The library we're using to find media files on your device do find them, but return a file uri of a different format.
  • If it's not 0, then there might be something wrong with the metadata structure.
    • I found out in an error in Sentry (error reporting software) by accident (since we changed how remove logging in the production app - which didn't work) that we were sometimes getting a full date-time value in the "year" field in the metadata for some tracks and that was throwing an error since we attempt to convert it to a number.
    • There was a different error that I couldn't reproduce which was file path being parsed incorrectly (so that problem might be device based).

If you get 0, I can whip up a quick project to check what we use to find the media files finds and narrow down the issue from there.

@RXS-reyansh
Copy link
Author

Yes, in the Insights page the Save Errors isn't 0.

@cyanChill
Copy link
Member

Can you try installing v1.0.3-rc.1. This is only available through the APK version of the app since app reviews takes forever (ie: If you have the Play Store version of the app installed, uninstall it).

This fixes the issue with the "year" field mentioned above if this happens to be the issue you're facing. Otherwise, we can get a better understanding of what's happening through the new "Save Errors" page that I've added that lists out the cause of why the track was rejected and we can go from there.

@RXS-reyansh
Copy link
Author

RXS-reyansh commented Sep 9, 2024

As per your suggestion, I installed version 1.0.3-rc.1 and the problem's still there ofcourse. Though, the new "Save Errors" page is displaying the location of every track and then maybe the reason, "[Error] null".

Exactly like the following,

file:///storage/emulated/0/Music/<track-name>.<extension(mp3 in my case)>
[Error] null

@cyanChill
Copy link
Member

cyanChill commented Sep 10, 2024

Did you "update" the APK installation you currently have or installed the the APK fresh? If you "update" the existing APK (ie: install the latest version while having a previous APK version installed), then use the "Rescan" feature in the "Library" page to generate the correct error messages since they don't exist for "existing" error entries.

If you did a fresh install and got this, then it's weird that there's no error message displayed when there should be. Then this might just end up being the case of it being a device issue (ie: maybe there's an API that your device doesn't support and that's causing some error).

A last resort is to send one of the files to [email protected] so I can debug it if by the off chance, it's a file problem (though I don't think it based on the earlier screenshots you sent).

@RXS-reyansh
Copy link
Author

Update: I never actually emailed the files to the email address provided by you and was using some other Music player till that. I decided to randomly install the v1.0.3 and reassure myself about this problem. I have downloaded some new music files in between the time I mentioned before and from a different source. Those new .mp3 files were actually showing up in the software. Yet, only the new ones.

So I come to the conclusion that the old files were the only problem. The common thing in the old files is that their bitrate is higher than the bitrate of the new ones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Issue was opened via the bug report template. needs review Issue is ready to be reviewed by a maintainer.
Projects
None yet
Development

No branches or pull requests

2 participants