• Status: Solved
• Priority: Medium
• Security: Public
• Views: 501
• Last Modified:

renaming music files for recording

hello,

i have a music system, that is programmable to copy music files into MP3 folders
the folders are named : CDREC001, CDREC002, CDREC003 ....
the music files are named in each folder Disc1T01.mp3, Disc1T02.mp3, Disc1T03.mp3

when i want to copy these into 1 folder (to put them on an USB stick, for listening in the car), i obviously get files with the same name.
so i am looking for 2 solutions (or more if you think up others) :
1-a batch file that renames all the files from these folders into a different name, say music001 up to music999
2-a system to recognise the mp3 music files, and restore it's name (and player)
i know these exist for mobile phoses, but i did not find a good working solution for PC's

thank you in advance

Nobus
0
nobus
Asked:
• 9
• 4
• 3
• +5
8 Solutions

Commented:
I've tried several tools that would answer your second requirement but they are all bad, show wrong information and cannot find a huge amount of songs. If you want to have the CD information the best it to open them (the original CDs) with a player which downloads CD data (Windows Media Player can do that) and then rip the CD asking the application to set the correct names (again Windows Media Player can do that).

If you decide to go with option one (renaming of the files) I suggest you use Rename Master (http://www.joejoesoft.com/vcms/108/). It is a powerful application for renaming and allows you to rename files in batches. It also has some templates, etc. so it should be an acceptable effort for a one time rename.
0

Author Commented:
TheAvenger (British?) that looks like a good renaming utility -i'll look into it
waiting for more input
0

Commented:
nobus is this something you've programmed or is this something like the native Sharp "Record to USB" feature on their Micro systems?

How it's solved will depend on what conversion has already been used and if the files on the USB have been created from original CDs - if this is the Sharp system though it's going to be an uphill struggle to rename them automatically and even with a manual (or at least semi-automated) solution it will depend a lot on how you are intending to play these back and on which devices as hardware devices may not support metadata in file tags or have severe restrictions on file naming (such as 8.3 format only allowing valid alpha-numeric characters).

So need to know:

- What system is making the files on the USB?
- Have you introduced any programming to the conversion?
- Were the USB files created from original CDs?
- What are you intending to play the files back on?
0

Author Commented:
Masqueraid, i don't know -but i'll ask (it could very well be so), as far as i know, it was Micro  system, but i'm not sure about the brand
no programming, only selected songs for mp3 conversion
SD files created from original CD's
Car and home music CD player,
0

Author Commented:
no one presents a batch file?
0

Commented:
Was waiting to hear if the source was a Sharp machine
0

Author Commented:
i know, but he does  not remember, he gave the system to his daughter
0

Commented:
Then you're going to be pretty much out of luck, without the source you're going to have to identify the files individually as there are no markers to help, either play them to a mobile decive like Shazaam or through a PC app like Tunatic, either way you then will need to manaully rename and/or tag each file.  With the source disks you could at least try using and online tagger and then it's a simple job to rename files based on the tagged metadata.

For anything more than a dozen files doing it by hand is a labor of love.  It would be far simpler to tell them it can't be done - unless you are going to show them how and leave them with it.  No programmatic solution though if we can't trace the original data.
0

Author Commented:
i know that finding the names is difficult, i only asked for the different (or easiest) ways to do it
and i also asked  for a batch file that renames all the files from these folders into a different name, say music001 up to music999
0

Commented:
For me the easiest is just highlight the lot
but for the initial purpose to get them on to your USB, ( which I do with my mp3 player)
You need to go into each folder because as yet you cant copy them out to the one USB drive
folders are named :
CDREC001, ~>Disc1T01.mp3, << open highlight all mp3 rightclick name, now note that the entire name is highlighted, you dont want to change that, so put your curser at the front and add say for example A1 all of them will change to A1Disc1T01.mp3,
CDREC002, Disc1T02.mp3~>, B1 all of them will change to B1Disc1T02.mp3,
CDREC003 .Disc1T03.mp3 ~>C3 all of them will change to C3Disc1T03

mp3 tag
http://www.mp3tag.de/en/
guides
http://www.digitalvertigo.co.uk/forum/index.php?showtopic=28368
http://lifehacker.com/5511473/start-to-finish-guide-to-whipping-your-musics-metadata-into-shape
0

Commented:
Do you already know Ant Renamer???

Ant Renamer is a Lightweight but Powerful Renaming Utility

This fast and handy batch file renaming tool even contains special mp3 functionality. You can easily extract mp3 tag infos and use it to generate new mp3 file names. It's absolutely worth giving it a try...
0

Author Commented:
thanks ModeiT

i'll try ant renamer
Merete, what do you want me to to de with mp3tag?  rename also?

still no batch file suggestions ?? i thought that would be the easiest solution
0

Commented:
Besides these main features Mp3tag offers a variety of other functions and features ranging ranging from batch export of embedded album covers, combining multiple actions into groups that can be applied with a single mouse click.
This may help it is the same principal as suggested above
If it helps
http://forums.mp3tag.de/index.php?showtopic=10966
http://help.mp3tag.de/main_converter.html
0

Author Commented:
ah ok, i was not sure i understood correctly what you posted
0

Commented:
For bulk renaming, I use a free utility:
http://www.bulkrenameutility.co.uk/Download.php

It is a pretty nifty tool with many options such as wild card replaces characters and autonumbering. Has a GUI.

I have worked with this ID Tag finder a long time ago, before I had a good mp3 converter. This takes no name mp3s and extracts the tag, then compiles a filename based on the tag:
http://www.afterdawn.com/guides/archive/convert_mp3_tags_to_filenames.cfm

hth
capt.
0

Commented:
Coming in a bit late here, but if you want a small BAT script that does the sequential numbering rename/copy, here that is.  Adjust the folder names near the top as needed and give a test.  Also, if you have more then 1000 MP3 files then we need to increase the width of the number field appropriately, let me know on that.

@echo off
@setlocal EnableDelayedExpansion

set BaseDir=c:\ee\ee28228047\music
set DestDir=c:\ee\ee28228047\flat

set Count=0

for /F "tokens=*" %%A in ('dir /a-d /b /s "%BaseDir%\*.mp3"') do (
set /a Count+=1
set Padded=00000!Count!
set Padded=!Padded:~-3!
copy /Y "%%~A" "%DestDir%\music!Padded!.mp3" > NUL
)

~bp
0

Commented:
I just noticed your original question header there nobus
renaming music files for recording
If this is the case for recording to CD then using your Multimedia software, if you have Nero or Cyberlink, some others?
The tool where you drop your mp3 tracks on to will automatically list your titles with a number
Try using windows media player
Drop a blank CD in to your rom then it may ask you what you want burn with with what tool.
Select make an audio CD with windows media player
http://www.aclasspc.com.au/tutorials/59-pc-tutorials/125-how-to-burn-and-audio-cd-in-windows-7

And then you said>
when i want to copy these into 1 folder (to put them on an USB stick, for listening in the car), i obviously get files with the same name
0

Author Commented:
billprew - you're not too late, since none of the others answered that part of my question - thank you

Merete, i did not know that  "drop your mp3 tracks on to will automatically list your titles ", i assumed it would leave them as is

What do you want to know about the last part? it's obvious to me if i take the CDRec001 out of several folders and copy them into one - i get an error
--------
"And then you said>
when i want to copy these into 1 folder (to put them on an USB stick, for listening in the car), i obviously get files with the same name "
-------------
but maybe i can better leave tehm as they are
0

Commented:
Hi nobus

Here's my personal observation about MP3 file names for playing in a car.  Not looking for points because I'm not contributing anything other than my opinions.  I have a crappy old car, but if the other contributors would be willing to pass the hat around and buy me a new one, I could see if my opinions change with a fancy new in-car entertainment system ;-)

Filenames matching the artist and song title are only useful to you while driving a car if the screen is large enough and laid out clearly enough for you to glance down and see the details.  You will probably be familiar enough with your songs that you will know what song is playing after the first few seconds of the intro, in which case why do we really need a screen to show what song is playing?

I don't have a fancy CD player fitted to my old car, but it does the job well enough for me with MP3 CDs and, if I chose to, an MP3 player connected to it.  The screen area is small, and all I see is a scrolling tickertape display of the mp3 filename, so what I want to see very quickly when I hit the "next" button and glance down, is a very short name that tells me the next song within the first 5 characters, or else my eyes would be off the road for too long.

In fact, even though I have probably a few hundred MP3s on a CD currently in my car, it has played from beginning to end so many times that I often know what song is coming next before it starts.  If I had 10 albums worth of songs all grouped together by album and alphabetically named, I would probably be familiar enough with most of those albums to remember the play order of the songs.

I'm guessing that you will have a much more modern car than me, and it is likely to have one of those all-in-one large screened entertainment devices with Sat-Nav dominating the centre of the dashboard.  I'm pretty sure that they will be smart enough to read the MP3 tags and display the Album, Year, Artist, and Song Title on the screen regardless of how the MP3 file is named, and that the details will be quickly obtained with a very quick glance down.

