-
Notifications
You must be signed in to change notification settings - Fork 12
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
Use metadata_god for getting song metadata instead of on_audio_query #101
Conversation
Thank you for your contribution. The missing album artist tag would have been a dealbreaker for me, so it's great that this issue is fixed now. My use case is that I just don't like to have entries like "Artist A feat. Artist B" in my list of artists ;) I'll try this out over the next couple of days to see if we can merge your version. The longer load times are ok for me, personally. I'm not sure how the album covers affect the app performance, but I'm sure that there is a way to resize them manually. EDIT: |
I found a few patterns for the issues here. Since this is your fork of metadata_god, I'm not really sure where to open an issue, so I'll just sum up my findings here.
All my files are MP3 with different versions of ID3 tags. I couldn't find a clear correlation between the version and the two missing features. |
Hmm weird. Can you please go into specifics on the files / tags you're having problems with? My library consists of mostly id3v2.3 and id3v2.4 and some opus tags and I have seen none of the issues you're describing. |
To debug this I tagged Thunderstruck by AC/DC with id3v1, id3v2.3, id3v2.4 and opus all with a different album name so the data wouldn't be merged. None of them had this issue. Maybe it is an encoding error. Could you please try to extract the id3 tag of a file with this issue in a hex editor and paste it here so I can debug it? |
Okay I just reinstalled the app and deleted all data and I got this issue too. Give me some time to debug this |
Ok here's what's happening: Now I tired getting my own binary into the app but I'm not really sure how it works and I don't know how flutter builds packages so I have given up for now. I have sent an email to the metadata_god maintainer and hope he can help me. I will get back to you once I've figured out how to properly test Mucke with my changes. |
Hey, @FriederHannenheim sorry for the trouble you've gone through The reason why metadata_god download binary from is that pub.dev still doesn't support native assets. And the macOS/iOS xcframeworks are static libs thus they weigh a lot. The maximum upload size of pub.dev is 100MB but the native assets (.so/.dll/.xcframework files) adds up over 100MB thus I've to use a github actions pipeline to publish specific version of binaries in the releases and download + cache it for that version in the build phase of flutter app So in all After it run:
|
@moritz-weber It's working now. Please test again. Delete all App data of the old app and then just run flutter run |
This looks really, really good. I don't see any of the issues from before and the loading time is moderate as well for me (around 2 min for 3400 songs). And since unchanged songs are skipped in consecutive scans, it should be quite fast, if someone adds a couple of albums to the library. Thanks for this amazing work. I'll test drive it for a few days and try to finish a release by next Tuesday. |
@KRTirtho Thanks for your help |
This implements #99. And fixes #100, #82 and #70. The debug build I tried recognizes my entire library correctly, with year tags for FLAC and Id3v2.4 showing the right value.
This currently uses my own fork of metadata_god which uses lofty-rs for getting metadata. Here's the pull request into metadata_god KRTirtho/metadata_god#17.
This is now fixed. Album Artist is supported
The downsides:
Both of these issues can be improved. This is a draft pull request just to get opinions in. I think the local_music_fetcher_impl can be rewritten to make library updates faster but didn't want to do it yet