Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Mp3 tag

Mp3 tag

Scheduled Pinned Locked Moved C#
tutorialcsharp
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    conemajstor
    wrote on last edited by
    #1

    Hi I am making mp3 player in c# and i want to know how to access to the tag where i can get the name of artist,.. It's name is Id3 or something like that i have libaries but i dont know how to acces this informations... if you have example it will be very useful. Thanks

    nemanja

    L 1 Reply Last reply
    0
    • C conemajstor

      Hi I am making mp3 player in c# and i want to know how to access to the tag where i can get the name of artist,.. It's name is Id3 or something like that i have libaries but i dont know how to acces this informations... if you have example it will be very useful. Thanks

      nemanja

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      The ID3 Version 2 tag is very complicated and pretty complex to parse. You might want to check the much easier ID3 Version 1 tag. It's typically at the end of the MP3 file, starting 128bytes from the end to then end. If there is an ID3v1 tag, then the last 128bytes start with 'TAG'. It's very easy to read and write. Check google for the exact format of the ID3v1 tag. regards

      C 1 Reply Last reply
      0
      • L Lost User

        The ID3 Version 2 tag is very complicated and pretty complex to parse. You might want to check the much easier ID3 Version 1 tag. It's typically at the end of the MP3 file, starting 128bytes from the end to then end. If there is an ID3v1 tag, then the last 128bytes start with 'TAG'. It's very easy to read and write. Check google for the exact format of the ID3v1 tag. regards

        C Offline
        C Offline
        conemajstor
        wrote on last edited by
        #3

        Thanks for the answer but how i ko wthat the mp3 file is id 1 or id 2 .I am beginer at this ... What is the diffrence and how i can recognize the diffrence thanks!

        nemanja

        E 1 Reply Last reply
        0
        • C conemajstor

          Thanks for the answer but how i ko wthat the mp3 file is id 1 or id 2 .I am beginer at this ... What is the diffrence and how i can recognize the diffrence thanks!

          nemanja

          E Offline
          E Offline
          electriac
          wrote on last edited by
          #4

          Put the mp3 in a text editor like "Notepad" and read the last 128 characters of the file. If it commences with the word "TAG" its a type 1 id3 tag.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups