Announcement

Collapse
No announcement yet.

Testing a tag-reading library

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    Play with it, 'til it's broke.

  • #2
    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%

    Comment


    • #3
      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.

      Comment


      • #4
        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%

        Comment

        Working...
        X