View Single Post
Old 10-20-2020, 01:07 PM   #28
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,257
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Attachment 182895
Quote:
Originally Posted by kovidgoyal View Post
Hmm that's a rather large list. Will look into it, can you post your cleaned up plugin.
See attached zip.

The 'big black box' is the tts_typelib.py file. The other 2 files referencing win32xxx are utils.py and other_dlgs.py.

I believe its possible that
Code:
from win32process import CreateProcess
from win32process import STARTUPINFO
can now use subprocess instead now we're at python3? CreateProcess was only ever used as an alternative because some of the commandline mp3-tagging args for lame.exe (e.g. Author and Title) could have non-ascii values. I'm looking at this at the moment.

Also, the last 2 lines of the original list are all integer constants so I suppose I could just hard-code their values??? I don't know if they are subject to change over time.

Last edited by jackie_w; 10-20-2020 at 10:50 PM. Reason: zip removed. See next post, #29, for updated list and zip
jackie_w is offline   Reply With Quote