Skip to content

Commit

Permalink
fix progress overflow, concurrent jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
KebabLord committed Feb 1, 2024
1 parent 35b6619 commit 89c56c1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "turkanime-cli"
version = "8.2.1"
version = "8.2.2"
description = "Türkanime video oynatıcı ve indirici"
authors = ["Junicchi <[email protected]>"]
readme = "README.md"
Expand Down
5 changes: 3 additions & 2 deletions turkanime_api/cli/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,10 @@ def menu_loop(driver):

# İndirme tablosu yarat ve başlat.
table = Table.grid(expand=False)
with Live(table, refresh_per_second=10):
with Live(table, refresh_per_second=10, vertical_overflow="visible"):
futures = []
with cf.ThreadPoolExecutor() as executor:
paralel = dosya.ayarlar.get("paralel indirme sayisi")
with cf.ThreadPoolExecutor(max_workers=paralel) as executor:
for bolum in bolumler:
futures.append(executor.submit(
indirme_task_cli, bolum, table, dosya))
Expand Down
2 changes: 1 addition & 1 deletion turkanime_api/cli/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import re
import requests
__author__ = "https://github.com/Kebablord/turkanime-indirici"
__version__ = "8.2.1"
__version__ = "8.2.2"
__build__ = "source" # source,exe,pip

def guncel_surum():
Expand Down

0 comments on commit 89c56c1

Please sign in to comment.