Mind Control Forums  

Go Back   Mind Control Forums > Public Categories > Hundred Miles Software > Hundred Miles Software: UltraID3Lib Support

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old September 19th, 2009, 02:26 PM
Tofa Tofa is offline
Registered User
 
Join Date: Sep 2009
Posts: 1
UserDefinedText TXXX read

hi,

i wanna read the TXXX tag out of my mp3.

Code:
UltraID3 testid3 = new UltraID3();
testid3.Read("file");

ID3FrameCollection frames = testid3.ID3v2Tag.Frames.GetFrames(CommonMultipleInstanceID3v2FrameTypes.UserDefinedText);

if (frames.Count > 0)
{
	for (int i = 0; i < frames.Count; i++)
        {
        	richTextBox1.Text += frames[i].ToString();
	}
}
I get as output this:
Quote:
User Text: '2raumwohnung'; Description: 'ALBUMARTISTSORT'; Text Encoding: Unicode
User Text: 'album'; Description: 'MusicBrainz Album Type'; Text Encoding: Unicode
User Text: 'd26534c8-e37b-c870-26fb-05dca6805980'; Description: 'MusicIP PUID'; Text Encoding: Unicode
User Text: '5579a23d-c411-4930-987d-ff89d77c1c12'; Description: 'MusicBrainz Album Artist Id'; Text Encoding: Unicode
User Text: '5579a23d-c411-4930-987d-ff89d77c1c12'; Description: 'MusicBrainz Artist Id'; Text Encoding: Unicode
User Text: '094638690627'; Description: 'BARCODE'; Text Encoding: Unicode
User Text: '7c2d9263-8ed7-411c-913a-325d124853b7'; Description: 'MusicBrainz Album Id'; Text Encoding: Unicode
User Text: 'official'; Description: 'MusicBrainz Album Status'; Text Encoding: Unicode
User Text: 'B000M05T4U'; Description: 'ASIN'; Text Encoding: Unicode
User Text: '3869062'; Description: 'CATALOGNUMBER'; Text Encoding: Unicode
User Text: 'DE'; Description: 'MusicBrainz Album Release Country'; Text Encoding: Unicode
How can i get the "User Text" and the "Description" apart?
frames[i] has only CommonFrameType/Equals/Exceptions/FrameDescription/FrameFlags/FrameID/FrameName/FrameType/GetHashCode/GetType/IsSet/ToString/Version.

Thanks for every hint

Tofa
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -5. The time now is 05:51 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
2003-2008 Rainlands