From b32ec25236f0a235c2bd8f2bade116f69fe1d33e Mon Sep 17 00:00:00 2001 From: lex copiloto Date: Thu, 7 Sep 2023 19:52:01 -0700 Subject: [PATCH] =?UTF-8?q?versi=C3=B3n=20para=20soportar=20el=20nuevo=20c?= =?UTF-8?q?onsent=20de=20YT?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VeTube.py | 7 ++----- locales/en/LC_MESSAGES/VeTube.mo | Bin 21319 -> 21797 bytes requirements.txt | 2 +- update/updater.py | 2 +- updater.json | 2 +- 5 files changed, 5 insertions(+), 8 deletions(-) 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 6b3b5ee6d10d9f39112b244e82f28a3bd46d268b..8b7ea46965c1fdb73bf54d91bc4b9459016785e4 100644 GIT binary patch delta 8704 zcmbW54SZGQeaD|D?oiLF@IlP+lcI(5VKv`Z!3ww= zj)Y%FIPO0ICBV~gF8ndn0l$UPv=n=5-8^^}TnM%PQdp4h zcGEZ;eh%_u9^#jLc@&O=A3`k{&SY6+JjAM|49VS5r^*2KcJ_@Dzt5EyA z3FpE0rec3BoHi};c{P;JRzhw3$55JG4OwHZhiAZp5UZN+!!zN_aeo*ApaZ7EYFG&u z!)7SUTnm|M?t_cqlhd)kH2Do5WU|pjih`*cDkhqtf@}xW_%0~P_dfo*LVz{qBLneL$O2dDTIff8kO1}b1!<|qXeF19TgAkd` z523Q-pW!)hB!MFhm&1+lLbwY4Ih4g-hy0k2_;m*?Oev4@`avku{UYwa3#G|4)K0(# zC{wy{3A_g~#r#vu-$PkyriI&JC6r(Vh)(7kP=Y@O&x0?*E0q7^aP%%dd=V=8-+>b3 zw@{WD#x9E9Nl==VL1}&tOv4t~36DUzu8d!E;7UkIF*cOxFOU2Cpj>_cj!^!8i-t^c z1ggS44|Tw&P(GZFgD-{)Au^d8q2?ck((G9%*Srg5fytaMMM@z?F*Q&z&=h~)5py>j z#rftcHQ+v|pt})j!L3l~bT|9}9)lMAAyq{O|4Yn~gti2#gv6bxhZfukTjABP2|f?y zf^s5Q^J-yX3ym!_WZJu+O!i33=iuY?UxyOtF4UAM4?&sm5vUD+1d+|W164=H5jfNy zvkK~E2cXjayYsQXqVflP5Pt@>;8$=J9D8PzE=_PD{Q|6khoOS+6==ba zA!nPJ49eu|pvF7lR(L%e34aQu;A>FleNcn_N6;9J{xJm_+VIwxhoKI93Z4pIf->2gP#gYR%>RHA^d!up*f|x- zg43Z~QUx`?0cu_|RIu-W3eHPlVHk}R4VkVBPJmZKNqi$z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_+#Y>jj9xJ#{ylrjXOOp+ zR)84iPwiRsX_ogmJ3`^&IWD;!A52AKt_)@ZT73WV`I^Wooiro)*a<3RiO?r6`4@b_ z1lL$}#(l^5t$RE3rprm^SPQz8>d|kj$0V``++cGrtf75c%DlpNokllUc*ionF`JOy96x{HkT>dT}+FA)4mx0tGaV!FxoT6 zEh47Ve`VkLQ)7lbjeo(WKvkqjp{_!RRA*t{`i=WbCkLM@{`vc@5>puTXy5d&-amhm zY4z{gzibEf1`9ubt*{0K>p<|AQS_*(IxxB(@^(hM5Ob?1>kRn+-Z<~Xn5k;?=bzoe zwmmKgZm^dW)|hcO#$S(_o?v;PYb^CFaZxIdUoXZNjUuBN!l0O{a1uqISN^Q_Dd&fO z+Nq5GdW!yXnfQ4{mp}fw?Xqp0TlhF_at8G!P^pg)yOOkU`rY8G%|Fnwe7bgqp?Er# x^snyNP)sI5f7&^V{}*N42TlM0 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