Welcome to the MP3Car.com forums.
You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!
If you have any problems with the registration process or your account login, please contact contact us.
|
04-15-2008, 04:54 PM
|
#1
|
|
Constant Bitrate
Join Date: Sep 2006
Location: Cornwall, England
Vehicle: 2003 VW Transporter T5
Posts: 145
|
How can I read ID3 tags in MP3 files?
Here is my problem...
I have coded my own front-end and am using the ultraID3lib.dll to pull the id3 tag info from the mp3 files. Everything works fine for v2.3 files (apart from a few that iTunes screwed up), but it doesn't work for v2.2 or v2.4. I was thinking of writing my own code to read the tags, but can only find samples of how to read v1 tags, which is pretty simple. Is there any VB.net code samples available to get the basic stuff, artist, song name etc. as well as the more advanced stuff, like album art from an MP3 file.
Thanks for any help

__________________
ViVE - Volkswagen In Van Entertainment:
VoomPC 2, VIA C7 2GHz
7" Lilliput
120Gb Sata drive
1GB RAM
[||||||||||] 100% - Planning
[||||||||||] 100% - Software coding
[||||||||||] 100% - Built
(Always tweaking!)
Last edited by portreathbeach : 04-19-2008 at 03:57 AM.
|
|
|
04-15-2008, 05:28 PM
|
#2
|
|
Confusion Master
Join Date: Sep 2003
Location: If you go down to the woods today, You're sure of
Vehicle: 1997 BMW E36 328I
Posts: 9,726
|
|
|
|
04-16-2008, 10:41 AM
|
#3
|
|
Constant Bitrate
Join Date: Sep 2006
Location: Cornwall, England
Vehicle: 2003 VW Transporter T5
Posts: 145
|
Thanks for the link. Good write-up about MP3 files, haven't had time to play around with the code, but I don't see anywhere about album art in there.
__________________
ViVE - Volkswagen In Van Entertainment:
VoomPC 2, VIA C7 2GHz
7" Lilliput
120Gb Sata drive
1GB RAM
[||||||||||] 100% - Planning
[||||||||||] 100% - Software coding
[||||||||||] 100% - Built
(Always tweaking!)
|
|
|
04-16-2008, 11:08 AM
|
#4
|
|
Confusion Master
Join Date: Sep 2003
Location: If you go down to the woods today, You're sure of
Vehicle: 1997 BMW E36 328I
Posts: 9,726
|
|
|
|
04-16-2008, 01:25 PM
|
#5
|
|
Constant Bitrate
Join Date: Sep 2006
Location: Cornwall, England
Vehicle: 2003 VW Transporter T5
Posts: 145
|
That is a lot of reading and some pretty involved coding to read into the frames of an mp3 file. Amyway, I have found a few C# samples, and will try and translate these to VB.net.
Thanks for the help
__________________
ViVE - Volkswagen In Van Entertainment:
VoomPC 2, VIA C7 2GHz
7" Lilliput
120Gb Sata drive
1GB RAM
[||||||||||] 100% - Planning
[||||||||||] 100% - Software coding
[||||||||||] 100% - Built
(Always tweaking!)
|
|
|
04-19-2008, 03:56 AM
|
#6
|
|
Constant Bitrate
Join Date: Sep 2006
Location: Cornwall, England
Vehicle: 2003 VW Transporter T5
Posts: 145
|
I am now using .GetDetailsOf to retrieve the Artist, Album, Title etc. but I still can't get the album art from the mp3 file. Is there any VB code that has an example of this. I havn't seen any actual code to do this, there are a few .dll files people have written, but I would like to code it myself if possible.
__________________
ViVE - Volkswagen In Van Entertainment:
VoomPC 2, VIA C7 2GHz
7" Lilliput
120Gb Sata drive
1GB RAM
[||||||||||] 100% - Planning
[||||||||||] 100% - Software coding
[||||||||||] 100% - Built
(Always tweaking!)
|
|
|
04-19-2008, 05:47 AM
|
#7
|
|
Confusion Master
Join Date: Sep 2003
Location: If you go down to the woods today, You're sure of
Vehicle: 1997 BMW E36 328I
Posts: 9,726
|
Have look a roadrunners source, I think there maybe something in there.
|
|
|
04-19-2008, 04:20 PM
|
#8
|
|
Constant Bitrate
Join Date: Sep 2006
Location: Cornwall, England
Vehicle: 2003 VW Transporter T5
Posts: 145
|
I have had a scan through the RoadRunner source, but can't find any code that extracts the AlbumArt, the only code I can find loads the AlbumArt from files in an albumart folder. For some reason, I can't get RoadRunner to work on my machine, so can't really tell if it can extract the albumart from the mp3.
__________________
ViVE - Volkswagen In Van Entertainment:
VoomPC 2, VIA C7 2GHz
7" Lilliput
120Gb Sata drive
1GB RAM
[||||||||||] 100% - Planning
[||||||||||] 100% - Software coding
[||||||||||] 100% - Built
(Always tweaking!)
|
|
|
04-19-2008, 07:56 PM
|
#9
|
|
Constant Bitrate
Join Date: Mar 2007
Posts: 132
|
|
|
|
05-21-2008, 11:23 PM
|
#10
|
|
Newbie
Join Date: Jul 2005
Location: Chalmette, Louisiana
Vehicle: 2007 GMC Sierra
Posts: 8
|
While I am not certain, and I am mainly a Java programmer, I believe the album is not embedded in the MP3 file. The MP3 file I believe has a spot for the location of the album art on the drive, but not the actual image.
I'll try to double check that and let you know. I remember reading that somewhere.
Jacob
__________________
"I have not lost my mind - it's backed up on disk somewhere." -Unknown Author
|
|
|
05-21-2008, 11:52 PM
|
#11
|
|
Newbie
Join Date: Jul 2005
Location: Chalmette, Louisiana
Vehicle: 2007 GMC Sierra
Posts: 8
|
Well I was wrong. The album art can be embedded in ID3v2 or higher. It can not be embedded in ID3v1 though. Which I think is what you were trying to retrieve from, of I read your post right.
Check out http://www.id3.org/ID3v1.
Version 1 was very basic from my understanding.
__________________
"I have not lost my mind - it's backed up on disk somewhere." -Unknown Author
|
|
|
06-02-2008, 01:22 PM
|
#12
|
|
Constant Bitrate
Join Date: Sep 2006
Location: Cornwall, England
Vehicle: 2003 VW Transporter T5
Posts: 145
|
Thanks for the reply. I am now using '.GetDetailsOf' which is part of XPs 'shell32.dll' to retrieve the mp3 information which is pretty quick. I am still using 'UltraID3.dll' to retrieve the album art. 
__________________
ViVE - Volkswagen In Van Entertainment:
VoomPC 2, VIA C7 2GHz
7" Lilliput
120Gb Sata drive
1GB RAM
[||||||||||] 100% - Planning
[||||||||||] 100% - Software coding
[||||||||||] 100% - Built
(Always tweaking!)
|
|
|
06-02-2008, 02:34 PM
|
#13
|
|
Maximum Bitrate
Join Date: Mar 2007
Location: Socal
Vehicle: 2006 Evo MR
Posts: 568
|
__________________
2006 Lancer Evolution IX MR In-Dash PC Project - WIP
Planning:
[----------] 100%
Purchasing:
[----------] 100%
Installation/Fab/Assembly (Revised):
[----------] 80%
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:58 AM.
|
|