If that is the case, then it makes sense to use an MP3 Tagging program that fetches all the tag details over the Internet to supplement or replace missing or wrong tags in the MP3s.

If the screen doesn't display the tags, but is large enough to display long file names containing the artist and song, then it would make sense to use one of those MP3 Tagging programs that uses the existing tags in the MP3s and renames them with the most useful file naming convention to your needs, for example "(Track)# - Artist - Title.mp3".  Remember that this isn't read-only storage like an Audio CD where the tracks can be rearranged to make compilations, this is a proper hard drive or flash memory that stores files in ascending alpha-numeric order by default.  That was the reason Bill Prew's batch file prefixed the files with 000001, 000002, .... 00998, 00999, so that the original order would be maintained.  So any automated file naming you choose if using an MP3 tagger to rename files, you would have to prefix all the file names with numbers like that to maintain the original sort order.

When I first saw the question I began writing a batch file that took the containing folder name and the file name and stuck them together while copying as a new file to another flat folder, eg.
CDREC001_Disc1T01.mp3
CDREC001_Disc1T02.mp3
CDREC001_Disc1T03.mp3
CDREC002_Disc1T01.mp3
CDREC002_Disc1T02.mp3
CDREC002_Disc1T03.mp3
CDREC003_Disc1T01.mp3
CDREC003_Disc1T02.mp3
CDREC003_Disc1T03.mp3
My idea was that once they were all in one folder, and sorted just the way they would have been if you were to walk through all the folders from top to bottom, that it would then be easier to give them useful names with number prefixes.
I gave up because I had forgotten how to grab the last folder name from a full path, and didn't have the time then to keep trying.   Bill Prew is your batch file man.

So, only you will know how useful numeric file names vs song names will be for your MP3 player and in-car device, and there have been quite a few suggestions that should get you what you want.

As I said, this isn't anything intended to help you create new file names, but I know you are always interested in other peoples' feelings about issues.

Bill
0

Commented:
Not to outshine Bill's contribution,
Nobus,
If your car has a supporting CD player  ( new modern type) that will play data discs or mp3 discs
If you so choose to do consider Burning a data CD,
this method keeps your folders and files as is, use a CD-R or CDRW-r
simply just drag each folder on as is and it will play them fine, no need to rename them or change anything.
Watch the amount of space used.
with mp3 cd you can add a lot of files as it uses the yellow book process as opposed to the Red Book standard audio format (used for CD-DA audio CDs).
It acts like a USB drive but on a CD platter.
Because of audio data compression, an MP3 CD does not have to spin all of the time, potentially saving battery power, however, decompressing the audio takes more processor time.
The song is buffered in random-access memory, which also provides protection against skipping.

The number of songs that a disc can hold depends on how the songs are encoded and the length of the songs.
A standard audio CD (74 minutes) can hold about 18 songs,
a 650-MB data CD (equivalent to 74-minute audio CD) containing mid-quality (160-kb/s) audio files can hold approximately 9.5 hours of music or about 138 songs.
The reason I love them too.

ID3 tags stored in MP3 files can be displayed by some players, and some players can search for MP3 files within directories on an MP3 CD.
Meta data holds a key to the naming hierarchy of the mp3 file once your program/ music system, that is programmable to copy music files into MP3 folders, it may have included in the meta data the details of the file directory as well the artist name title  track name date
it may include Publisher/encoded by/
go to the properties of each mp3 in it's folder and look at the details
Now you have another option.
USB is awesome
USB stick has the same procedure copy the folders over as is, the advantage of the USB stick is space, buy a bigger USB disc space 20 gig or more if available
use a bluetooth mp3 player that you put in your cigarette lighter tune your FM station to the mp3 player
like these
I have one with a remote control as well
Actually I have a photo I can show you
remote control for my car stereo and one for the mp3 player.
It holds around 493 tracks , you can see in the display playing track number of 492
so far I have never been able to play it from start to finish

Merete
0

Author Commented:
well it's not for my car (16 years old, and still playing cassetttes)but thank you all for your posts
i'm happy with your input, and tried not to forget one of you all
0

Commented:
Thanks nobus
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Featured Post

• 9
• 4
• 3
• +5
Tackle projects and never again get stuck behind a technical roadblock.