IPB

Welcome Guest ( Log In | Register )

> Notice!

Please take a minute to check our Frequently Asked Questions. Use Search to reveal possible related topics.

Also make sure you've read the Forum Guidelines before posting in this forum.

 
Reply to this topicStart new topic
> Reading XML File Tags
mAirListUser
post Oct 15 2008, 13:25
Post #1


Member


Group: Full Members
Posts: 5
Joined: 15-October 08
Member No.: 7719
Mp3tag Version: v2.41



I'm trying to get MP3Tag v2.41 to read XML file tags within an MP3 file - I'm told this is possible but cannot find a way to import them into my browser columns. The tags have been created in a radio playout program called mAirList and I'm told that the tags are stored using TXXX with a description of mAirList. A typical value that I'm trying to read is <EndType>e</EndType> - I'd like to display the e in a column called EndType.

I have been able to read custom ID3 tags which were created in another playout package (AudioEnhanceDPS) by adding %category% - this works a treat but I'm struggling with reading the XML tags...

My ultimate goal is to read the Vocal Intro, Segue Point and EndType tags so that I can export them to a tab-delimited txt file to import into a music scheduler (the easy part!)....

I attach an MP3 file with the tags in, just in case my description didn't make sense.. Open this file in Notepad and you'll see what I mean wink.gif
Attached File(s)
Attached File  HookSweeper.mp3 ( 90.03K ) Number of downloads: 428
 
Go to the top of the page
 
+Quote Post
dano
post Oct 15 2008, 14:19
Post #2


Moderator


Group: Moderators
Posts: 5680
Joined: 4-September 03
From: Germany
Member No.: 201
Mp3tag Version: 2.61d



You cannot see the MAIRLIST tag because

1) This file has two different ID3v2 tags. Why??
Mp3tag shows the first ID3v2 tag, but the xml tag is in the second. You can delete the first tag with "Remove Tag" [Ctrl+R] command.
Then you will see no tag at all because...

2) The flags of the ID3v2 header of this part are set wrong! But you can use a hex editor to change the 6th byte from $03 to $00

Then use Alt+t to see your tag

________________

But if you look at the tags of your original file with Alt+t, maybe you don't need the xml tag?
Tags of HookSweeper.mp3:

ARTIST: FX
COMMENT: mAirList Hook Element
COMPOSER: FX
GENRE: FX
TITLE: HookSweeper
TRACK: *
YEAR: 2008
OPENER: *
END: e

This post has been edited by dano: Oct 15 2008, 14:31


--------------------
Go to the top of the page
 
+Quote Post
mAirListUser
post Oct 15 2008, 14:41
Post #3


Member


Group: Full Members
Posts: 5
Joined: 15-October 08
Member No.: 7719
Mp3tag Version: v2.41



Hi,
I tagged the file in MP3Tag to begin with, but then tagged it with mAirList so I could show you the tag examples... There are custom mAirList tags that I want to display (and export) that are stored in that custom XML tag format.
Go to the top of the page
 
+Quote Post
mAirListUser
post Oct 18 2008, 11:57
Post #4


Member


Group: Full Members
Posts: 5
Joined: 15-October 08
Member No.: 7719
Mp3tag Version: v2.41



Still stuck with this... is there any solution to viewing these XML tags ? sad.gif
Go to the top of the page
 
+Quote Post
Moonbase
post Oct 18 2008, 12:06
Post #5


Member


Group: Full Members
Posts: 176
Joined: 2-November 07
Member No.: 5868
Mp3tag Version: 2.43



mAirListUser: You might want to point Torben to this thread. mAirlist is an excellent piece of software and Torben usually very helpful. If writing a second set of tags is a mAirlist bug, Torben will surely sort it out.

Nevertheless, opening your file »HookSweeper.mp3« with MP3Tag v2.41 shows me:
  • An ID3v1 Tag containing:
    • ARTIST FX
    • COMMENT mAirList Hook Element
    • TITLE HookSweeper
    • YEAR 2008
  • An ID3v2 (UTF-16) Tag containing:
    • ARTIST FX
    • COMMENT mAirList Hook Element
    • COMPOSER FX
    • END e
    • GENRE FX
    • OPENER *
    • TITLE HookSweeper
    • TRACK *
    • YEAR 2008
