CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 3 of 3 FirstFirst 123
Results 31 to 38 of 38
  1. #31
    Join Date
    Sep 2000
    Location
    FL
    Posts
    1,452

    Re: Command Prompt to read MP3 files.

    It does appear that there might be an issue with the code processing the v2 tags. On several of my MP3's it will not show anyinfo on the v2 tags. even though it sets the hasid3v2 property to true. On some of my MP3's it does come back with the correct information though. I would suggest you download a MP3 editor and set the tag. I used audacity on one of the MP3s that originally did not show a v2 tag, edited the tag, re-exported the mp3 and now it shows the v2 tag.

  2. #32
    Join Date
    Sep 2000
    Location
    FL
    Posts
    1,452

    Re: Command Prompt to read MP3 files.

    I used audacity to edit the v2 tags on one of the mp3s that were not showing anything. I saved a new v2 tag to the mp3, and now it does show the information.

    Attached is my project. You can either use the console app or the Windows app.

    ETA: I agree with meneloo, there is definatly something wrong with the v2 processing.
    Attached Files Attached Files

  3. #33
    Join Date
    Oct 2008
    Location
    Cologne, Germany
    Posts
    756

    Re: Command Prompt to read MP3 files.

    every char in the tags seems to be followed by a \0, mhmm ... i give up, i had to know the specification of mp3 tags

    there has to be somewhere some info how the text is stored... but i don't know where.
    win7 x86, VS 2008 & 2010, C++/CLI, C#, .NET 3.5 & 4.0, VB.NET, VBA... WPF is comming

    remeber to give feedback you think my response deserves recognition? perhaps you may want to click the Rate this post link/button and add to my reputation

    private lessons are not an option so please don't ask for help in private, I won't replay

    if you use Opera and you'd like to have the tab-button functionality for the texteditor take a look at my Opera Tab-UserScirpt; and if you know how to stop firefox from jumping to the next control when you hit tab let me know

  4. #34
    Join Date
    Sep 2000
    Location
    FL
    Posts
    1,452

    Re: Command Prompt to read MP3 files.

    Quote Originally Posted by memeloo View Post
    every char in the tags seems to be followed by a \0, mhmm ... i give up, i had to know the specification of mp3 tags

    there has to be somewhere some info how the text is stored... but i don't know where.
    A good place to start.

    http://www.id3.org/

    ETA: Probably a better place to look..

    http://www.idsharp.com/

  5. #35
    Join Date
    Oct 2008
    Location
    Cologne, Germany
    Posts
    756

    Re: Command Prompt to read MP3 files.

    i even found the original page of this files presented here
    http://www.developerfusion.com/code/...3v1-and-id3v2/
    win7 x86, VS 2008 & 2010, C++/CLI, C#, .NET 3.5 & 4.0, VB.NET, VBA... WPF is comming

    remeber to give feedback you think my response deserves recognition? perhaps you may want to click the Rate this post link/button and add to my reputation

    private lessons are not an option so please don't ask for help in private, I won't replay

    if you use Opera and you'd like to have the tab-button functionality for the texteditor take a look at my Opera Tab-UserScirpt; and if you know how to stop firefox from jumping to the next control when you hit tab let me know

  6. #36
    Join Date
    Dec 2009
    Posts
    23

    Re: Command Prompt to read MP3 files.

    Quote Originally Posted by sotoasty View Post
    I used audacity to edit the v2 tags on one of the mp3s that were not showing anything. I saved a new v2 tag to the mp3, and now it does show the information.

    Attached is my project. You can either use the console app or the Windows app.

    ETA: I agree with meneloo, there is definatly something wrong with the v2 processing.
    Cool, you're code is actually working fine. it returns some of the data, like the artist name on some MP3 files, but for most of them it returns 'no Tag found'.

    Maybe the code itself is messed up.

  7. #37
    Join Date
    Sep 2000
    Location
    FL
    Posts
    1,452

    Re: Command Prompt to read MP3 files.

    If you are really looking at editing/reading the ID tags, you should look at the idsharp link above.

  8. #38
    Join Date
    Oct 2008
    Location
    Cologne, Germany
    Posts
    756

    Re: Command Prompt to read MP3 files.

    i think i'll try to implement it or at least parts of it. i could be a good training to use some pointers, unsafe code etc.

    edit: cool one can learn a lot from implementhig mp3 tags. i've just found that this text is utf16 and the first bytes describe how it's stored ;]
    Last edited by memeloo; December 16th, 2009 at 02:24 PM.
    win7 x86, VS 2008 & 2010, C++/CLI, C#, .NET 3.5 & 4.0, VB.NET, VBA... WPF is comming

    remeber to give feedback you think my response deserves recognition? perhaps you may want to click the Rate this post link/button and add to my reputation

    private lessons are not an option so please don't ask for help in private, I won't replay

    if you use Opera and you'd like to have the tab-button functionality for the texteditor take a look at my Opera Tab-UserScirpt; and if you know how to stop firefox from jumping to the next control when you hit tab let me know

Page 3 of 3 FirstFirst 123

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured