Page 1 of 1

UTF-8 file names and tags

PostPosted: Tue Apr 11, 2017 8:47 pm
by fd0
I have files that contain names with non-ascii characters like ü é è etc.
If these characters are in the title, artist or album name they will also appear in the tags.
How can I ensure that subsonic reads the tags correctly.

I made a small change in the startup script (on FreeBSD)

Code: Select all
# Local updates
export LC_ALL="en_US.UTF-8"
export LANG="en_US.UTF-8"
#


This enable the proper display of those file/directory names. Per album however, subsonic uses the tags to display the artist and title, and I notice errors as the image below shows.
Image
The artist is Amon Düül, the album is Die lösing ...
The title of track 7 is wrong and the column with the artist's name is wrong also. I have many more examples where this goes wrong.

What can I do to make sure the tags are display correctly. Can someone point me into the right direction
I am running 6.0 that comes with FreeNAS

thanks in advance

Re: UTF-8 file names and tags

PostPosted: Wed Apr 12, 2017 8:31 am
by Tak-MK
I think you can fix the tags using the Edit Tags option (?)

Re: UTF-8 file names and tags

PostPosted: Wed Apr 12, 2017 1:50 pm
by fd0
fd0 wrote:I have files that contain names with non-ascii characters like ü é è etc.
If these characters are in the title, artist or album name they will also appear in the tags.
How can I ensure that subsonic reads the tags correctly.

I made a small change in the startup script (on FreeBSD)

Code: Select all
# Local updates
export LC_ALL="en_US.UTF-8"
export LANG="en_US.UTF-8"
#


This enable the proper display of those file/directory names. Per album however, subsonic uses the tags to display the artist and title, and I notice errors as the image below shows.

The artist is Amon Düül, the album is Die lösing ...
The title of track 7 is wrong and the column with the artist's name is wrong also. I have many more examples where this goes wrong.

What can I do to make sure the tags are display correctly. Can someone point me into the right direction
I am running 6.0 that comes with FreeNAS

thanks in advance




After some more digging, I found the cause of the issue.
The problem lies with the 'id3tag' utility on Mac OSX. This tool is unable to write the tags encoded in UTF-8.
eyeD3 (in python) does the job.

Took me an hour to retag the failing few hundred MP3 files.
Flac is ok, since metaflac uses UTF-8 out of the box