11
0

25 Commits

Author SHA256 Message Date
faeacf1891 Accepting request 1302516 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1302516
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-subliminal?expand=0&rev=8
2025-09-03 19:07:57 +00:00
5faba2b3ef - Update to version 2.4.0
* Use fps match for scoring subtitles
  * Refactor cli.py into folder
  * show all entries from towncrier
  * Fix guessit title str
  * Add a section to README about using --debug

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-subliminal?expand=0&rev=26
2025-09-03 05:05:15 +00:00
c9608749bb Accepting request 1285886 from devel:languages:python
- 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/request/show/1285886
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-subliminal?expand=0&rev=7
2025-06-16 09:57:59 +00:00
1c65e0e1d6 - 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
2025-05-09 04:41:27 +00:00
58a6de7f0c Accepting request 1186349 from devel:languages:python
- Update to version 2.2.1
  * Relax the version bounds on platformdirs to >= 3
  * Show config message only in debug mode in CLI
  * Add example subliminal.toml to docs and various docs fixes
- Update to version 2.2.0
  * Drop python2 support, the supported versions are
    >=3.8,<=3.12.
  * Load CLI options from a configuration file with the
    --config/-c option
  * Change default encoding of downloaded subtitles to 'utf-8'
    (not the original encoding). Use the --original-encoding cli
    option to recover the previous default behavior
  * Add opensubtitlescom provider
  * Add gestdown provider
  * Add tmdb refiner (requires a personal API key)
  * Fix tvsubtitles provider
  * Fix opensubtitles provider
  * Fix napiprojekt provider
  * Fix podnapisi provider to use JSON API
  * Fix addic7ed provider
  * Remove thesubdb provider
  * Remove argenteam provider
  * Remove shooter provider
  * Remove legendastv provider
  * Use pyproject.toml to specify the package configurations.
  * Add pre-commit hook
  * Use ruff to lint and format
  * Use mypy to check types
  * Add type annotations
  * Drop dependencies: pysrt, appdirs, six, pytz
  * Add dependencies:
    + click-option-group>=0.5.6
    + platformdirs>=4.2
    + pysubs2>=1.7
    + srt>=3.5
    + tomli>=2
  * Bump dependency versions:
    + babelfish>=0.6.1
    + chardet>=5.0
    + click>=8.0
    + dogpile.cache>=1.0
    + enzyme>=0.5.0
    + stevedore>=3.0

OBS-URL: https://build.opensuse.org/request/show/1186349
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-subliminal?expand=0&rev=6
2024-07-09 18:05:23 +00:00
1f2a407b91 Accepting request 1183797 from home:alois:branches:devel:languages:python
- Update to version 2.2.1
  * Relax the version bounds on platformdirs to >= 3
  * Show config message only in debug mode in CLI
  * Add example subliminal.toml to docs and various docs fixes

OBS-URL: https://build.opensuse.org/request/show/1183797
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-subliminal?expand=0&rev=22
2024-06-28 07:00:28 +00:00
9ce6cbacda Accepting request 1183581 from home:alois:branches:devel:languages:python
- Update to version 2.2.0
  * Drop python2 support, the supported versions are
    >=3.8,<=3.12.
  * Load CLI options from a configuration file with the
    --config/-c option
  * Change default encoding of downloaded subtitles to 'utf-8'
    (not the original encoding). Use the --original-encoding cli
    option to recover the previous default behavior
  * Add opensubtitlescom provider
  * Add gestdown provider
  * Add tmdb refiner (requires a personal API key)
  * Fix tvsubtitles provider
  * Fix opensubtitles provider
  * Fix napiprojekt provider
  * Fix podnapisi provider to use JSON API
  * Fix addic7ed provider
  * Remove thesubdb provider
  * Remove argenteam provider
  * Remove shooter provider
  * Remove legendastv provider
  * Use pyproject.toml to specify the package configurations.
  * Add pre-commit hook
  * Use ruff to lint and format
  * Use mypy to check types
  * Add type annotations
  * Drop dependencies: pysrt, appdirs, six, pytz
  * Add dependencies:
    + click-option-group>=0.5.6
    + platformdirs>=4.2
    + pysubs2>=1.7
    + srt>=3.5
    + tomli>=2
  * Bump dependency versions:
    + babelfish>=0.6.1
    + chardet>=5.0
    + click>=8.0
    + dogpile.cache>=1.0
    + enzyme>=0.5.0
    + stevedore>=3.0

OBS-URL: https://build.opensuse.org/request/show/1183581
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-subliminal?expand=0&rev=21
2024-06-27 13:58:20 +00:00
9cb84f14f1 Accepting request 965866 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/965866
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-subliminal?expand=0&rev=5
2022-03-30 18:36:02 +00:00
702cf33d2b Accepting request 965865 from home:alois:branches:devel:languages:python
- Build only for default python3 version

