Page 1 of 1

Rename MP3s with year of release?

Posted: Thu Jun 30, 2011 2:31 pm
by MachineCode
Does anyone know if there's any MP3 file renamer that can append the year of release of the song? It has to be something that can use a database, because none of my MP3s have any ID3 data. Thanks.

Re: Rename MP3s with year of release?

Posted: Thu Jun 30, 2011 3:56 pm
by DarkDragon

Re: Rename MP3s with year of release?

Posted: Thu Jun 30, 2011 10:50 pm
by MachineCode
DarkDragon wrote:Here is the manual:
http://www.bradan.eu/projects/id3tagtools/manual/
I had a read but your tool doesn't appear to do what I want. How does it rename the MP3 file with the year of release of the song? I don't want to edit ID3 tags.

Re: Rename MP3s with year of release?

Posted: Fri Jul 01, 2011 7:07 am
by DarkDragon
Sorting by ID3-Tags is what you want.
http://www.bradan.eu/projects/id3tagtoo ... l/#sorting

You can specify the filename template and it will rename all files so they match the template.

For example if you specify this pattern:
C:\Documents and Settings\Max\My Music\Sorted\%YEAR%_*.$

it will rename all files inside the list, e.g. those mp3s:

Code: Select all

FILE          YEAR
------------------
blubb.mp3     2006
abc.mp3       2003
will end up as this

Code: Select all

C:\Documents and Settings\Max\My Music\Sorted\2006_blubb.mp3
C:\Documents and Settings\Max\My Music\Sorted\2003_abc.mp3

Re: Rename MP3s with year of release?

Posted: Fri Jul 01, 2011 11:48 am
by MachineCode
I tried it, but it didn't do anything. Remember what I said in my first post:
MachineCode wrote:none of my MP3s have any ID3 data
So, I don't think your tool can help. I'll keep looking elsewhere. Thanks anyway!

Re: Rename MP3s with year of release?

Posted: Fri Jul 01, 2011 1:38 pm
by bobobo

Re: Rename MP3s with year of release?

Posted: Fri Jul 01, 2011 2:02 pm
by MachineCode
MusicBrainz looks interesting. It may work if I can parse their web pages. Thanks!

Re: Rename MP3s with year of release?

Posted: Fri Jul 01, 2011 2:20 pm
by bobobo
I guess, Musicbrainz Picard can do what you want

Re: Rename MP3s with year of release?

Posted: Sat Jul 02, 2011 8:54 pm
by kenmo
I was about to send you a link to a MP3 program I wrote in PB years ago, with a pretty big description and a file link, and then I saw in your original post that your files don't have ID3 data 8) whoops.

Re: Rename MP3s with year of release?

Posted: Sun Jul 03, 2011 4:18 am
by MachineCode
MusicBrainz can't do it. Seems like there's a market for this sort of app.

Re: Rename MP3s with year of release?

Posted: Mon Jul 04, 2011 1:49 pm
by bobobo
hmm .. musicbrainz picard DOES part of the work for me

f.i.

i got a video from youtube (browsercache) and extract the music as mp3 (ffmpeg)
(some KateBushStuff)

this mp3 put in the musicbrainz picard , and there doing a a scan (Ctrl-Y) and i got the albumInfo from the
musicbrainz-databases for this mp3.
This scanning takes a kind of fingerprint of the mp3 and checks this with fingerprints in the database and
results in Info if there is info.
A 'FileSave' (CTRL-S) saves this Info as ID3-Tags in the mp3

And then you can continue with Darkdragon's Code

Re: Rename MP3s with year of release?

Posted: Mon Jul 04, 2011 1:57 pm
by bobobo
with a file renaming script in like

Code: Select all

$if2(%albumartist%,%artist%)/%album%/ $left(%date%,4)-$num(%tracknumber%,2) %title%
picard will rename the mp3 already with a leading Release-Year

Re: Rename MP3s with year of release?

Posted: Mon Jul 04, 2011 1:57 pm
by MachineCode
Thanks for that, bobobo. Indeed, it does do PART of the work, but it has many missing matches for me. I've got 1480 songs to fix like this, so it'll help, yes; but I just wish there were a text database of songs somewhere with ID3 data as CSV fields or something. Would make it a whole lot easier and faster. :)

Re: Rename MP3s with year of release?

Posted: Mon Jul 04, 2011 2:01 pm
by bobobo
the picard can deal with more than one mp3 at once..

Re: Rename MP3s with year of release?

Posted: Mon Jul 04, 2011 2:42 pm
by MachineCode
I know, but it still misses many of my songs (no matches), which means I've got to do them manually. Very time-consuming. Each search with Picard takes a while too, about 10 seconds for me, so 10 x 1480 = over 4 hours to process it all.