![]() ![]() |
Feb 7 2008, 16:01
Post
#1
|
|
|
Member Group: Members Posts: 2 Joined: 7-February 08 Member No.: 6434 Mp3tag Version: 2.39 |
Nevermind. I was able to achieve the results I needed by specifying %_directory% in the "Export File Name:" dialog box.
Just a quick question on exporting. I have hundreds of directorys that I need to gather info on but I would like one file per directory containing only what is in that directory and I would like to name each text file the same as the directory name. Here is what I'm using right now and it creates one text file with all the info I need. But as I said I would like individual text files for each directory. %_directory% $loop(%_path%)%track%|%title% $loopend() Thanks in advance. Michael This post has been edited by Captainmac: Feb 7 2008, 19:58 |
|
|
|
Feb 7 2008, 21:31
Post
#2
|
|
![]() Moderator Group: Moderators Posts: 5506 Joined: 4-September 03 From: Germany Member No.: 201 Mp3tag Version: 2.55a |
Just to add this, you can also define the filename in the config:
$filename(%_folderpath%%_directory%.txt,ansi)%_directory% $loop(%_path%)%track%|%title% $loopend() -------------------- |
|
|
|
Feb 7 2008, 22:14
Post
#3
|
|
|
Member Group: Members Posts: 2 Joined: 7-February 08 Member No.: 6434 Mp3tag Version: 2.39 |
Just to add this, you can also define the filename in the config: $filename(%_folderpath%%_directory%.txt,ansi)%_directory% $loop(%_path%)%track%|%title% $loopend() This works, thanks. However, when I have the %filename command inserted it adds an extra line of space at the top of the file. I checked my config file and I didn't have any stray returns anywhere so I'm not sure why I'm getting the extra line. Also, in some outputs the track listing is not sorted. Some times is comes out as: 1|track_1 10_track_10 2|track_2 But other times it sorts correctly as: 1|track_1 2|track_2 ... 10|track_10 Any ideas on why it would do this? Below is my script. $filename(%_folderpath%%_directory%.txt,UTF-8)%_directory% $loop(%_path%)%track%|%title% $loopend() Thanks Michael This post has been edited by Captainmac: Feb 7 2008, 22:21 |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 23rd May 2013 - 06:22 |