OBS-URL: https://build.opensuse.org/request/show/965865
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-subliminal?expand=0&rev=19
2022-03-30 09:44:29 +00:00
c06b31ad80 Accepting request 807158 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/807158
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-subliminal?expand=0&rev=4
2020-05-20 16:44:26 +00:00
563d064e59 Accepting request 807140 from home:pgajdos:python
submit

OBS-URL: https://build.opensuse.org/request/show/807140
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-subliminal?expand=0&rev=17
2020-05-19 08:52:53 +00:00
534ba5e231 Accepting request 799655 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/799655
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-subliminal?expand=0&rev=3
2020-05-03 20:46:35 +00:00
f61b5b8c53 Accepting request 799654 from home:alois:branches:devel:languages:python
- Update to version 2.1.0
  * Improve legendastv provider matches
  * Fix video extensions (.mk3d .ogm .ogv)
  * Use new url to search for titles in legendastv provider
  * Fix stevedore incompatibility
  * Add support to webm video extension
  * Make providers easier to be extended and customized
  * Update podnapisi URL
  * Add support to VIP/Donor accounts in legendastv provider
  * Proper handling titles with year / country in legendastv
    provider
  * Several minor enhancements in legendastv provider
  * Add support for python 3.6, 3.7 and 3.8
  * Drop support for python 3.3 and 3.4
  * Do not discard providers bad zip/rar is downloaded
  * SubsCenter provider removal
  * Fix lxml parsing for Addic7ed provider
  * Support titles with asterics in Addic7ed provider
  * Add support to multi-episode search in Opensubtitles provider
  * Fix multi-episode search in TVSubtitles provider
  * Update to guessit 3
  * Improve archive scanning
  * Add Opensubtitles VIP provider
  * Add country to Movie and Episode
  * Add streaming_service to Video
  * Add info property to Subtitle
  * Do not search for subtitles if all required languages is
    already present
  * Improve TVDB refiner to support series with comma
  * Add alternative_titles to Video and enhance OMDB refiner to
    use alternative_titles
  * Only compute video hashes when required
  * Add apikey to OMDB refiner
  * Fix Subtitle validation when unable to guess encoding
  * Add support to rar in Dockerfile
- Drop python2 support to simplify packaging
- Drop subliminal.1 manpage because it's no longer possible to
  build it

OBS-URL: https://build.opensuse.org/request/show/799654
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-subliminal?expand=0&rev=15
2020-05-02 12:20:39 +00:00
b588277e23 Accepting request 738403 from devel:languages:python
Replace %fdupes -s with plain %fdupes; hardlinks are better.

OBS-URL: https://build.opensuse.org/request/show/738403
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-subliminal?expand=0&rev=2
2019-10-16 07:16:03 +00:00
b7dbe64a62 - Replace %fdupes -s with plain %fdupes; hardlinks are better.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-subliminal?expand=0&rev=13
2019-10-14 14:44:02 +00:00
c8fd949bbe Accepting request 510078 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/510078
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-subliminal?expand=0&rev=1
2017-07-19 09:21:06 +00:00
d050df5825 Accepting request 510077 from home:alois:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/510077
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-subliminal?expand=0&rev=9
2017-07-13 12:33:58 +00:00
4a74847420 Accepting request 510013 from home:alois:branches:devel:languages:python
Converted to single-spec

OBS-URL: https://build.opensuse.org/request/show/510013
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-subliminal?expand=0&rev=8
2017-07-13 11:43:39 +00:00
fff23b2307 Accepting request 446413 from home:alois:branches:devel:languages:python
Added missing requirements.

OBS-URL: https://build.opensuse.org/request/show/446413
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-subliminal?expand=0&rev=7
2016-12-15 14:50:33 +00:00
92f1f550c6 Accepting request 424635 from home:alois:branches:devel:languages:python
Update to 2.0.5

OBS-URL: https://build.opensuse.org/request/show/424635
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-subliminal?expand=0&rev=6
2016-09-03 20:26:24 +00:00
4283c36d82 Accepting request 424610 from home:alois:branches:devel:languages:python
Update to 2.0.4

OBS-URL: https://build.opensuse.org/request/show/424610
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-subliminal?expand=0&rev=5
2016-09-03 16:36:54 +00:00
7c78de3b71 Accepting request 401232 from home:alois:branches:devel:languages:python
Update to version 2.0.3

OBS-URL: https://build.opensuse.org/request/show/401232
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-subliminal?expand=0&rev=4
2016-06-13 21:32:59 +00:00
e7d7cc4d15 Accepting request 391867 from home:alois:branches:devel:languages:python
Last minute change.

OBS-URL: https://build.opensuse.org/request/show/391867
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-subliminal?expand=0&rev=3
2016-04-29 18:25:21 +00:00
24d17c15e5 - add provides/obsoletes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-subliminal?expand=0&rev=2
2016-04-26 22:13:35 +00:00
7c0d8e5f0a Accepting request 391747 from home:alois:branches:devel:languages:python
Updated to 2.0rc1 and renamed.

OBS-URL: https://build.opensuse.org/request/show/391747
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-subliminal?expand=0&rev=1
2016-04-26 22:12:17 +00:00