I need a simple export script that (basicaly) shows the Foldername and Total Time from all mp3-files within a folder.
Explanation: This export script should be usefull for a list of my audiobook collection. All new audiobooks will be located on an external disc and I'm creating a new csv-file that expands my collection (import in Excel and add to the existing list).
The following script is (nearly) working perfect:
$filename(%_workingdir% Album List.txt,ansi)Folder and Total Length
Folder$char(9)Dauer
$loop(%_parent_directory%,1)%_directory%$char(9)%_total_time%
$loopend()
Vers. 7.1 Created on %_date%
Most of the audiobook-mp3s are located in one folder that is named "author - audiobookname" and the exportscript shows in one line the name of the folder and the total length of the audiobook. Unfortunately some of my audiobooks are organized in subfolders like "cd1", "cd2" and so on. The above script then shows the name of first subfolder instead of the main folder.
May I use other placeholders to get the requested information ? I tried to use %_folderpath%, %_folderpath_rel% and %_directory% but none of them worked.
... and before some asks why I don't use %album% as placeholder for the loop - first I'm cataloging the audiobooks and then I'm doing the tagging so there is no (good) album-tag in the mp3s...
Please help and/or advise to get this (hopefully simple) script running, thanks in advance.
hbforum