zyrouge / symphony

🎵 Lightweight, elegant music player for Android 9+.
https://zyrouge.github.io/symphony/
GNU Affero General Public License v3.0
1.17k stars 78 forks source link

[Bug] Character Encoding problem in some tracks’ album tag makes them appear as separate album #596

Open scytho opened 1 month ago

scytho commented 1 month ago

Description

On some tracks, special characters in the album tag are displayed the wrong way. Those tracks are being shown as a different album in the album view/tab. See attached picture.

Steps to Reproduce

Unknown. I think I wrote these tags using foobar2000 under wine, so I rewrote the tags and the entire FLAC files with Linux software, which didn’t help. The same files are being handled correctly in the VLC app and the Auxio app.

Expected Behavior

All characters should be displayed correctly, and all tracks should be in the same album.

Screenshots

See below.

Device

Additional Context

Could be related to issue #337.

Checklist

symphony_character_encoding_a

vanntile commented 1 week ago

The encoding problems are prevalent, most coming from converting from what I assume to be unicode to a subset of it, but problems with signs/symbols also exist. To list a few problems:

  1. ·— —· —· ·· · is decoded as ·— —· —· ·· ·
  2. K/DA is decoded in the album artist field as K and the artist field as K, DA, however, the slash problem does not exist in the track or album fields (POP/STARS being accurate)
  3. in the album and track fields is decoded as ’, while in the artist and album artist fields it is decoded correctly, and differentiated from '
zyrouge commented 1 week ago

Yeah, this is caused by Android's MediaStore, should be fixed when #567 is merged.