» Welcome Guest
[ Log In :: Register ]

 

[ Track this topic :: Email this topic :: Print this topic ]

Topic: Error Msg when tagging track #s< Next Oldest | Next Newest >
Peter Cashmore
Unregistered





Posted: Dec. 17 2002,07:47

I have a "1001 best..." compilation that has filenames formated with a 4 digit number, Artist, Title separated with hyphens; 1234-Artist-Title.mp3
When I try to automatically create tags with <TrackNr> - <Artist> - <Title>, I get an error message
"Parsed out TrackNr had illegal format for file:   ..."
Any sugestions ?

Thanks Peter
Back to top
Disposable Hero
Old Board Geezer



Group: Super Moderators
Posts: 188
Joined: Aug. 2002
Posted: Dec. 17 2002,09:15

I assume you are using the "Auto tag (from filenames)" tab. If so, you should select the "Advanced mode" checkbox, then remove the  spaces from the "Expected file name format" field. It would then look like:
<TrackNr>-<Artist>-<Title>

The key word being "Expected". You're trying to use the field to let the parser know exactly how the files are currently named.
Back to top
Profile PM 
Peter Cashmore
Unregistered





Posted: Dec. 17 2002,15:48

:idea:  :idea:  :idea:  :idea:  :idea: Thanks Disposable Hero,
Worked like a charm. I'm not sure that I understand how it changed the process but now that I have found this amazing program, I'll be sure to read & hopefully understand all the help files.
Thanks for the fast solution, you have definately made my day!

Peter
Back to top
Magnus Brading
Almighty Author



Group: Super Administrators
Posts: 2751
Joined: Aug. 2002
Posted: Dec. 17 2002,16:37

Peter, I'll try to explain what the difference was between those two templates:

You tried to apply the following template:

"<TrackNr> - <Artist> - <Title>"

on the following filename:

1234-Artist-Title.mp3


What you are actually doing with this, is telling the program to look for the separator " - ", and then copy everything before it to the track number field (and the same for the rest of the fields). But there are no separator " - " in the entire filename, only "-" (no spaces), and hence the program ends up trying to put the entire filename into the TrackNr field. Since the TrackNr field only accepts numbers, this is obviously an incorrect input, and that is exactly what the program tells you with that error message.


Finally, you don't even have to go into advanced mode to modify that template to work. Simply change the string in the textbox labelled "Field separator sequence" from " - " to "-". Advanced mode is only necessary when there are different separators between different fields (e.g. if the filename would be "1234_artist-title.mp3").

I hope things are at least a bit clearer now.

--------------
Software author and website owner
Back to top
Profile PM WEB 
3 replies since Dec. 17 2002,07:47 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]