The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.

Renaming MP3 Files

FirstComradeStalinFirstComradeStalin Registered User regular
edited July 2007 in Help / Advice Forum
I am on Mac OS X, and I'm starting to use MP3 CDs to play music in my car, so I don't have to bring my iPod in my car and leave it in there when I park somewhere (most of the time in downtown Atlanta/Birmingham). I use iTunes to organize my music, which is fine, but the files of the MP3s themselves are named with <track #><song name> because I used iTunes to rename all the songs. But now I want to name them with <Artist><Album><Track #><Song name>, so I can just flip through them and put on an album while I'm driving.

Is there any solution that would rename my songs based on the tag information the way I want it to?

Picture1-4.png
FirstComradeStalin on

Posts

  • OdiniousOdinious regular
    edited July 2007
    http://eagson.webcindario.com/

    Use this, and use the MP3 rename function using the format you want. Hopefully all of your music is tagged correctly.

    Odinious on
  • FirstComradeStalinFirstComradeStalin Registered User regular
    edited July 2007
    Close but no cigar. I need a solution for OS X, and this is XP only.

    FirstComradeStalin on
    Picture1-4.png
  • LindenLinden Registered User regular
    edited July 2007
    I'm assuming that you want the ID3 name tag to contain the previous name with artist and album placed before them.

    This script collection will give you almost what you want with two runs. Slight caveat: the exact format will be <tag> - <tag>. Still, it's something.

    Linden on
  • tardcoretardcore Registered User regular
    edited July 2007
    There is a plug-in for Winamp called EZ Playlist. It lets you mass edit tags, mass rename, etc etc. It's on the official Winamp site. It's what I use, anyway. Works like a charm.

    tardcore on
  • FirstComradeStalinFirstComradeStalin Registered User regular
    edited July 2007
    I need something that will rename the files themselves based off of the ID3 tags that are there from iTunes. Right now, the songs are just things like "01-Do It Again.mp3" and that throws off the entire organization when putting multiple albums on one MP3 CD.

    There's no Winamp for Intel OS X, I'm afraid, so I need to find another solution.

    FirstComradeStalin on
    Picture1-4.png
  • OdiniousOdinious regular
    edited July 2007
    http://www.versiontracker.com/dyn/moreinfo/macosx/3019

    I don't know, what about this program? I have no experience with it, or Macs--period.

    Odinious on
  • GrimReaperGrimReaper Registered User regular
    edited July 2007
    tardcore wrote: »
    There is a plug-in for Winamp called EZ Playlist. It lets you mass edit tags, mass rename, etc etc. It's on the official Winamp site. It's what I use, anyway. Works like a charm.
    I am on Mac OS X

    This is something i'd probably be interested in at some point, my MP3 collection is getting larger and i'm using my Macbook more and more frequently.

    GrimReaper on
    PSN | Steam
    ---
    I've got a spare copy of Portal, if anyone wants it message me.
  • Legoman05Legoman05 Registered User regular
    edited July 2007
    Do the following:

    1) Copy everything in the below spoiler to a new TextEdit document - be sure to make it in plaintext, not RTF. Save it as musicrename.pl
    #!/usr/bin/perl

    $files = `ls`;
    @files = split(/\n/,$files);

    foreach $filename (@files){
    if($filename =~ /.mp3/) {
    print "$filename\n";
    $fileinfo = `id3tool "$filename"`;
    print "$fileinfo\n";
    #print $fileinfo;
    @fileinfo = split(/\n/,$fileinfo);
    foreach $info (@fileinfo){
    if($info=~ /^artist/i){
    $artist = $info;
    print "$artist\n";
    }
    if($info=~ /song title/i){
    $title = $info;
    print "$title\n"
    }
    }
    if($artist&&$title){
    $artist =~ s/Artist:\s+//;
    $artist =~ s/\s+$//;
    $title =~ s/Song Title:\s+//;
    $title =~ s/\s+$//;
    $song = "$artist" . ' - ' . "$title" . '.mp3';
    print "$song\n";
    `mv "$filename" "$song"`;
    }
    }
    }
    2) Download and install id3tool (You'll need to download the source, extract it, ./configure, make, sudo make install, and make clean it
    3) Move all of the music you want to rename into the directory with musicrename.pl
    4) Open your terminal. Type cd, and then drag the folder with all of the music and such into the terminal. This should print out it's path. Hit enter, and you'll be in that folder. Type Ls to make sure that you're in the right folder.
    5) Type perl musicrename.pl
    6) Get funky.

    Legoman05 on
  • EchoEcho ski-bap ba-dapModerator, Administrator admin
    edited July 2007
    Musicbrainz has OS X clients.

    Not only will it rename files, you'll also get proper tags and song names.

    Echo on
  • tardcoretardcore Registered User regular
    edited July 2007
    GrimReaper wrote: »
    tardcore wrote: »
    There is a plug-in for Winamp called EZ Playlist. It lets you mass edit tags, mass rename, etc etc. It's on the official Winamp site. It's what I use, anyway. Works like a charm.
    I am on Mac OS X

    This is something i'd probably be interested in at some point, my MP3 collection is getting larger and i'm using my Macbook more and more frequently.

    http://www.tucows.com/software_detail.html?id=206623

    tardcore on
  • GrimReaperGrimReaper Registered User regular
    edited July 2007
    tardcore wrote: »
    GrimReaper wrote: »
    tardcore wrote: »
    There is a plug-in for Winamp called EZ Playlist. It lets you mass edit tags, mass rename, etc etc. It's on the official Winamp site. It's what I use, anyway. Works like a charm.
    I am on Mac OS X

    This is something i'd probably be interested in at some point, my MP3 collection is getting larger and i'm using my Macbook more and more frequently.

    http://www.tucows.com/software_detail.html?id=206623

    Wow, I mean wow....

    Any mac guy knows there was an early alpha release, for OS 9 being power pc only.

    Did you actually go out of your way to try and disprove me or something?

    I mean, look on the site:

    Published: Feb 1, 2001
    OS: Classic

    As an addendum since it's version 0.71 no current winamp plugins will work with it anyway.

    GrimReaper on
    PSN | Steam
    ---
    I've got a spare copy of Portal, if anyone wants it message me.
  • FirstComradeStalinFirstComradeStalin Registered User regular
    edited July 2007
    Echo wrote: »
    Musicbrainz has OS X clients.

    Not only will it rename files, you'll also get proper tags and song names.

    That's exactly what I needed. Thanks a bunch.

    FirstComradeStalin on
    Picture1-4.png
Sign In or Register to comment.