You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bazarr/custom_libs/subliminal_patch/providers/shooter.py

18 lines
575 B

6 years ago
# coding=utf-8
5 years ago
from __future__ import absolute_import
6 years ago
from subliminal.providers.shooter import ShooterProvider as _ShooterProvider, ShooterSubtitle as _ShooterSubtitle
from subliminal.video import Episode, Movie
6 years ago
class ShooterSubtitle(_ShooterSubtitle):
def __init__(self, language, hash, download_link):
super(ShooterSubtitle, self).__init__(language, hash, download_link)
self.release_info = hash
self.page_link = download_link
class ShooterProvider(_ShooterProvider):
subtitle_class = ShooterSubtitle
video_types = (Episode, Movie)