Skip to content

Commit

Permalink
Add main news (#1200)
Browse files Browse the repository at this point in the history
* improve docs

* add news for calling python -m subliminal
  • Loading branch information
getzze authored Jan 7, 2025
1 parent 8222f4c commit 59dfab8
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
1 change: 1 addition & 0 deletions changelog.d/1197.change.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Can use `python -m subliminal`
6 changes: 3 additions & 3 deletions docs/user/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ clone your fork locally and install a development version::

$ git clone https://github.com/<my-username>/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 <https://github.com/ratoaq2/knowit`.
For better results, make sure one of its provider is installed, for instance `MediaInfo <https://mediaarea.net/en/MediaInfo>`.
To extract information about the video files, ``subliminal`` uses `knowit <https://github.com/ratoaq2/knowit>`_.
For better results, make sure one of its provider is installed, for instance `MediaInfo <https://mediaarea.net/en/MediaInfo>`_.
6 changes: 6 additions & 0 deletions docs/user/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,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
-------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/subliminal/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
from subliminal.score import ComputeScore


#: Supported archive extensions
#: Supported archive extensions (.rar)
ARCHIVE_EXTENSIONS = ('.rar',)

logger = logging.getLogger(__name__)
Expand Down

0 comments on commit 59dfab8

Please sign in to comment.