Consulting

Results 1 to 4 of 4

Thread: Access & modify metadata of MP3 files

  1. #1
    VBAX Contributor
    Joined
    Apr 2006
    Posts
    144
    Location

    Access & modify metadata of MP3 files

    G'day,

    The following code changes the title of an open workbook to abc:

    ActiveWorkbook.BuiltinDocumentProperties(1) = "abc"
    However, this BuiltinDocumentProperties is limited to MS office files. Just wondering if it is possible to extract & change the metadata of MP3 files through VBA. Have anyone come across or developed a script to do so in VBA? Specifically, I'm after a code to change the title from "Track xx" to the actual name of the mp3 file itself.

    The title info of a file can be manually accessed & modified by right clicking on the file name inside windows explorer then "properties" - "summary tab". It would be too cumbersome for to modify some 90 odd mp3 files. I've done some googling but couldn't find anything.

    Thanks in advance for sharing.

    Regards


    kp

  2. #2
    VBAX Sage
    Joined
    Apr 2007
    Location
    United States
    Posts
    8,726
    Location
    Q: why VBA? I've been very pleased with MP3TAG, which is a specialized and powerful and flexible prog. There are a lot of these out there, but this is the one I'm used to

    http://www.mp3tag.de/en/

    "Mp3tag is a powerful and yet easy-to-use tool to edit metadata (ID3, Vorbis Comments and APE) of common audio formats. It can rename files based on the tag information, replace characters or words from tags and filenames, import/export tag information, create playlists and more. The program supports online freedb database lookups for selected files, allowing you to automatically gather proper tag information for select files or CDs."

    Paul

  3. #3
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Me too. It has scripting so that you can put the details in a text file and fire it within mp3.

    I create the text files from Excel and use in mp3Tag.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  4. #4
    VBAX Contributor
    Joined
    Apr 2006
    Posts
    144
    Location
    Thanks guys for the advice. I have tried the MP3Tag myself and found out how useful this piece of program is. By the way XLD would you please elaborate a bit more on the text file batching function as I'm new to this software.

    Thanks in advance.

    Regards


    kp

Posting Permissions

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