OPENER and END are perfectly well-formed UTF-16 TXXX type tags and I can easily add a column for them in MP3Tag’s Column View (or the Tag Panel).

So it looks like mAirlist’s XML is converted correctly into standard MP3 tags—no XML inside the MP3. (Since everything went so smooth, I didn’t bother to check for each and everything with a stream editor.)

But maybe I just misinterpret what you want. Somehow.

@ dano: May I ask which stream editor you use to check that? Sounds like I could need a thing like that ;-)

-----

Ah, I guess for some reasion you need to read the TXXX mAirList tag:
CODE
<MP3File>
  <Artist>FX</Artist>
  <Title>HookSweeper</Title>
  <Duration>35787755</Duration>
  <CueIn>
    <Value>280045</Value>
  </CueIn>
  <FadeOut>
    <Value>15900000</Value>
  </FadeOut>
  <EndType>e</EndType>
  <Color>#FFFF80</Color>
  <Picture>
    <Filename>C:\mAirList\icons\Icon - Control.ico</Filename>
  </Picture>
</MP3File>

Time to ask Torben for help and modify his tag writing, I guess.
And time to ask Florian for Mixed-Case Tag Support, maybe.

-----

N.B.: I left a note over in the mAirList Forum.

This post has been edited by Moonbase: Oct 18 2008, 12:59


--------------------
Go to the top of the page
 
+Quote Post
mAirListUser
post Oct 18 2008, 12:58
Post #6


Member


Group: Full Members
Posts: 5
Joined: 15-October 08
Member No.: 7719
Mp3tag Version: v2.41



Thanks - I have been in touch with Torben about this - especially as mAirList "Save Tag" appears to kill the Genre and Compose ID3 fields ;( Torben did say that the XML can be displayed, I assumed that I had a config error in my columns or perhaps I needed some add-on for XML tags.

I'll see what Torben comes back with wink.gif
Go to the top of the page
 
+Quote Post
Moonbase
post Oct 18 2008, 13:05
Post #7


Member


Group: Full Members
Posts: 176
Joined: 2-November 07
Member No.: 5868
Mp3tag Version: 2.43



QUOTE (mAirListUser @ Oct 18 2008, 13:58) *
I'll see what Torben comes back with wink.gif

Yeah, let us know. I’d be eager to have »The best MP3 Tool« MP3Tag and »The best player for broadcasting« mAirList work together, especially since I always recommended MP3Tag to all my mAirList and SAM Broadcaster users.

This post has been edited by Moonbase: Oct 18 2008, 13:05


--------------------
Go to the top of the page
 
+Quote Post
Torben
post Oct 19 2008, 16:03
Post #8


Member


Group: Members
Posts: 1
Joined: 19-October 08
Member No.: 7742
Mp3tag Version: 2.41



Hi everybody.

First of all, let me introduce myself - I'm Torben, the developer of mAirList, mentioned above.

Thanks to the information provided by the users, and in particular by dano, I was finally able to track down the reason why mAirList would write tags which aren't recognized by Mp3tag or Winamp. It's a bug in the ID3 library I use (JvID3v2 from JVCL) which fails to initialize the memory in which it constructs the header, so in the end, the "flags" byte might have random bits set. It's perfectly ok for Mp3tag to ignore the tag then. This is the behavior proposed by the official documentation on id3.org: "If one of these undefined flags are set that might mean that the tag is not readable for a parser that does not know the flags function." See http://www.id3.org/id3v2.3.0#head-697d09c5...9d93585e2652b0b

I have released an update of mAirList, see http://forum.mairlist.com/index.php/topic,3246.0.html

However, I haven't found out why mAirList would write double tags. This is obviously not related to the first issue and might be another bug in the JvID3v2 library. Can "mAirListUser" please post or mail me the original version of the audio file with which this happened? Because I cannot reproduce it with my files.

Finally, let me take this opportunity to say hello and thank you to the Mp3tag team (or is it just a single person like me?). It's a very great tool which has proved its helpfulness many times, not only when chasing nasty bugs like this.


Torben
Go to the top of the page
 
+Quote Post

Reply to this 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: 28th July 2014 - 05:12