forked from pool/python-subliminal
- Update to version 2.3.2
Changes: * [BSPlayer] disabled by default because it is slow. Can be enabled with the -pp bsplayer CLI option - Update to version 2.3.0 Changes: * By default, use the latest of creation and modification date to compute the age of the file. Use the CLI option `--no-use-ctime` to use the modification date only, that was the previous behavior. * Make `rarfile` an optional dependency, install with subliminal[rar] * add `subtitles` attribute to Video * Use `knowit` to extract information from video file, instead of `enzyme`: frame rate, duration and subtitles. `knowit` relies on external programs and falls back to using `enzyme` if none is installed. * show "Insufficient data to process the guess" without debug, but with verbose * Add Provider.hash_video staticmethod, to allow creating standalone providers. * Drop python 3.8, support python 3.13. * Remove addic7ed and napiprojekt from the list of disabled providers. Remove the default_providers and default_refiners variables, instead the get_default_providers() and get_default_refiners() functions can be used. * Add a mock provider to fix doctest. * Add release scripts, documentation and Github Actions * Rename optional dependency test -> tests. Improve security of github actions using woodruffw/zizmor. * Use hatch builder and hatch-vcs * Add a Github action to publish the docker images to ghcr.io * Can use `python -m subliminal` * create a prepare_tests.py script to download the tests data beforehand and avoid repeated downloads * CLI option --use-ctime is set to True by default Provider Changes: * Added BSPlayer provider * [OpenSubtitlesCom] Avoid duplicate subtitles * Added Subtitulamos provider CLI Changes: * Add a --subtitle-format CLI option to force converting subtitles to another format * Add CLI `ignore` option for refiners, providers and subtitle ids. * Add a --skip-wrong-fps cli option to completely skip subtitles with FPS different from the video FPS * add CLI options --force-embedded-subtitles and --force-external-subtitles. They are fine-tuned --force options to ignore only embedded or external existing subtitles. They are superseded by --force. * Add a `-n/--name` option to use a replacement name for the video. Sort files alphabetically before scanning a directory. * Add an option to change the style of the language suffix of saved subtitles. Allow adding the language type, hi or forced. * Remove the original-encoding CLI option, pass `--encoding=` for the same effect. * Add cli option to prefer or disfavor hearing impaired * Add a CLI option `--use-absolute-path` that can take the values 'fallback' (default), 'never' or 'always' to choose if the given path is transformed to an absolute path before guessing information from the path. * add a CLI option --logfile to log to file. Level can be specified with --logfile-level, default to DEBUG Deprecations: * Deprecate the `--addic7ed USERNAME PASSWORD`, `--opensubtitles` and `--opensubtitlescom` CLI options in favor of `--provider.addic7ed.username USERNAME`, `--provider.addic7ed.password PASSWORD`, etc... * Add a generic way of passing arguments to the providers using CLI options. * Use environment variables to pass options to the CLI. Misc: * Various functional and documentation fixes. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-subliminal?expand=0&rev=24
This commit is contained in:
@@ -1,3 +1,85 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 9 04:27:21 UTC 2025 - Luigi Baldoni <aloisio@gmx.com>
|
||||
|
||||
- Update to version 2.3.2
|
||||
Changes:
|
||||
* [BSPlayer] disabled by default because it is slow. Can be
|
||||
enabled with the -pp bsplayer CLI option
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 3 13:06:23 UTC 2025 - Luigi Baldoni <aloisio@gmx.com>
|
||||
|
||||
- Update to version 2.3.0
|
||||
Changes:
|
||||
* By default, use the latest of creation and modification date
|
||||
to compute the age of the file. Use the CLI option
|
||||
`--no-use-ctime` to use the modification date only, that was
|
||||
the previous behavior.
|
||||
* Make `rarfile` an optional dependency, install with
|
||||
subliminal[rar]
|
||||
* add `subtitles` attribute to Video
|
||||
* Use `knowit` to extract information from video file, instead
|
||||
of `enzyme`: frame rate, duration and subtitles.
|
||||
`knowit` relies on external programs and falls back to using
|
||||
`enzyme` if none is installed.
|
||||
* show "Insufficient data to process the guess" without debug,
|
||||
but with verbose
|
||||
* Add Provider.hash_video staticmethod, to allow creating
|
||||
standalone providers.
|
||||
* Drop python 3.8, support python 3.13.
|
||||
* Remove addic7ed and napiprojekt from the list of disabled
|
||||
providers. Remove the default_providers and default_refiners
|
||||
variables, instead the get_default_providers() and
|
||||
get_default_refiners() functions can be used.
|
||||
* Add a mock provider to fix doctest.
|
||||
* Add release scripts, documentation and Github Actions
|
||||
* Rename optional dependency test -> tests.
|
||||
Improve security of github actions using woodruffw/zizmor.
|
||||
* Use hatch builder and hatch-vcs
|
||||
* Add a Github action to publish the docker images to ghcr.io
|
||||
* Can use `python -m subliminal`
|
||||
* create a prepare_tests.py script to download the tests data
|
||||
beforehand and avoid repeated downloads
|
||||
* CLI option --use-ctime is set to True by default
|
||||
Provider Changes:
|
||||
* Added BSPlayer provider
|
||||
* [OpenSubtitlesCom] Avoid duplicate subtitles
|
||||
* Added Subtitulamos provider
|
||||
CLI Changes:
|
||||
* Add a --subtitle-format CLI option to force converting
|
||||
subtitles to another format
|
||||
* Add CLI `ignore` option for refiners, providers and subtitle
|
||||
ids.
|
||||
* Add a --skip-wrong-fps cli option to completely skip
|
||||
subtitles with FPS different from the video FPS
|
||||
* add CLI options --force-embedded-subtitles and
|
||||
--force-external-subtitles. They are fine-tuned --force
|
||||
options to ignore only embedded or external existing
|
||||
subtitles. They are superseded by --force.
|
||||
* Add a `-n/--name` option to use a replacement name for the
|
||||
video. Sort files alphabetically before scanning a directory.
|
||||
* Add an option to change the style of the language suffix of
|
||||
saved subtitles. Allow adding the language type, hi or forced.
|
||||
* Remove the original-encoding CLI option, pass `--encoding=`
|
||||
for the same effect.
|
||||
* Add cli option to prefer or disfavor hearing impaired
|
||||
* Add a CLI option `--use-absolute-path` that can take the
|
||||
values 'fallback' (default), 'never' or 'always' to choose if
|
||||
the given path is transformed to an absolute path before
|
||||
guessing information from the path.
|
||||
* add a CLI option --logfile to log to file. Level can be
|
||||
specified with --logfile-level, default to DEBUG
|
||||
Deprecations:
|
||||
* Deprecate the `--addic7ed USERNAME PASSWORD`,
|
||||
`--opensubtitles` and `--opensubtitlescom` CLI options
|
||||
in favor of `--provider.addic7ed.username USERNAME`,
|
||||
`--provider.addic7ed.password PASSWORD`, etc...
|
||||
* Add a generic way of passing arguments to the providers
|
||||
using CLI options.
|
||||
* Use environment variables to pass options to the CLI.
|
||||
Misc:
|
||||
* Various functional and documentation fixes.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 28 06:45:28 UTC 2024 - Luigi Baldoni <aloisio@gmx.com>
|
||||
|
||||
|
Reference in New Issue
Block a user