Diaoul / subliminal

Subtitles, faster than your thoughts
http://subliminal.readthedocs.org
MIT License
2.42k stars 312 forks source link

Add CLI and config file options to ignore refiner, provider and subtitle ids #1160

Closed getzze closed 2 months ago

getzze commented 4 months ago

fixes #585, #752, #1018

This PR adds some CLI options:

These can also be defined in the configuration file, so it's important to make sure the CLI options always takes precedence over the config file. This logic is implemented (and tested) in merge_extend_and_ignore_unions.

(I followed the naming of ruff, select-extend-ignore :))

github-actions[bot] commented 4 months ago

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  subliminal
  core.py 323, 651-657
  extensions.py
  utils.py
Project Total  

This report was generated by python-coverage-comment-action