diff --git a/dev_requirements.txt b/dev_requirements.txt index b3ce858..6fb0f74 100644 --- a/dev_requirements.txt +++ b/dev_requirements.txt @@ -1,3 +1,3 @@ -pytest==8.2.2 -pytest-cov==5.0.0 -ruff==0.5.1 +pytest==8.3.3 +pytest-cov==6.0.0 +ruff==0.7.3 diff --git a/dvrprocess/comtune.py b/dvrprocess/comtune.py index ee699bd..46cebdd 100755 --- a/dvrprocess/comtune.py +++ b/dvrprocess/comtune.py @@ -546,6 +546,7 @@ def setup_gad(process_pool: Pool, thread_pool: ThreadPoolExecutor, files, workdi logger.info("Not considering %s because it's not from DVR", file_path) else: logger.info("Not considering %s because it has %d episodes", file_path, episode_count) + # TODO: don't consider if there are media errors above the threshold input_dirs.add(os.path.dirname(file_path)) if len(dvr_infos) < TUNE_SHOW_MIN_VIDEO_COUNT: @@ -655,6 +656,7 @@ def setup_gad(process_pool: Pool, thread_pool: ThreadPoolExecutor, files, workdi tuning_progress = progress.progress(f"{input_dirs.pop()} tuning", 0, num_generations + 1) + # TODO: use logic from smart-comcut to identify files outside of accepted parameters, count the occurrences, and remove files from considered that reach a threshold. There is likely something wrong with the video causing an issue. def f(gad: pygad.GA, solution, solution_idx): write_ini_from_solution(comskip_fitness_ini_path, genes, solution) logger.debug(f"Calculating fitness for {solution_repl(genes, solution)}") diff --git a/requirements.txt b/requirements.txt index f9aa417..b5a0e0d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,15 +1,15 @@ ass-parser==1.0 pysrt==1.1.2 -plexapi==4.15.15 -psutil==5.9.8 +plexapi==4.15.16 +psutil==6.1.0 requests==2.32.3 pygad==3.3.1 # vosk==0.3.45 doesn't install correctly vosk==0.3.44 -websockets==12.0 +websockets==14.0 IMDbPY==2022.7.9 thefuzz[speedup]==0.19.0 -Levenshtein==0.25.1 +Levenshtein==0.26.1 num2words==0.5.13 language-tool-python==2.8.1 # 2024-09-23 python 3.12 removed 'distutils', some packages use it, this installs it: