IPB

Welcome Guest ( Log In | Register )

3 Pages V   1 2 3 >  
Closed TopicStart new topic
foo_masstag_codepage, codepage conversion tool for tagging
Acropolis
post Jun 1 2006, 18:26
Post #1





Group: Banned
Posts: 471
Joined: 23-September 04
Member No.: 17243



It is very inconvienient if without codepage conversion plugin when dealing with non english songs.
This is an extension of the foo_masstag, and is pretty much the same as the foo_codepage_action plugin for the old foobar2000, but this is for 0.9.x.

the two extra functions are:
- codepage conversion
- conversion between simplified and traditional chinese

This plugin has been renamed to foo_masstag_addons, feature requests are welcome.

* read my blog for the dependency requirements before downloading *

current version: 0.3.4

change log

0.3.4
- added a new action: “Embedded cuesheet inserter”

this is an action to automatically insert the related cuesheet to the file, currently only: *.ape;*.tak;*.flac;*.mac are supported.

this is developed when I convert my APEs to TAKs, the operation is:

C:\album.cue
C:\album.tak

load album.tak to fb2k and put it to the masstagger, and select the action, then run

the action will:
1. put data of album.cue to album.tak as embedded cuesheet
2. remove the actual album.cue file (only will remove if the operation is sucessfully done)

0.3.3
- codepage combo boxes items are sorted now, it was auto sorted in xp, but in vista, it is a mess.

0.3.2
- multi-instance support for the conversions, now mutiple actions of the same type is supported

0.3.1
- minor bugs fixed

0.3
- chinese conversion is also included with the codepage conversion, you can now do the two actions in one step.
- the names "current cp" and "target cp" are changed accordingly.
- conversion preview added, you don't need to worry about messing up your tags by selecting wrong codepage anymore.

0.2.3
- allows user to specify the which meta data to convert

0.2.2
- allows user to select the current codepage

A little tutorial
codepage conversion now allows user to select the codepage currently used to dislay and the
codepage to convert.

this let user fix those files tagged by foo_freedb2, which treats any tags retreived from the
server as utf-8, but in fact the tags could be something else.
to fix these files, user selects iso-8859-1 as the displayed codepage and the correct codepage
as what user thinks it should be (this can be known if user browses the freedb website with the DISCID).

the displayed codepage and correct codepage are not your operating system's codepage, but the
codepage used to store in the actual file when it is not unicode (utf16) and utf8.
but for other files not tagged by foo_freedb2, the displayed codepage is most likely your windows
current code page.

in fact for any mis-tagged files, user just needs to known the codepage in the files and
the correct codepage to get them fixed, unless the files really have incorrect tags.

This post has been edited by Acropolis: May 20 2007, 14:43
Go to the top of the page
+Quote Post
Acropolis
post Jun 3 2006, 20:34
Post #2





Group: Banned
Posts: 471
Joined: 23-September 04
Member No.: 17243



nobody uses it at all?
Go to the top of the page
+Quote Post
Fiend Angelical
post Jun 3 2006, 20:46
Post #3





Group: Members
Posts: 165
Joined: 11-December 03
Member No.: 10367



I'm sorry, I don't really have a use for this. Not really into non-English songs. I'm sure someone will. Good job though.
Go to the top of the page
+Quote Post
thuan
post Jun 16 2006, 00:14
Post #4





Group: Members
Posts: 964
Joined: 10-June 06
Member No.: 31716



Thanks for the plugin, been waiting for sth like this for a while. The only problem now I found is I have to install the MSVC8 runtime lib.
Go to the top of the page
+Quote Post
xliu5
post Jun 16 2006, 22:15
Post #5





Group: Members
Posts: 22
Joined: 1-March 05
Member No.: 20266



How does this work? I see that it is similar to the special show file info plugin for 0.83. What tags does this plugin convert the codepage? All three of ID3v1, ID3v2.4 and APEv2 currently supported by foobar2k 0.92? I have my MP3 encoded in Chinese GBK but the portable MP3 player only recognizes ID3v2.3 UTF-16 encoding. I guess it is out of question for me to use the plugin to convert the codepage since foobar2k now saves the tags in ID3v2.4 and there is no UTF-16 encoding at the codepage conversion (only UTF-7 and UTF-8).
Go to the top of the page
+Quote Post
Acropolis
post Jun 17 2006, 00:59
Post #6





Group: Banned
Posts: 471
Joined: 23-September 04
Member No.: 17243



QUOTE (xliu5 @ Jun 17 2006, 07:15) *
How does this work? I see that it is similar to the special show file info plugin for 0.83. What tags does this plugin convert the codepage? All three of ID3v1, ID3v2.4 and APEv2 currently supported by foobar2k 0.92? I have my MP3 encoded in Chinese GBK but the portable MP3 player only recognizes ID3v2.3 UTF-16 encoding. I guess it is out of question for me to use the plugin to convert the codepage since foobar2k now saves the tags in ID3v2.4 and there is no UTF-16 encoding at the codepage conversion (only UTF-7 and UTF-8).


no, it is similar to the foo_codepage_action plugin in 0.8.x.
this plugin in fact doesn't know what tag it will convert, because it just changes the codepage of the text from meta info, so the tag type really depends on the tag type you've chosen of the input file.

Also, it has nothing to do with ID3v1, or whatever. The main purpose of the conversion is converting the meta info text which is from other codepage such as big5, gbk, to utf-8.

The primary reason I write this plugin is because I have many mp3 using GBK in the tag, but I'm using Big5 windows, the text shown in foobar is garbage (you know what I mean, I think).
I need a plugin like this to convert the text so it can be displayed properly in my big5 windows (both simplified and traditional can be displayed).

This post has been edited by Acropolis: Jun 17 2006, 01:10
Go to the top of the page
+Quote Post
iOsiris
post Jun 17 2006, 02:19
Post #7





Group: Members
Posts: 175
Joined: 4-June 05
Member No.: 22520



Thanks a lot, I do have to go thru the codepages manually a lot for Chinese songs, I'll try it out biggrin.gif
Go to the top of the page
+Quote Post
djet
post Jun 17 2006, 13:24
Post #8





Group: Members
Posts: 121
Joined: 13-July 05
Member No.: 23312



So is it useless to convert text displayed originally in a wrong encoding?
Go to the top of the page
+Quote Post
Acropolis
post Jun 17 2006, 16:47
Post #9





Group: Banned
Posts: 471
Joined: 23-September 04
Member No.: 17243



QUOTE (djet @ Jun 17 2006, 22:24) *
So is it useless to convert text displayed originally in a wrong encoding?


I don't know what you mean by "originally in a wrong encoding", but I can give you another example.

if you have a japanese song using S-JIS as its tagging codepage, but you are not using a japanese windows. the meta info displayed in your foobar will probably be empty (blank) or garbage text. You can use this plugin to convert the text with codepage 932 to utf-8, the text will then be properly displayed.
Go to the top of the page
+Quote Post
iOsiris
post Jun 21 2006, 20:49
Post #10





Group: Members
Posts: 175
Joined: 4-June 05
Member No.: 22520



K this thing works like a charm! Way better than having to go thru in individualy, thanks !
Go to the top of the page
+Quote Post
surf
post Jun 22 2006, 05:07
Post #11





Group: Members
Posts: 3
Joined: 1-October 05
Member No.: 24824



QUOTE (Acropolis @ Jun 17 2006, 07:59) *
no, it is similar to the foo_codepage_action plugin in 0.8.x.
this plugin in fact doesn't know what tag it will convert, because it just changes the codepage of the text from meta info, so the tag type really depends on the tag type you've chosen of the input file.

Also, it has nothing to do with ID3v1, or whatever. The main purpose of the conversion is converting the meta info text which is from other codepage such as big5, gbk, to utf-8.

The primary reason I write this plugin is because I have many mp3 using GBK in the tag, but I'm using Big5 windows, the text shown in foobar is garbage (you know what I mean, I think).
I need a plugin like this to convert the text so it can be displayed properly in my big5 windows (both simplified and traditional can be displayed).


Hmm...i have the same problems like yours.
but i'm wondering...
if i get the tags from freedb.org is in gbk encoding.
and i use the codepage action which plugged into foobar2000 0.8.3(i don't like 0.9.x..)
i choose convert simplified chinese into traditional chinese.
it worked..and the tags displayed perfect.
but i have a question...
the tags aren't in utf-8, are they?
how do i make sure the tags will be using traditional chinese characters in utf-8 library?
because when i use utf-8 to utf-8 using masstager...the tags just become a bunch of `?'

thanks

This post has been edited by surf: Jun 22 2006, 05:07
Go to the top of the page
+Quote Post
Acropolis
post Jun 22 2006, 05:19
Post #12





Group: Banned
Posts: 471
Joined: 23-September 04
Member No.: 17243



QUOTE (surf @ Jun 22 2006, 14:07) *
Hmm...i have the same problems like yours.
but i'm wondering...
if i get the tags from freedb.org is in gbk encoding.
and i use the codepage action which plugged into foobar2000 0.8.3(i don't like 0.9.x..)
i choose convert simplified chinese into traditional chinese.
it worked..and the tags displayed perfect.
but i have a question...
the tags aren't in utf-8, are they?
how do i make sure the tags will be using traditional chinese characters in utf-8 library?
because when i use utf-8 to utf-8 using masstager...the tags just become a bunch of `?'

thanks


you are confused with the old codepage_action plugin, I was, also.
the action of codepage conversion is converting the tagged file from the codepage to utf-8, while simplified to traditional chinese conversion is in fact utf-8 to utf-8 conversion.

to avoid '?', you need to be aware of what the tagging character set is, bascially, if you see the garbage text, you should have 2 conversions, first for codepage to utf-8, second for simp. to trad. conversion.
if you can see the simp. chinese before doing any conversion, you just need the sim. to trad. conversion.

This post has been edited by Acropolis: Jun 22 2006, 05:20
Go to the top of the page
+Quote Post
darkj2k
post Jun 26 2006, 09:41
Post #13





Group: Members
Posts: 2
Joined: 8-October 03
Member No.: 9207



Thanks for this gr8t plg-in. It's what I need.
Go to the top of the page
+Quote Post
surf
post Jun 27 2006, 08:35
Post #14





Group: Members
Posts: 3
Joined: 1-October 05
Member No.: 24824



QUOTE (Acropolis @ Jun 22 2006, 12:19) *
you are confused with the old codepage_action plugin, I was, also.
the action of codepage conversion is converting the tagged file from the codepage to utf-8, while simplified to traditional chinese conversion is in fact utf-8 to utf-8 conversion.

to avoid '?', you need to be aware of what the tagging character set is, bascially, if you see the garbage text, you should have 2 conversions, first for codepage to utf-8, second for simp. to trad. conversion.
if you can see the simp. chinese before doing any conversion, you just need the sim. to trad. conversion.


Thank you for replying to my post.
but i still have a few questions.
i have files with tags in garbage texts.
but i don't know which code set it originally using..
how do you know that?is there any program that can identified the code page the tags or filenames is using?
or i have to convert in order to check if i'm right?
i mean this when the tags of the album can't be found in freedb database.

question 2.
i know foobar can directly tag mp3 files from freedb.
but there's a problem.
i get into the `get tags from freedb' page.
and i have to choose a code page that in preview will show more correct information.
``hope you know what i'm saying...like choose gbk and it shows the tags with correct simplified chinese instead of garbage codes...''
and i tag it.
but here's the question..
after i tag it....foobar shows the simplified chinese information...
but is the tags in utf-8?
how do i know?
(when i use codepage conversion...i choose utf-8 to utf-8...it becomes a bunch of question marks...ha..smile.gif)

is there anyway to know what code page the tags of the known few tagging system, id3v2, flac tags, ape tags,.etc or the files' names in windows are using? or even just check if they're using utf-8

BTW...
I would really like to know more about code page....
any books recommended if i want to do code page conversion or identification programming...
i know there's a o'reilly book about unicode...
just hope to get some advice from people who are already doing this kind of things...

hope you all know what i'm trying to say...
(my english is not very good....)
thanks for your patience

also...
if anyone is also using the program Convertz...
i have a question...
i have some files with names with unicode simplified chinese and unicode japanese..since they only show right in unicode preview..
when i want to convert the unicode from unicode simplified chinese into unicode traditional chinese, unicode japanese will disappear..and if i actually do the conversion...the unicode japanese couldn't be recovered after the conversion.
i thought every unicode version contains the same things...
then why when i do conversions between unicode and unicode traditional chinese(that is..in Convertz...i do unicode to unicode traditional chinese), if there are characters in unicode japanese it will disappear after the conversion.
but the unicode japanese characters will show good when in unicode simplified chinese...(that is ...in Convertz i choose unicode to unicode simplified chinese.)

i wonder...

This post has been edited by surf: Jun 27 2006, 17:04
Go to the top of the page
+Quote Post
Acropolis
post Jun 27 2006, 18:37
Post #15





Group: Banned
Posts: 471
Joined: 23-September 04
Member No.: 17243



QUOTE
i have files with tags in garbage texts.
but i don't know which code set it originally using..
how do you know that?is there any program that can identified the code page the tags or filenames is using?
or i have to convert in order to check if i'm right?
i mean this when the tags of the album can't be found in freedb database.

you will not know, you have to guess to check.
QUOTE
question 2.
i know foobar can directly tag mp3 files from freedb.
but there's a problem.
i get into the `get tags from freedb' page.
and i have to choose a code page that in preview will show more correct information.
``hope you know what i'm saying...like choose gbk and it shows the tags with correct simplified chinese instead of garbage codes...''
and i tag it.
but here's the question..
after i tag it....foobar shows the simplified chinese information...
but is the tags in utf-8?
how do i know?
(when i use codepage conversion...i choose utf-8 to utf-8...it becomes a bunch of question marks...ha..smile.gif)

if you can see the simplified chinese correctly in foobar, then it is already utf-8
QUOTE
is there anyway to know what code page the tags of the known few tagging system, id3v2, flac tags, ape tags,.etc or the files' names in windows are using? or even just check if they're using utf-8

I don't understand what you mean, or you can pm me in chinese
QUOTE
BTW...
I would really like to know more about code page....
any books recommended if i want to do code page conversion or identification programming...
i know there's a o'reilly book about unicode...
just hope to get some advice from people who are already doing this kind of things...

I have no idea.
QUOTE
if anyone is also using the program Convertz...
i have a question...
i have some files with names with unicode simplified chinese and unicode japanese..since they only show right in unicode preview..
when i want to convert the unicode from unicode simplified chinese into unicode traditional chinese, unicode japanese will disappear..and if i actually do the conversion...the unicode japanese couldn't be recovered after the conversion.
i thought every unicode version contains the same things...
then why when i do conversions between unicode and unicode traditional chinese(that is..in Convertz...i do unicode to unicode traditional chinese), if there are characters in unicode japanese it will disappear after the conversion.
but the unicode japanese characters will show good when in unicode simplified chinese...(that is ...in Convertz i choose unicode to unicode simplified chinese.)

I'm having the same problem with convertz, so I guess traditional chinese doesn't have the japanese characters.

This post has been edited by Acropolis: Jun 28 2006, 05:48
Go to the top of the page
+Quote Post
Sky.Live
post Jun 28 2006, 16:07
Post #16





Group: Members
Posts: 8
Joined: 12-April 06
Member No.: 29432



brilliant component, i have TTPlayer, convertZ, and pagecode just to settle my problem with encoding..


.traditional chinese dont support japanese, use simplified instead, i am using jis for my self

btw, i cant download the archieve...

This post has been edited by Sky.Live: Jun 28 2006, 16:13
Go to the top of the page
+Quote Post
Acropolis
post Jun 28 2006, 16:16
Post #17





Group: Banned
Posts: 471
Joined: 23-September 04
Member No.: 17243



QUOTE (Sky.Live @ Jun 29 2006, 01:07) *
btw, i cant download the archieve...

I've just checked, the download link is valid, what do you mean?
Go to the top of the page
+Quote Post
Sky.Live
post Jun 29 2006, 19:21
Post #18





Group: Members
Posts: 8
Joined: 12-April 06
Member No.: 29432



i guess my firefox have some issues, sorry for the inconvenients

are we suppose to click on the word binary to download?

This post has been edited by Sky.Live: Jun 29 2006, 19:25
Go to the top of the page
+Quote Post
Acropolis
post Jun 29 2006, 20:40
Post #19





Group: Banned
Posts: 471
Joined: 23-September 04
Member No.: 17243



QUOTE (Sky.Live @ Jun 30 2006, 04:21) *
i guess my firefox have some issues, sorry for the inconvenients

are we suppose to click on the word binary to download?

yes
Go to the top of the page
+Quote Post
obazavil
post Jul 1 2006, 16:26
Post #20





Group: Members
Posts: 9
Joined: 18-April 02
Member No.: 1814



Hmm..

I downloaded the zip of the binary and copied the dll into foobar components.

however, i get this:
Failed to load DLL: foo_masstag_addons.dll

i have foobar 0.9.2 and masstager componen installed.

any ideas? :S


--------------------
"I never said I would stay to the end..."
Go to the top of the page
+Quote Post
thuan
post Jul 2 2006, 00:32
Post #21





Group: Members
Posts: 964
Joined: 10-June 06
Member No.: 31716



Download and install Microsoft Visual C++ 2005 runtime here or .NET Framework 2.0 if u need it.
Go to the top of the page
+Quote Post
SNAG
post Jul 2 2006, 15:05
Post #22





Group: Members
Posts: 97
Joined: 20-April 03
Member No.: 6076



Wow, this is a lifesaver.

I migrated from 0.83 to 0.9, and there's quite a big of files that I tagged using GB2312 (Simp. Chinese) - using the built in XP Language typing.

However, when I migrated to 0.9, the files' metadata was not recognized. Your plugin saved me..

PS: Does foobar only recognize only Unicode formatting, and not the rest? If I click on the file properties with Explorer, I can still see the metadata there...
Go to the top of the page
+Quote Post
cvax
post Jul 13 2006, 00:28
Post #23





Group: Members
Posts: 54
Joined: 15-November 05
Member No.: 25777



so how do i know which codepage to use to get my korean songs showing?
Go to the top of the page
+Quote Post
kjoonlee
post Jul 13 2006, 02:23
Post #24





Group: Members
Posts: 2526
Joined: 25-July 02
From: South Korea
Member No.: 2782



Korean versions of Windows are likely to be in cp949. Maybe you should use 949.


--------------------
http://blacksun.ivyro.net/vorbis/vorbisfaq.htm
Go to the top of the page
+Quote Post
cvax
post Jul 13 2006, 05:21
Post #25





Group: Members
Posts: 54
Joined: 15-November 05
Member No.: 25777



Okay I am quite confused at what is up with my foobar in its abilities to display foreign characters. I've tried pretty much all the codepages to no avail. My foobar seems to be able to show some of the tags properly while other's don't work. Any help would be great.

Heres a picture of what I mean

screenshot

You can see it displaying the korean in the BAND field just fine. Doesn't want to work in the others though :/

Moderation: Please refrain from inlining images larger than roughly 800x600 and 80KB. Please use thumbnails and/or links for large pictures instead.

This post has been edited by foosion: Jul 13 2006, 12:33
Go to the top of the page
+Quote Post

3 Pages V   1 2 3 >
Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd August 2014 - 11:26