Skip to content

Commit

Permalink
versions bump
Browse files Browse the repository at this point in the history
  • Loading branch information
double16 committed Nov 11, 2024
1 parent f908c92 commit 1c5a769
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
6 changes: 3 additions & 3 deletions dev_requirements.txt
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions dvrprocess/comtune.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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)}")
Expand Down
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit 1c5a769

Please sign in to comment.