Skip to content

Commit

Permalink
Removed SubsCenter provider.
Browse files Browse the repository at this point in the history
  • Loading branch information
ofir123 committed Jul 31, 2017
1 parent 4062ba5 commit bb72095
Show file tree
Hide file tree
Showing 22 changed files with 6,577 additions and 11,146 deletions.
5 changes: 0 additions & 5 deletions docs/api/providers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@ Shooter
.. automodule:: subliminal.providers.shooter
:private-members:

SubsCenter
----------
.. automodule:: subliminal.providers.subscenter
:private-members:

TheSubDB
--------
.. automodule:: subliminal.providers.thesubdb
Expand Down
1 change: 0 additions & 1 deletion docs/user/how_it_works.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ subtitles. Current supported providers are:
* OpenSubtitles
* Podnapisi
* Shooter
* SubsCenter
* TheSubDB
* TvSubtitles

Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ def find_version(*file_paths):
'opensubtitles = subliminal.providers.opensubtitles:OpenSubtitlesProvider',
'podnapisi = subliminal.providers.podnapisi:PodnapisiProvider',
'shooter = subliminal.providers.shooter:ShooterProvider',
'subscenter = subliminal.providers.subscenter:SubsCenterProvider',
'thesubdb = subliminal.providers.thesubdb:TheSubDBProvider',
'tvsubtitles = subliminal.providers.tvsubtitles:TVsubtitlesProvider'
],
Expand Down
5 changes: 1 addition & 4 deletions subliminal/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,13 +219,12 @@ def convert(self, value, param, ctx):
@click.option('--legendastv', type=click.STRING, nargs=2, metavar='USERNAME PASSWORD', help='LegendasTV configuration.')
@click.option('--opensubtitles', type=click.STRING, nargs=2, metavar='USERNAME PASSWORD',
help='OpenSubtitles configuration.')
@click.option('--subscenter', type=click.STRING, nargs=2, metavar='USERNAME PASSWORD', help='SubsCenter configuration.')
@click.option('--cache-dir', type=click.Path(writable=True, file_okay=False), default=dirs.user_cache_dir,
show_default=True, expose_value=True, help='Path to the cache directory.')
@click.option('--debug', is_flag=True, help='Print useful information for debugging subliminal and for reporting bugs.')
@click.version_option(__version__)
@click.pass_context
def subliminal(ctx, addic7ed, legendastv, opensubtitles, subscenter, cache_dir, debug):
def subliminal(ctx, addic7ed, legendastv, opensubtitles, cache_dir, debug):
"""Subtitles, faster than your thoughts."""
# create cache directory
try:
Expand Down Expand Up @@ -253,8 +252,6 @@ def subliminal(ctx, addic7ed, legendastv, opensubtitles, subscenter, cache_dir,
ctx.obj['provider_configs']['legendastv'] = {'username': legendastv[0], 'password': legendastv[1]}
if opensubtitles:
ctx.obj['provider_configs']['opensubtitles'] = {'username': opensubtitles[0], 'password': opensubtitles[1]}
if subscenter:
ctx.obj['provider_configs']['subscenter'] = {'username': subscenter[0], 'password': subscenter[1]}


@subliminal.command()
Expand Down
1 change: 0 additions & 1 deletion subliminal/extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ def unregister(self, entry_point):
'opensubtitles = subliminal.providers.opensubtitles:OpenSubtitlesProvider',
'podnapisi = subliminal.providers.podnapisi:PodnapisiProvider',
'shooter = subliminal.providers.shooter:ShooterProvider',
'subscenter = subliminal.providers.subscenter:SubsCenterProvider',
'thesubdb = subliminal.providers.thesubdb:TheSubDBProvider',
'tvsubtitles = subliminal.providers.tvsubtitles:TVsubtitlesProvider'
])
Expand Down
237 changes: 0 additions & 237 deletions subliminal/providers/subscenter.py

This file was deleted.

Loading

0 comments on commit bb72095

Please sign in to comment.