Skip to content

Commit

Permalink
versión para soportar el nuevo consent de YT
Browse files Browse the repository at this point in the history
  • Loading branch information
metalalchemist committed Sep 8, 2023
1 parent fda362f commit b32ec25
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
7 changes: 2 additions & 5 deletions VeTube.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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()
Expand Down
Binary file modified locales/en/LC_MESSAGES/VeTube.mo
Binary file not shown.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
wxPython
playsound==1.2.2
git+https://github.com/t1nky/playsound
TikTokLive
pyperclip
chat_downloader
Expand Down
2 changes: 1 addition & 1 deletion update/updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion updater.json
Original file line number Diff line number Diff line change
@@ -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"} }
{"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"} }

0 comments on commit b32ec25

Please sign in to comment.