Skip to content

Commit

Permalink
Merge pull request #51 from Thisal-D/v2.1.4-patch-final
Browse files Browse the repository at this point in the history
v2.1.4-patch-final
  • Loading branch information
Thisal-D authored Dec 10, 2024
2 parents e5d365d + a105a60 commit 5549aa3
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

   [![Download PyTube Downloader](https://img.shields.io/sourceforge/dm/pytube-downloader.svg)](https://sourceforge.net/projects/pytube-downloader/files/latest/download) [![Download PyTube Downloader](https://img.shields.io/sourceforge/dw/pytube-downloader.svg)](https://sourceforge.net/projects/pytube-downloader/files/latest/download) [![Download PyTube Downloader](https://img.shields.io/sourceforge/dt/pytube-downloader.svg)](https://sourceforge.net/projects/pytube-downloader/files/latest/download)

   `v2.1.3` [Visit to Download .exe for Windows](https://sourceforge.net/p/pytube-downloader)
   `v2.1.4` [Visit to Download .exe for Windows](https://sourceforge.net/p/pytube-downloader)

---

Expand Down
2 changes: 1 addition & 1 deletion README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

   [![Download PyTube Downloader](https://img.shields.io/sourceforge/dm/pytube-downloader.svg)](https://sourceforge.net/projects/pytube-downloader/files/latest/download) [![Download PyTube Downloader](https://img.shields.io/sourceforge/dw/pytube-downloader.svg)](https://sourceforge.net/projects/pytube-downloader/files/latest/download) [![Download PyTube Downloader](https://img.shields.io/sourceforge/dt/pytube-downloader.svg)](https://sourceforge.net/projects/pytube-downloader/files/latest/download)

   `v2.1.3` [下载适用于 Windows 的 .exe](https://sourceforge.net/p/pytube-downloader)
   `v2.1.4` [下载适用于 Windows 的 .exe](https://sourceforge.net/p/pytube-downloader)

---

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION = '2.1.3'
VERSION = '2.1.4'
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -1575,4 +1575,4 @@ def run_accessibility_check(self):
"""
self.update_check_thread = threading.Thread(target=self.check_accessibility, daemon=True)
self.update_check_thread.start()


2 changes: 1 addition & 1 deletion data/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"contributors": {},
"name": "PyTube Downloader",
"site": "https://github.com/Thisal-D/PyTube-Downloader",
"version": "2.1.3"
"version": "2.1.4"
}
3 changes: 1 addition & 2 deletions widgets/play_list/downloaded_play_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ def __init__(
playlist_video_count=playlist_video_count,
)

# threading.Thread(target=self.display_downloaded_widgets, daemon=True).start()
self.display_downloaded_widgets()

def display_downloaded_widgets(self):
Expand Down Expand Up @@ -113,4 +112,4 @@ def kill(self):
video.kill()

super().kill()


5 changes: 2 additions & 3 deletions widgets/play_list/downloading_play_list.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import customtkinter as ctk
import threading
from typing import List, Literal, Union, Callable
from widgets.play_list import PlayList
from widgets.video.downloading_video import DownloadingVideo
Expand Down Expand Up @@ -62,7 +61,7 @@ def __init__(

self.channel_btn.configure(state="normal")
self.indicate_waiting()
threading.Thread(target=self.download_videos, daemon=True).start()
self.download_videos()

def download_videos(self):
for added_video in self.added_videos:
Expand Down Expand Up @@ -414,4 +413,4 @@ def kill(self):
video.kill()

super().kill()


0 comments on commit 5549aa3

Please sign in to comment.