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. Visual Basic
  4. File Properties - mp3

File Properties - mp3

Scheduled Pinned Locked Moved Visual Basic
help
6 Posts 2 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.
  • U Offline
    U Offline
    united18
    wrote on last edited by
    #1

    In mp3 files there are tags/properties of Artist Name, Song Name, Album Name. Is there any way through which i can fetch these values (provided i have a list of mp3 files) into variables. Pls help Thanks :-0

    K 1 Reply Last reply
    0
    • U united18

      In mp3 files there are tags/properties of Artist Name, Song Name, Album Name. Is there any way through which i can fetch these values (provided i have a list of mp3 files) into variables. Pls help Thanks :-0

      K Offline
      K Offline
      Klazen
      wrote on last edited by
      #2

      Read/Write to MP3 Header in VB.NET[^]

      U 2 Replies Last reply
      0
      • K Klazen

        Read/Write to MP3 Header in VB.NET[^]

        U Offline
        U Offline
        united18
        wrote on last edited by
        #3

        Thanks :)

        1 Reply Last reply
        0
        • K Klazen

          Read/Write to MP3 Header in VB.NET[^]

          U Offline
          U Offline
          united18
          wrote on last edited by
          #4

          Hi, I am facing a strange problem in this. When i try to trap the value of artist and title as: dim artist as string artist = objMP3V1.Frame(MP3ID3v1.FrameTypes.Artist) dim title as string title = objMP3V1.Frame(MP3ID3v1.FrameTypes.title) dim new Name as string newName = artist + title The variable 'newName' does not contain the values of both title and artist. It only contains of artist whereas individually i am able to see the values of artist (msgbox(artist)) and title (msgbox(title)). Pls reply within half hour.......

          K 1 Reply Last reply
          0
          • U united18

            Hi, I am facing a strange problem in this. When i try to trap the value of artist and title as: dim artist as string artist = objMP3V1.Frame(MP3ID3v1.FrameTypes.Artist) dim title as string title = objMP3V1.Frame(MP3ID3v1.FrameTypes.title) dim new Name as string newName = artist + title The variable 'newName' does not contain the values of both title and artist. It only contains of artist whereas individually i am able to see the values of artist (msgbox(artist)) and title (msgbox(title)). Pls reply within half hour.......

            K Offline
            K Offline
            Klazen
            wrote on last edited by
            #5

            Ok, first, make sure you have imported the right file into your project. Go to the link I refrenced in my post, and download the source code. Then, import MP3Info.vb from the zip file. Then, use this in your source code: Dim mp3reader As New Monotic.Multimedia.MP3.MP3Info Dim artist As String Dim newname As String mp3reader.Filename = FileName artist = mp3reader.ID3v1Tag.Artist title = mp3reader.ID3v1Tag.Title newname = artist + title Where FileName is the filename of your MP3. That should work, I tested it.

            U 1 Reply Last reply
            0
            • K Klazen

              Ok, first, make sure you have imported the right file into your project. Go to the link I refrenced in my post, and download the source code. Then, import MP3Info.vb from the zip file. Then, use this in your source code: Dim mp3reader As New Monotic.Multimedia.MP3.MP3Info Dim artist As String Dim newname As String mp3reader.Filename = FileName artist = mp3reader.ID3v1Tag.Artist title = mp3reader.ID3v1Tag.Title newname = artist + title Where FileName is the filename of your MP3. That should work, I tested it.

              U Offline
              U Offline
              united18
              wrote on last edited by
              #6

              thanks a lot. my application is now complete. I will post the application as soon as i design it fully and deploy it. strings were not concatenating so i created labels and then concatenated them.

              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