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

Apostrophes being displayed as weird characters #232

Closed
3 tasks done
ourigen opened this issue Sep 4, 2022 · 4 comments
Closed
3 tasks done

Apostrophes being displayed as weird characters #232

ourigen opened this issue Sep 4, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@ourigen
Copy link

ourigen commented Sep 4, 2022

Describe the bug/crash:

For some songs, apostrophes in their titles are displaying as garbled characters. In my case, the apostrophe occurs in the album title. What's odd is that only some songs are displayed incorrectly while others aren't. As a result, these are being separated into a different album because there are issues with recognizing the apostrophe.

Expected behavior

These songs were all tagged with Musicbrainz Picard under the same album ID, so the album tag for all songs should be consistent. All songs under the same album should be grouped together and displayed the same.

Steps To Reproduce the bug/crash:

  1. Load up songs with apostrophes (eg. Red (Taylor's Version))
  2. Click "Album"
  3. Note that there are 2 entries for the album

Logs/Stack Traces:

N/A

Screenshots:

Auxio

Phone Information:

Pixel 5 GrapheneOS Android 13

Due Diligence:

  • I have checked this issue for any duplicates.
  • I have checked for this issue in the FAQ.
  • I have read the Contribution Guidelines.
@ourigen ourigen added the bug Something isn't working label Sep 4, 2022
@OxygenCobalt
Copy link
Owner

OxygenCobalt commented Sep 4, 2022

This is a known issue with how MediaStore likes to re-interpret UTF-8 tags as a variety of incorrect encodings. Looks like Latin-1 in your case. Does enabling "Ignore MediaStore tags" work?

@OxygenCobalt
Copy link
Owner

Also, MusicBrainz ID's aren't supported by Auxio yet. That's #202. Currently Auxio tries to group albums by the lowercase album name + the lowercase artist name.

@ourigen
Copy link
Author

ourigen commented Sep 4, 2022

Enabling "Ignore MediaStore tags" fixed it. Thanks for the help, I'll close the issue. Do you know why the encoding is only incorrect for some songs and not all? That's what I found odd

@ourigen ourigen closed this as completed Sep 4, 2022
@OxygenCobalt
Copy link
Owner

OxygenCobalt commented Sep 4, 2022

The cause of the differing encodings probably stems from that some of your songs use Vorbis Comment and ID3v2.4 metadata, while other songs use ID3v2.3. The metadata formats where UTF-8 is recommended (Like vorbis and ID3v2.4) will end up being mangled, while formats that are limited to UTF-16/Latin-1 (Like ID3v2.3) don't have the issue.

Ignore MediaStore tags works around this by parsing metadata manually, using a parser that correctly interprets UTF-8 (among other fixes), although it's still experimental and quite slow. I really want to start work on stabilizing that option soon so I can finally remove these absurd, unfixable issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants