Printable Version of Topic
-Brading Software Message Board +--Forum: Mp3/Tag Studio Support and Bug Reports +---Topic: How to create absolute filename/path from list? started by eriji Posted by: eriji on Jan. 10 2008,19:35 I am using a list to add tags to files. The list has enough information to create the path to the files, which are stored in a structure: \SoundCollection\CD01\Track01.mp3 \SoundCollection\CD02\Track02.mp3 So the folder SoundCollection has the folders CD01,CD02,etc which have files named Track01.mp3, etc. I want to use a file.txt in the \SoundCollection folder to rename all the files. The text file is the format: CD01;(TrackNr);(Index);(Title);(Time);(ShortTitle) I use a string like this: <Target file-1[E:\!SoundFX\SoundCollection\|]>;<Target file-2[\Track|.mp3]>;<TRASH>;<Title>;<Comment-1[|:]>-<Comment-2[|]>;<V2_TIT3> BUT it seems to not recognize the files. I have the program starting in the \SoundCollection\ folder, or in the E:\ folder and neither seem to work. It says too many list entries for files and aborts. Is this something I can do or do I need to split the text file into chunks for each CD? Posted by: Magnus Brading on Jan. 16 2008,20:10 Please post a couple of sample rows from your input file, and I'll take a look. Posted by: eriji on Jan. 17 2008,08:19 Here is part of the file: ---------------------CODE SAMPLE------------------- CD01;01;1;AUSTRALIA, AIRPORT AUSTRALIA- INTERNATIONAL AIRPORT- DEPARTURE LOBBY, MEDIUM CROWD, BOARDING CALLS AMBIENCE, FOREIGN;3-00;AUSTRALIA, AIRPORT CD01;02;1;AUSTRALIA, JUNGLE AUSTRALIA- FITZROY ISLAND TROPICAL FOREST- EVENING AMBIENCE- HEAVY INSECTS, FROGS, WIND THROUGH TREES, FOREIGN;3-00;AUSTRALIA, JUNGLE CD01;03;1;AUSTRALIA, JUNGLE AUSTRALIA- JUNGLE FOREST, MOUNTAIN INTERIOR- EARLY MORNING AMBIENCE- BIRDS, INSECTS, GROUND MOVEMENT, FOREIGN;3-10;AUSTRALIA, JUNGLE C . . . CD02;01;1;BRAZIL, MARKET BRAZIL- OUTDOOR MARKET- HEAVY CROWD, TRAFFIC AMBIENCE, FOREIGN;3-00;BRAZIL, MARKET CD02;02;1;BRAZIL, MARKET BRAZIL- BUSY MEAT MARKET- VOICES, SOME YELLING, DISTANT TRAFFIC AMBIENCE, FOREIGN;3-00;BRAZIL, MARKET CD02;03;1;BRAZIL, POLICE STATION BRAZIL- POLICE STATION- CONSTANT TYPING, DISTANT VOICES, HEAVY AIR CONDITIONER HUM AMBIENCE, FOREIGN;3-00;BRAZIL, POLICE STATION CD02;04;1;BRAZIL, POLICE STATION BRAZIL- POLICE STATION- CONSTANT MALE AND FEMALE VOICES, RADIO CHATTER AMBIENCE, FOREIGN;3-00;BRAZIL, POLICE STATION CD02;05;1;BRAZIL, RESTAURANT BRAZIL- MEDIUM CROWD, CLOSE VOICES, DISHES AMBIENCE, FOREIGN;3-00;BRAZIL, RESTAURANT CD02;06;1;BRAZIL, RESTAURANT BRAZIL- LARGE CROWD, VOICES, DISHES, LIGHT TRAFFIC AMBIENCE, FOREIGN;3-00;BRAZIL, RESTAURANT . . . etc. ---------------------CODE SAMPLE------------------- The directory structure is: \SoundCollection\CD01\Track01.mp3 \SoundCollection\CD02\Track02.mp3 and Track01.mp3 etc is how the tracks are named now. I have one text file in the SoundCollection folder which has lines as above for each of the CD/tracks. I want to feed TS the single text file, and have it go out and add the tags to the files. (and then I will rename in another step based on the ShortTitle (last field in the text file). The text file is of the format: The text file is the format: CD01;(TrackNr);(Index);(Title);(Time);(ShortTitle) And the string that I came up with was: <Target file-1[E:\!SoundFX\SoundCollection\|]>;<Target file-2[\Track|.mp3]>;<TRASH>;<Title>;<Comment-1[|:]>-<Comment-2[|]>;<V2_TIT3> and I want to ultimately end up with (consistent with the examples above) the tags set for Title, V2-Title3, Comment, and then rename the files (in another step?) to be: : \SoundCollection\CD01\01-01 - AUSTRALIA, AIRPORT.mp3 \SoundCollection\CD02\02-01 - BRAZIL, MARKET.mp3 If this doesn't make sense, ask and I'll explain as necessary. Thanks! --eric Posted by: Magnus Brading on Feb. 09 2008,21:36 Sorry for the late reply. First of all, you should be using the field <Target file AP> (which means "Absolute Path"), and not <Target file> (which will only look in the current directory for files). Ironically, there does also actually seem to be some kind of bug that still treats the "<Target file AP>" field as a common "<Target file>" in this particular case, and I have noted it for further investigation and fixing in a future update. Thanks for the report! end |