You cannot force iTunes to use the folder and file names when importing. It used the ID3 tags inside the MP3 files.
You need to use an ID3 editor to place the details inside the MP3 files before you import into iTunes. I haven't used one in a very long time. You could try googling for one.
Or you could edit the details inside iTunes after you import. iTunes will normally change the file name to be based on these tags.
Hi, you either need to use a third party tagging program to populate the ID3 tags or you could try my script TagFromFilename, though it would need a little tweak as it is expecting to find tracks in
<Artist>\<Album>\## <Track Name> layout.
Until I got into writing iTunes scripts I found MediaMonkey quite useful. It has the ability to update tags based on parts of the filename & path and can sometimes fetch additional information from the web. The downside is that it takes quite a bit of effort to get iTunes to acknowledge the updated details.
See also Audiobooks on iPods for tips on organising audiobooks for use with iTunes & iPod.
Thanks a lot! I will surely look into your scripts after finishing downloading.
2. And yes, I did use MediaMonkey, during last years..unfortunately I instructed it to only save filename is the format Dxx Tyy, without other informations, like album, artist, etc.
What is exactly ID3 and why it is important?
Thanks again and merry Xmas
ID3 is a standard that allows metadata (data about data) to be stored as part of the media file. The data is the music or audio content, the metadata is all the other infomration about it such as, track name, number, artist, album, date recorded etc... Applications such as iTunes read the ID3 tag in order to categorise the tracks. If there is no tag then generally all you get is a title. ID3 is specific to mp3 but other media formats often support a similar tagging scheme while the wav format, for example, doesn't support tagging at all.
Unfortunately the default import options of iTunes let it reorganize music according to the data it derives from the tag. Since it only fills in the track name from the filename it may throw away other useful data from the path if given half a chance.
D01 T01 (=file-name) track01 (=title)
D01 T02 track 02
D02 T01 track 01
D02 T02 track 02
D06 T01 track 01
Why? Because now itunes does NOT show my sorting (based on file-names).
Instead iTunes shows something like:
In other words: by losing my encoding structure (based on file name) I have 4 (if my personal development compilation comprises of 4 CD) or even more mp3 audio-files with the SAME name!
Which of your scripts or external software can recover the file-name sorting which I so much enjoyed before joining the Apple iTunes bandwagon?
Thanks a lot!
First do you have the original files in their original folders? If iTunes has already swallowed them up and rearranged them there's not much I can suggest. Regular music would be susceptible to MusicBrainz Picard Tagger but that is unlikely to be the case in this instance. If you still have them in their original folder layout stored outside the iTunes Media folder then turn off *Copy to iTunes Media folder when adding to library* (Edit > Preferences > Advanced) so that iTunes points to the original files rather than copies it creates based on the partial information. It's proably also wise to turn off *Keep the iTunes Media folder organised* until you are cetain that iTunes has enough information to move all your files to sensible places when it tries to organise them.
Can I confirm that each album is in a folder of the form *<Artist|Author> - <Album Title|Book Title>* and each file is in the form *D## T## <Title>.<ext>* ? If so then using the pattern *<Artist> - <Album>\D<Disc#> T<Track#> <Title>* with MediaMonkey's Auto-Tag From Filename feature should work. After updating the tags you'd either need to remove & reimport the tracks or use my UpdateTagInfo script. Alternatively I could create a special version of the TagFromFilename script to do both jobs in one...
Yes I have the original MP3 in the original location on my Hard disk (I run Win 7 x64). I DO NOT have some of the original CDs, from which I encoded the MP3... I have given CDs to friends or returned to libraries.
By the way, my understanding is that either iTunes import full copies of my MP3 into the directory c:\iTunes (which I defined earlier) or "point" to the original location...nobody never alerted me that iTunes can "modify" the original files in their original location...this is scary. How can iTunes do that? Under which settings? Please can you elaborate? Thanks for alerting me...
I now reply to your questions:
- Unfortunately NO, I did use MediaMoneky for all my encoding (from CD to MP3), but I neglected to store those tags (Author, Album)...if I could post a jpg or an attachment it would be very clear...(I do not know if it is possible to post).
Anyway media monkey shows the following fields (I am looking at an audio books made of 6 CDs):
The audio books came in a box with 6 CDs.
I ripped them using MM Gold, into MP3
Whenever a CD disc was completely ripped I simply inserted the next one (say the 6th CD) and instructed Media Monkey to encode it with my usual coding: D06 T0x.mp3
if the 6th CD had 10 tracks, then MM would end up with
D06 T01.mp3 ...D06 T10.mp3
Unfortunately the tracks were all reset from zero! So D06 T01.mp3 has a track tag = 1 exactly like D05 T01.mp3 and like D01 T01.mp3
I would have MM to be smarter and not reset the track number...in this case I would have:
D06 T01.mp3 (file name) and Track 56 (instead of track 01)
D06 T10.mp3 (file name) and Track 65 (instead of track 10)
Apple iTune would have read the Track number and everything would be sorted fine.
I would have been capable to listen track 55 and follow it with the next track 56...
Now I only have track 01 to track 10, repeated n-times (n= number of CD = 6 in this particular audio book). So when I click on Track 01 i DO NOT know whether it comes from CD01 or from CD02 or ...from CD 06
This is a big issue now...
Thanks and waiting for your suggestions
Can you show me the full path to one of the original files? Your first postgave an example folder name of "Brian Tracy - Psychology of Selling" so I'd expect to see the full path looking like:
C:\<Some Path>\<Artist> - <Album>\D## T##.<ext>
I've just tested my suggestion for MediaMonkey's Auto-Tag from filename and it seems it is not clever enough to implement the pattern matching string I suggested earlier.
I should be able to modify my script for you so that Artist and Album can be extracted from the folder name, then set the track title to the Album title followed by the file name, e.g. *Psychology of Selling D01 T01,* which will ensure that the tracks sort properly on different iTunes devices and also set the disc & track numbers.
I'll try to get this posted up later on tonight.
OK, it's done. Download TagFromFilenameCustom.vbs to your computer.
Make sure that you have disabled the advanced preference to *Copy to iTunes Media folder when adding to library*.
Make a backup copy of your original audiobooks folder.
Add the folder of audiobooks into iTunes.
Select one or two of the newly added tracks and run the script. Select No on the first prompt so you can see what it will do with each file. If you are happy, run the script again, this time selecting Yes so it can make the changes on those selected files. If that works properly select a whole book and run the script on it. Repeat until done.
My email is simone<at>eagleway<dot>com
Will you be so kind to explain how to use your scripts?
If you can email to me, I will reply with screenshots (I cannot attach any screenshots here, it seems to me...)
I tried the following 3 actions (see below) and the result is always:
Error: invalid procedure call or argument: "Mid"
Source: Microsoft VBScript runtime error
I imported a folder called
Arch Lustberg - How to sell Yourself - MP3
Which included 37 trackes
track 01 (originally D01 T01.mp3)
track 01 (probably D02 T01.mp3)
track 02 (probably D01 T02.mp3)
and so on
Then I highlihted the whole directory (which in iTunes showed as "Unknown album" and "unknown artist")
Then I launched your script
<Email Edited by Host>