diff --git a/VeTube.py b/VeTube.py index 2178ca7..82d9f7b 100644 --- a/VeTube.py +++ b/VeTube.py @@ -570,7 +570,7 @@ def detenerLectura(self, event): self.handler_keyboard.unregister_all_keys() def guardarLista(self, event): if self.list_box_1.GetCount()>0: - dlg_mensaje = wx.FileDialog(self.dialog_mensaje, _("Guardar lista de mensajes"), "", info_dict.get('title'), "*.txt", wx.FD_SAVE | wx.FD_OVERWRITE_PROMPT) + dlg_mensaje = wx.FileDialog(self.dialog_mensaje, _("Guardar lista de mensajes"), "", self.chat.unique_id if isinstance(self.chat,TikTokLiveClient) else self.chat.title, "*.txt", wx.FD_SAVE | wx.FD_OVERWRITE_PROMPT) if dlg_mensaje.ShowModal() == wx.ID_OK: with open(dlg_mensaje.GetPath(), "w") as archivo: for escribe in range(self.list_box_1.GetCount()): archivo.write(self.list_box_1.GetString(escribe)+ "\n") @@ -642,10 +642,7 @@ def historialItemsTeclas(self, event): leer.silence() leer.speak(self.list_box_1.GetString(self.list_box_1.GetSelection())) def iniciarChat(self): - global info_dict - try: - if not isinstance(self.chat, TikTokLiveClient): self.label_dialog.SetLabel(self.chat.title) - except: pass + if not isinstance(self.chat, TikTokLiveClient): self.label_dialog.SetLabel(self.chat.title) self.handler_keyboard.register_keys(eval(mis_teclas)) if 'yout' in self.text_ctrl_1.GetValue(): self.recibirYT() elif 'twitch' in self.text_ctrl_1.GetValue(): self.recibirTwich() diff --git a/locales/en/LC_MESSAGES/VeTube.mo b/locales/en/LC_MESSAGES/VeTube.mo index 6b3b5ee..8b7ea46 100644 Binary files a/locales/en/LC_MESSAGES/VeTube.mo and b/locales/en/LC_MESSAGES/VeTube.mo differ diff --git a/requirements.txt b/requirements.txt index 8d39933..242273f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ wxPython -playsound==1.2.2 +git+https://github.com/t1nky/playsound TikTokLive pyperclip chat_downloader diff --git a/update/updater.py b/update/updater.py index 0f117c5..ce71b80 100644 --- a/update/updater.py +++ b/update/updater.py @@ -8,6 +8,6 @@ logger = logging.getLogger("updater") Lector=auto.Auto() def do_update(endpoint='https://raw.githubusercontent.com/metalalchemist/VeTube/master/updater.json'): - try: result = update.perform_update(endpoint=endpoint, current_version="2.7", app_name="VeTube", update_available_callback=available_update_dialog, progress_callback=progress_callback, update_complete_callback=update_finished) + try: result = update.perform_update(endpoint=endpoint, current_version="2.71", app_name="VeTube", update_available_callback=available_update_dialog, progress_callback=progress_callback, update_complete_callback=update_finished) except: Lector.speak(_("Hubo un error al actualizar VeTube.")) return result diff --git a/updater.json b/updater.json index d870d27..0535f22 100644 --- a/updater.json +++ b/updater.json @@ -1 +1 @@ -{"current_version": "2.7", "description": "soporte a tiktok. mas info en changelog", "downloads": {"Windows32": "https://github.com/metalalchemist/VeTube/releases/download/v2.7/VeTube-x86.zip", "Windows64": "https://github.com/metalalchemist/VeTube/releases/download/v2.7/VeTube-x64.zip"} } \ No newline at end of file +{"current_version": "2.71", "description": "soporte a tiktok. mas info en changelog", "downloads": {"Windows32": "https://github.com/metalalchemist/VeTube/releases/download/v2.7/VeTube-x86.zip", "Windows64": "https://github.com/metalalchemist/VeTube/releases/download/v2.7/VeTube-x64.zip"} } \ No newline at end of file