|
|
|
@ -591,7 +591,7 @@ def scan_videos(path, age=None, archives=True):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def refine(video, episode_refiners=None, movie_refiners=None, **kwargs):
|
|
|
|
|
"""Refine a video using :ref:`refiners`.
|
|
|
|
|
r"""Refine a video using :ref:`refiners`.
|
|
|
|
|
|
|
|
|
|
.. note::
|
|
|
|
|
|
|
|
|
@ -619,7 +619,7 @@ def refine(video, episode_refiners=None, movie_refiners=None, **kwargs):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def list_subtitles(videos, languages, pool_class=ProviderPool, **kwargs):
|
|
|
|
|
"""List subtitles.
|
|
|
|
|
r"""List subtitles.
|
|
|
|
|
|
|
|
|
|
The `videos` must pass the `languages` check of :func:`check_video`.
|
|
|
|
|
|
|
|
|
@ -660,7 +660,7 @@ def list_subtitles(videos, languages, pool_class=ProviderPool, **kwargs):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def download_subtitles(subtitles, pool_class=ProviderPool, **kwargs):
|
|
|
|
|
"""Download :attr:`~subliminal.subtitle.Subtitle.content` of `subtitles`.
|
|
|
|
|
r"""Download :attr:`~subliminal.subtitle.Subtitle.content` of `subtitles`.
|
|
|
|
|
|
|
|
|
|
:param subtitles: subtitles to download.
|
|
|
|
|
:type subtitles: list of :class:`~subliminal.subtitle.Subtitle`
|
|
|
|
@ -677,7 +677,7 @@ def download_subtitles(subtitles, pool_class=ProviderPool, **kwargs):
|
|
|
|
|
|
|
|
|
|
def download_best_subtitles(videos, languages, min_score=0, hearing_impaired=False, only_one=False, compute_score=None,
|
|
|
|
|
pool_class=ProviderPool, **kwargs):
|
|
|
|
|
"""List and download the best matching subtitles.
|
|
|
|
|
r"""List and download the best matching subtitles.
|
|
|
|
|
|
|
|
|
|
The `videos` must pass the `languages` and `undefined` (`only_one`) checks of :func:`check_video`.
|
|
|
|
|
|
|
|
|
|