Skip to content

Commit

Permalink
Merge pull request #23 from metalalchemist/outfix/tts
Browse files Browse the repository at this point in the history
Arreglando configuración TTS al guardar
  • Loading branch information
metalalchemist authored Aug 18, 2024
2 parents 99c36c8 + b4ac06b commit 6063dbd
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions VeTube.py
Original file line number Diff line number Diff line change
Expand Up @@ -664,10 +664,11 @@ def guardar(self):
if dlg.ShowModal()==wx.ID_YES: restart.restart_program()
else: dlg.Destroy()
# Targeta de sonido:
salida_actual = lector.find_device_id(dispositivos[config["dispositivo"]-1])
lector.set_device(salida_actual)
# verificar voces:
if config['sistemaTTS'] == "piper": configurar_piper(carpeta_voces)
if config['sistemaTTS'] == "piper":
salida_actual = lector.find_device_id(dispositivos[config["dispositivo"]-1])
lector.set_device(salida_actual)
# verificar voces:
configurar_piper(carpeta_voces)
leer=ajustes.prueba
if self.cf.choice_traducir.GetStringSelection()!="":
for k in translator.LANGUAGES:
Expand Down

0 comments on commit 6063dbd

Please sign in to comment.