Hello, I am trying to make a python script that automatically batch exports X number of selections in Audacity. This has been working perfectly for a very long time, with my code viewable here:
MartinBarker/vinyl2digital: Batch render an Audacity audio track into an entire album of mp3 files using a Discogs URL for metadata tagging. (github.com)
But after updating to 3.4.2, I am always getting a mod-script-pipe error:
C:\Users\marti\Documents\projects\vinyl2digital>python vinyl2digital\__init__.py
pipe-test.py, running on windows
-- Both pipes exist. Good.
Traceback (most recent call last):
File "C:\Users\marti\Documents\projects\vinyl2digital\vinyl2digital\__init__.py", line 31, in <module>
TOFILE = open(TONAME, 'w')
^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '\\\\.\\pipe\\ToSrvPipe'
C:\Users\marti\Documents\projects\vinyl2digital>
pointing out this line “TOFILE = open(TONAME, ‘w’)”, which is line 31 here:
vinyl2digital/vinyl2digital/init.py at master · MartinBarker/vinyl2digital (github.com)
is there a new or different way to connect using mod-script-pipe?