Change thexem, remove tvrage from xem.

This commit is contained in:
Prinz23 2017-05-17 16:55:59 +01:00 committed by Licensed User
parent 5e0362c289
commit 0dbade4337
4 changed files with 8 additions and 5 deletions

View file

@ -1,4 +1,9 @@
### 0.12.17 (2017-05-15 22:10:00 UTC)
### 0.12.18 (2017-05-15 23:00:00 UTC)
* Change thexem, remove tvrage from xem
### 0.12.17 (2017-05-15 22:10:00 UTC)
* Remove provider ExtraTorrent
* Change thexem tvrage mappings are deprecated, data fetch disabled

View file

@ -103,8 +103,6 @@ indexerConfig[info_src].update(dict(
'showinfo.php?key=%(apikey)s&sid=' % indexerConfig[info_src]['api_params']),
show_url='%sshows/id-' % indexerConfig[info_src]['main_url'],
scene_url='https://sickgear.github.io/sg_tvrage_scene_exceptions/exceptions.txt',
# thexem tvrage mappings are deprecated, disable data fetch
# xem_origin='rage',
defunct=True,
))

View file

@ -289,7 +289,7 @@ def _xem_exceptions_fetcher():
break
if shouldRefresh(xem_list):
for indexer in sickbeard.indexerApi().indexers:
for indexer in [i for i in sickbeard.indexerApi().indexers if 'xem_origin' in sickbeard.indexerApi(i).config]:
logger.log(u'Checking for XEM scene exception updates for %s' % sickbeard.indexerApi(indexer).name)
url = 'http://thexem.de/map/allNames?origin=%s%s&seasonNumbers=1'\

View file

@ -461,7 +461,7 @@ def xem_refresh(indexer_id, indexer, force=False):
indexer_id = int(indexer_id)
indexer = int(indexer)
if indexer_id not in xem_ids_list[indexer]:
if 'xem_origin' not in sickbeard.indexerApi(indexer).config or indexer_id not in xem_ids_list.get(indexer, []):
return
# XEM API URL