Update indexa.py
This commit is contained in:
1 parent
aa1901859f
commit
a2ae68195b
1 file changed
+3
-2
@@ -84,8 +84,9 @@ def process_mmps_in_folder(folder_path):
|
|||||||
file_name = os.path.basename(destination_path)
|
file_name = os.path.basename(destination_path)
|
||||||
file_name = os.path.splitext(file_name)[0] + ".mmp"
|
file_name = os.path.splitext(file_name)[0] + ".mmp"
|
||||||
output_file_path = os.path.join(folder_path, file_name)
|
output_file_path = os.path.join(folder_path, file_name)
|
||||||
|
QT_DEBUG_PLUGINS=1
|
||||||
comando = f'"C:\\Program Files\\LMMS\\lmms.exe" --dump "{destination_path}" > "{output_file_path}"'
|
QT_QPA_PLATFORM=offscreen
|
||||||
|
comando = f'lmms --dump "{destination_path}" > "{output_file_path}"'
|
||||||
try:
|
try:
|
||||||
subprocess.run(comando, shell=True, check=True)
|
subprocess.run(comando, shell=True, check=True)
|
||||||
print("Comando executado com sucesso!")
|
print("Comando executado com sucesso!")
|
||||||
|
|||||||
Reference in new issue
Block a user