Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: How can I read ID3 tags in MP3 files?

  1. #1
    Constant Bitrate
    Join Date
    Sep 2006
    Location
    Cornwall, England
    Posts
    161

    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!)

  2. #2

  3. #3
    Constant Bitrate
    Join Date
    Sep 2006
    Location
    Cornwall, England
    Posts
    161
    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!)

  4. #4

  5. #5
    Constant Bitrate
    Join Date
    Sep 2006
    Location
    Cornwall, England
    Posts
    161
    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!)

  6. #6
    Constant Bitrate
    Join Date
    Sep 2006
    Location
    Cornwall, England
    Posts
    161
    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!)

  7. #7

  8. #8
    Constant Bitrate
    Join Date
    Sep 2006
    Location
    Cornwall, England
    Posts
    161
    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!)

  9. #9
    Constant Bitrate slvrsol's Avatar
    Join Date
    Mar 2007
    Posts
    148
    try looking at the plugin source

    Embbeded Mp3 Art Plugin

  10. #10
    Newbie bigbrother82's Avatar
    Join Date
    Jul 2005
    Location
    Chalmette, Louisiana
    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

Page 1 of 3 123 LastLast

Similar Threads

  1. mp3 id3 gibrish
    By toofresh in forum Software & Software Development
    Replies: 0
    Last Post: 04-07-2008, 05:01 AM
  2. Splash screen and id3 tags
    By Flappy in forum Centrafuse
    Replies: 3
    Last Post: 09-22-2006, 04:57 AM
  3. Help with MP3 radios, files, & directories
    By mp3designer in forum General Hardware Discussion
    Replies: 5
    Last Post: 10-03-2001, 08:27 AM
  4. Playlists and ID3 tags in VB?
    By Bj in forum Software & Software Development
    Replies: 32
    Last Post: 06-25-2001, 08:17 PM
  5. Do you guyz know this cool machine?
    By Ginger in forum General Hardware Discussion
    Replies: 3
    Last Post: 04-19-2000, 11:38 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •