Merge branch 'master' into develop

This commit is contained in:
Licensed User 2017-05-17 23:00:59 +01:00
commit 72fb57fa57
4 changed files with 7 additions and 4 deletions

View file

@ -61,6 +61,11 @@
* Remove AlphaReign torrent provider
### 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

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