From b05a95588efb07f8b877172366af00fb00c9e440 Mon Sep 17 00:00:00 2001 From: getzze Date: Tue, 7 Jan 2025 22:06:30 +0000 Subject: [PATCH 1/3] improve docs --- src/subliminal/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/subliminal/core.py b/src/subliminal/core.py index c464b9cc..f9acc86e 100644 --- a/src/subliminal/core.py +++ b/src/subliminal/core.py @@ -37,7 +37,7 @@ from subliminal.score import ComputeScore -#: Supported archive extensions +#: Supported archive extensions (.rar) ARCHIVE_EXTENSIONS = ('.rar',) logger = logging.getLogger(__name__) From 39d0f4e88fc6258a48a546f28f2036163d65c509 Mon Sep 17 00:00:00 2001 From: getzze Date: Tue, 7 Jan 2025 22:06:46 +0000 Subject: [PATCH 2/3] improve docs --- docs/user/installation.rst | 6 +++--- docs/user/usage.rst | 6 ++++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/docs/user/installation.rst b/docs/user/installation.rst index c1cf836e..330f4aaf 100644 --- a/docs/user/installation.rst +++ b/docs/user/installation.rst @@ -21,10 +21,10 @@ clone your fork locally and install a development version:: $ git clone https://github.com//subliminal $ cd subliminal - $ pip install --user -e '.[dev,test,docs]' + $ pip install --user -e '.[dev,tests,docs]' External dependencies --------------------- -To extract information about the video files, `subliminal` uses `knowit `. +To extract information about the video files, ``subliminal`` uses `knowit `_. +For better results, make sure one of its provider is installed, for instance `MediaInfo `_. diff --git a/docs/user/usage.rst b/docs/user/usage.rst index 53ac1f03..710912cc 100644 --- a/docs/user/usage.rst +++ b/docs/user/usage.rst @@ -87,6 +87,12 @@ Example of a ``subliminal.toml`` file: See :ref:`cli` for more details on the available commands and options. +.. note:: + + The subliminal module can also be called from the command line:: + + $ python -m subliminal download -h + Nautilus/Nemo integration ------------------------- From f98f7fd6ba7758d3869a73bc0bf82a6ed32a2c5f Mon Sep 17 00:00:00 2001 From: getzze Date: Tue, 7 Jan 2025 22:07:53 +0000 Subject: [PATCH 3/3] add news for calling python -m subliminal --- changelog.d/1197.change.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/1197.change.rst diff --git a/changelog.d/1197.change.rst b/changelog.d/1197.change.rst new file mode 100644 index 00000000..e28909e7 --- /dev/null +++ b/changelog.d/1197.change.rst @@ -0,0 +1 @@ +Can use `python -m subliminal`