Problem with flac tags in Asian language [#8239]

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Problem with flac tags in Asian language [#8239]

Re: Problem with flac tags in Asian language [#8239]

by somy » Thu Aug 18, 2011 11:10 am

I briefly tested the new build 1420, and it seems to work.
Thanks a lot for the quick fix!

Re: Problem with flac tags in Asian language [#8239]

by somy » Tue Aug 16, 2011 4:28 am

Thanks for the great help and quick fix.
I will try 1420 and post the result here.

Re: Problem with flac tags in Asian language [#8239]

by MiPi » Tue Aug 16, 2011 3:53 am

It should be fixed in the next build (1420), please let me know then, if it will be working for you too. Thanks.

Re: Problem with flac tags in Asian language [#8239]

by somy » Mon Aug 15, 2011 11:42 am

Great, thanks for the help.
Hopefully this can be easily fixed. I'll switch to MM3 for now :)

Re: Problem with flac tags in Asian language

by MiPi » Mon Aug 15, 2011 10:47 am

Thanks! You're right, I've reproduced it with this language setting to Chinese.
Tracked as http://www.ventismedia.com/mantis/view.php?id=8239

MM3 was compiled using Delphi7 (non-unicode), MM4 is developed in Delphi2010(unicode).

Re: Problem with flac tags in Asian language

by somy » Mon Aug 15, 2011 9:40 am

You won't believe this, when I change the Current language for non-Unicode programs from Chinese to English in Region and Language settings in Windows, it works now........
MM3 doesn't seem to depend on this setting, why MM4 starts to depend on it? Also when UTF is used, how the setting can affect the display? I cannot keep this setting as other programs are depending on this setting.

Re: Problem with flac tags in Asian language

by MiPi » Mon Aug 15, 2011 7:45 am

somy wrote:Hi,

I tried mediainfo, and the tags of the file are indeed broken. Is it possible to sync tags in MM DB to the flac files? Thanks!
Yes. Tools - Advanced Tag Management - Synchronize Tags.

Re: Problem with flac tags in Asian language

by MiPi » Mon Aug 15, 2011 7:29 am

somy wrote:Hi,
Yes, I use 1418.
Have you tried to fix the broken tags of the previous file in MM4? I tried to edit the tags in MM4, but after editing the tag it is still corrupted. I then edited the tags in MM3 which works perfectly.
Could this relate to some settings in OS or MM4? I noticed the encoding for tags in MM4 is ASCII+UTF16, could this setting have some effect?
Yes, I've tagged your file in MM4 and from this moment, the tag was always ok. I use ASCII+UTF16 too.
Please check Options - Library - Tags&Playlists - Update tags when editing properties. This must be checked, otherwise it doesn't write the tag to the file (only to library).

Re: Problem with flac tags in Asian language

by somy » Mon Aug 15, 2011 6:36 am

Hi,

Yes, I use 1418.
Have you tried to fix the broken tags of the previous file in MM4? I tried to edit the tags in MM4, but after editing the tag it is still corrupted. I then edited the tags in MM3 which works perfectly.
Could this relate to some settings in OS or MM4? I noticed the encoding for tags in MM4 is ASCII+UTF16, could this setting have some effect?

Re: Problem with flac tags in Asian language

by MiPi » Mon Aug 15, 2011 6:24 am

I see "風の伝説「風の谷のナウシカ」組曲(改訂版)から" as title in MM4 for the last file. No strange characters.
Do you use last MM4 build? (4.0.0.1418)

Re: Problem with flac tags in Asian language

by somy » Mon Aug 15, 2011 5:14 am

Hi,

I tried mediainfo, and the tags of the file are indeed broken. Is it possible to sync tags in MM DB to the flac files? Thanks!

I have uploaded another flac file with Japanese tags which is not displayed correctly as the scrennshot I posted previously. I checked the file in mediainfo and foobar2000, and tags are OK. Could you please import the file to MM4 and see if you get the wired characters?
The file is at: http://www.mediafire.com/?eqquiud4ym29dpd

EDIT:
I did some more tests, and re-installed MM3. The file I posted above can be displayed correctly in MM3 but not in MM4.
I also tried to edit the error tags in MM4 which doesn't work at all. However, I can edit them in MM3 and get them displayed correctly in Mediainfo and Foobar2000, but MM4 still refues to display them correctly.
I now believe MM4 also writes tags incorrectly, as all my old flacs have no corrupted tags in MM3 (although some of the tags are not displayed correctly in MM4 as the file above demonstrates).

Re: Problem with flac tags in Asian language

by MiPi » Mon Aug 15, 2011 4:19 am

somy wrote:I put all the songs in NAS, and only MM4 can access the music, so I don't think there is any other application modifying tags.
The wired thing is, if you click the file with wrong tags in MM4 for editing, the tags are displayed correctly again. However, when refreshing (F5), the wired characters appear again. I tried to copy a file to foobar2000, and the tags are displayed correctly in foobar2000.

Pls let me know if you have any specific tests you want me to do.
But the file you posted has corrutped Artist tag, does Foobar2000 really read the tag ok? I mean when it reads from the file, not from its library. I've tried the last version of Foobar2000 and it does not read Artist field at all from this file.
Anyway, please try MediaInfo application, it reads info about media files, and check the relevant files, whether it reads correct tags.
Then please tag some relevant file with MM4 (set correct values instead of the wrong ones) and then check again, if it will be ok.

The strange behaviour is caused by different tag in MM4 library and the file - the right tag is read from the library, the wrong one from the file, that is why it is doing such things. If you rescan the files to the library, it will be wrong everywhere... I think this is the reason, why the files are ok in Foobar, it has some library too and probably with right values, after rescanning, I think, they become incorrect/disappear too.

Re: Problem with flac tags in Asian language

by somy » Mon Aug 15, 2011 2:48 am

One more thing, for Janpanese, I noticed this wired character sometimes displayed in the middle of a title, so I guess it is not related to the last byte which is written incorrectly by another application. See the screenshot below:

Image
By somy1982 at 2011-08-15

I remember everything looks alright in MM3.

Re: Problem with flac tags in Asian language

by somy » Mon Aug 15, 2011 2:44 am

I put all the songs in NAS, and only MM4 can access the music, so I don't think there is any other application modifying tags.
The wired thing is, if you click the file with wrong tags in MM4 for editing, the tags are displayed correctly again. However, when refreshing (F5), the wired characters appear again. I tried to copy a file to foobar2000, and the tags are displayed correctly in foobar2000.

Pls let me know if you have any specific tests you want me to do.

Re: Problem with flac tags in Asian language

by MiPi » Mon Aug 15, 2011 1:33 am

somy wrote:Hi Rusty,

Thanks for looking into the problem.
The tags are created by Foobar2000, and I edit many of them in MM4. As the screenshots showed, MM4 can display the tags in library view without any problem, only in file mode it gives strange characters.
I have uploaded a problematic file which is available at: http://www.mediafire.com/?sgkubmphc34vhnr

BTW, could any setting in MM4 can cause the problem?

Thanks!
This file has wrong last byte of the last character in the Artist tag. I've tried Foobar2000 v1.1.7 and it seems, it writes it correctly the same way as MM4. The question is, what application corrupted this character. It seems to be this scenario:
1) file has right tags, MM4 scans them and adds to its library.
2) some application rewrites tags in the file and corrupts the last character sometimes.
3) if MM4 reads tags from the file (in My Computer), it reads corrupted character, if from library, it shows the right one, previously scanned.

Could you test it more, to find out, what application is causing this? I've tried to write these tags in MM4 many times, other testers too, and nobody reproduced this.

Top