IPB

Welcome Guest ( Log In | Register )

> Notice!

Please take a minute to check our Frequently Asked Questions. Use Search to reveal possible related topics.

Also make sure you've read the Forum Guidelines before posting in this forum.

 
Reply to this topicStart new topic
> Send tracks to Audacity with an export script.
ryerman
post Jun 7 2016, 03:37
Post #1


Member


Group: Full Members
Posts: 206
Joined: 16-August 09
From: Canada
Member No.: 10731
Mp3tag Version: 2.78



The Mp3tag export feature can be used to create and run scripts using the metadata of the selected tracks.
I call such MTE scripts Export-Tools.

Attached is an Export-Tool which creates a VBS script that causes selected tracks to be imported by Audacity.
The VBS script is executed if the user clicks "Yes" when asked "Display Export file now?" after exporting is complete.
It deletes itself when executed successfully.

Some requirements:
- Windows PowerShell must be installed (it is native to Windows 7 and higher; available by download for Vista and XP)
- Mp3tag must be configured to display a message "at exporting tags"
- "Append data" and "One file per directory" must be unchecked when exporting

Some advantages:
- no Windows command prompts are displayed
- option to open 1 Audacity window containing all tracks, or 1 Audacity window for each track
- avoids reported problems experienced when sending multiple files to Audacity with an Mp3tag tool "for all selected files"

Some details:
An Audacity LOF file is used to import multiple files to a new Audacity window or to create windows for each file. (see http://manual.audacityteam.org/man/lof_files.html)
However, it seems that Audacity does not recognize unicode paths in a LOF file.
Therefore, the LOF file is created containing the short paths (aka DOS or 8.3) of the selected tracks.
The long file name is displayed in Audacity.
Audacity v2.0.2 was used for testing. I guess later versions behave the same, but maybe they don't.
Attached File(s)
Attached File  Export_Tool___Send_Track_s__to_Audacity.mte ( 4.51K ) Number of downloads: 28
 


--------------------
Windows 7 Home Premium, 64 bit, SP1
Go to the top of the page
 
+Quote Post
zerow
post Jun 10 2016, 19:41
Post #2


Member


Group: Full Members
Posts: 392
Joined: 31-January 15
Member No.: 20375
Mp3tag Version: 2.77



QUOTE (ryerman @ Jun 7 2016, 04:37) *
[...]
Attached is an Export-Tool which creates a VBS script that causes selected tracks to be imported by Audacity.
[...]
I have tested it and it seems to be working A-OK, also with those problematic files

And not only you have some coding skill but you are also a telapath: you have read my thought concerning the placement of the LOF file and some kind of it's hiding or automated deletion afterwards

So kudos to you
Go to the top of the page
 
+Quote Post
ryerman
post Jun 11 2016, 02:13
Post #3


Member


Group: Full Members
Posts: 206
Joined: 16-August 09
From: Canada
Member No.: 10731
Mp3tag Version: 2.78



QUOTE (zerow @ Jun 10 2016, 14:41) *
I have tested it and it seems to be working A-OK, also with those problematic files

Thank-you for testing and for making a report here.


--------------------
Windows 7 Home Premium, 64 bit, SP1
Go to the top of the page
 
+Quote Post
zerow
post Jul 25 2016, 21:09
Post #4


Member


Group: Full Members
Posts: 392
Joined: 31-January 15
Member No.: 20375
Mp3tag Version: 2.77



QUOTE (zerow @ Jun 10 2016, 20:41) *
I have tested it and it seems to be working A-OK, also with those problematic files
[...]
placement of the LOF file and some kind of it's hiding or automated deletion afterwards
[...]
The only "issue" with it is this: after using that export script, the "Export file name" [in the Export window] changes to
$getEnv(TEMP)\Send_To_Audacity.txt
for all of the other scripts. So it's a minimal tradeoff [because I had it set to something like M:\Music\list.txt]

Nothing to complaint about; I'm just noticing the change

This post has been edited by zerow: Jul 25 2016, 22:55
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 31st July 2016 - 01:35