Results 1 to 4 of 4

Thread: Testing a tag-reading library

  1. #1
    Variable Bitrate
    Auto Apps:loading...
    thekl0wn's Avatar
    Join Date
    Apr 2005
    Location
    PoCo, Indiana
    Posts
    284

    Testing a tag-reading library

    For a project I'm working on, I needed only the simplest info out of tags. However, the music files I'm working with aren't all in one tag type... I have ID3v1's, ID3v2's, and Windows MetaData. Quite simply, all I needed was Genre/Artist/Album/Year/Track#... All ID3v1 info, yet in some cases longer field lengths were needed. So I sat down and hacked out my first COM object. Keep in mind, the word "first"... So if anyone has any helpful suggestions on making it better, let me know!

    I've attached a zip which includes a very simple DLL and a readme for how to use it in Visual Studio.

    I plan on doing a few write-up's on the different functions of the tags, as there seem to be quite a few out there that are either vague or quite in-depth... And I've also picked up some pretty cool tricks that may be common knowledge to everyone else.

    Any feedback is welcome.
    Attached Files Attached Files
    Play with it, 'til it's broke.

  2. #2
    Maximum Bitrate galvitron's Avatar
    Join Date
    Mar 2007
    Location
    Socal
    Posts
    719
    Cool, I'll give it a whirl. Can it read WMV tags? How about adding FLAC support?
    2006 Lancer Evolution IX MR In-Dash PC Project - WIP

    Planning:
    [----------] 100%
    Purchasing:
    [----------] 90%
    Installation/Fab/Assembly (Revised v2):
    [----------] 90%


  3. #3
    Variable Bitrate
    Auto Apps:loading...
    thekl0wn's Avatar
    Join Date
    Apr 2005
    Location
    PoCo, Indiana
    Posts
    284
    From everything I've read, the ID3/Windows MetaData is not tied to a particular filetype... It's simply a tag that can be applied to any filetype. Now, have I tested this yet? Like an idiot, no... So I can't really answer, but I'm going to say that if the tags are currently there now, then yes, it should pick them up on WMA/MP3/FLAC/etc. Keep in mind, the current version is simply reading, and does not have any writing support currently. I may actually have to use my brain to get anything other than ID3v1 to save!

    But just for some more random rambling... I believe there are a few of the media libraries out there that will do the reading/writing/syncing on all music file types. Currently, this is how I'm managing mine. I simply needed this library to read them in my project.
    Play with it, 'til it's broke.

  4. #4
    Maximum Bitrate galvitron's Avatar
    Join Date
    Mar 2007
    Location
    Socal
    Posts
    719
    On codeproject.com there is some .NET code for writing the tags to mp3s, and I have seen the same for FLAC also.

    That is where I got my code for an old PocketPC music program I wrote a while back.
    2006 Lancer Evolution IX MR In-Dash PC Project - WIP

    Planning:
    [----------] 100%
    Purchasing:
    [----------] 90%
    Installation/Fab/Assembly (Revised v2):
    [----------] 90%


Similar Threads

  1. Is it possible a J tag not deforming the image??
    By jamedinar in forum Road Runner
    Replies: 4
    Last Post: 04-08-2008, 01:21 AM
  2. Replies: 7
    Last Post: 07-01-2005, 03:29 PM
  3. ID3v2 Tag Reading VB6 Code
    By TheJack in forum Software & Software Development
    Replies: 6
    Last Post: 03-18-2005, 08:09 PM
  4. ID3 Tag Reading
    By serendipity in forum Centrafuse
    Replies: 28
    Last Post: 01-18-2005, 12:26 AM
  5. Serial NMEA reading
    By blaster in forum GPS
    Replies: 5
    Last Post: 11-23-2004, 05:20 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
  •