Skip to content

Commit

Permalink
changed thexem.de to thexem.info
Browse files Browse the repository at this point in the history
  • Loading branch information
abuhamsa committed Jun 5, 2024
1 parent f8c7406 commit 519e7e4
Show file tree
Hide file tree
Showing 12 changed files with 21 additions and 21 deletions.
4 changes: 2 additions & 2 deletions dredd/api-description.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1368,7 +1368,7 @@ definitions:
type: array
description:
Array of objects with a mapping of indexer numbering to scene numbering. Available through the detailed query param.
Mappings are pulled from TheXem.de.
Mappings are pulled from thexem.info.
items:
$ref: '#/definitions/episodeMapping'
sceneAbsoluteNumbering:
Expand All @@ -1390,7 +1390,7 @@ definitions:
type: array
description:
Array of manually configured episode mappings of absolute to scene absolute numbering.
Mappings are pulled from TheXem.de.
Mappings are pulled from thexem.info.
items:
type: object
properties:
Expand Down
2 changes: 1 addition & 1 deletion medusa/scene_exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ def _get_custom_exceptions(force):

def _get_xem_exceptions(force):
xem_exceptions = defaultdict(dict)
url = 'http://thexem.de/map/allNames'
url = 'http://thexem.info/map/allNames'
params = {
'origin': None,
'seasonNumbers': 1,
Expand Down
4 changes: 2 additions & 2 deletions medusa/scene_numbering.py
Original file line number Diff line number Diff line change
Expand Up @@ -564,14 +564,14 @@ def xem_refresh(series_obj, force=False):
logger.log(u'{0} is an unsupported indexer in XEM'.format(indexerApi(indexer_id).name), logger.DEBUG)
return
# XEM MAP URL
url = 'http://thexem.de/map/havemap?origin={0}'.format(indexerApi(indexer_id).config['xem_origin'])
url = 'http://thexem.info/map/havemap?origin={0}'.format(indexerApi(indexer_id).config['xem_origin'])
parsed_json = safe_session.get_json(url)
if not parsed_json or 'result' not in parsed_json or 'success' not in parsed_json['result'] or 'data' not in parsed_json or str(series_id) not in parsed_json['data']:
logger.log(u'No XEM data for show ID {0} on {1}'.format(series_id, series_obj.indexer_name), logger.DEBUG)
return

# XEM API URL
url = 'http://thexem.de/map/all?id={0}&origin={1}&destination=scene'.format(series_id, indexerApi(indexer_id).config['xem_origin'])
url = 'http://thexem.info/map/all?id={0}&origin={1}&destination=scene'.format(series_id, indexerApi(indexer_id).config['xem_origin'])
parsed_json = safe_session.get_json(url)
if not parsed_json or 'result' not in parsed_json or 'success' not in parsed_json['result']:
logger.log(u'No XEM data for show ID {0} on {1}'.format(indexer_id, series_obj.indexer_name), logger.DEBUG)
Expand Down
2 changes: 1 addition & 1 deletion medusa/tv/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -1964,7 +1964,7 @@ def add_scene_numbering(self):
# should go by scene numbering or indexer numbering. Warn the user.
if not self.scene and get_xem_numbering_for_show(self):
log.warning(
'{id}: while adding the show {title} we noticed thexem.de has an episode mapping available'
'{id}: while adding the show {title} we noticed thexem.info has an episode mapping available'
'\nyou might want to consider enabling the scene option for this show.',
{'id': self.series_id, 'title': self.name}
)
Expand Down
2 changes: 1 addition & 1 deletion themes-default/slim/src/components/display-show.vue
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,7 @@ export default {
}
}
// Scene numbering downloaded from thexem.de.
// Scene numbering downloaded from thexem.info.
if (xemNumbering.length !== 0) {
const mapped = xemNumbering.filter(x => {
return x.source.season === episode.season && x.source.episode === episode.episode;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
<div
v-if="!exception.custom"
class="external-scene-exception"
v-tooltip.right="'This exception has been automatically added through an automated process sourcing title aliases from medusa github repo, thexem.de or anidb.info'"
v-tooltip.right="'This exception has been automatically added through an automated process sourcing title aliases from medusa github repo, thexem.info or anidb.info'"
>
<div class="align-center">
<img src="images/ico/favicon-16.png" width="16" height="16" alt="search" title="This exception has been automatically added through an automated process sourcing title aliases from medusa github repo, thexem.de or anidb.info">
<img src="images/ico/favicon-16.png" width="16" height="16" alt="search" title="This exception has been automatically added through an automated process sourcing title aliases from medusa github repo, thexem.info or anidb.info">
</div>
</div>
<div v-else class="input-group-btn" @click="removeException(exception)">
Expand Down
2 changes: 1 addition & 1 deletion themes-default/slim/src/components/manage-searches.vue
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export default {
}, {
id: 'xem',
name: 'XEM',
url: 'http://thexem.de',
url: 'http://thexem.info',
lastRefresh: ''
}, {
id: 'anidb',
Expand Down
2 changes: 1 addition & 1 deletion themes-default/slim/src/components/show-header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
<img alt="[trakt]" height="16" width="16" src="images/trakt.png">
</app-link>

<app-link v-if="show.xemNumbering && show.xemNumbering.length > 0" :href="`http://thexem.de/search?q=${show.title}`" :title="`http://thexem.de/search?q=${show.title}`">
<app-link v-if="show.xemNumbering && show.xemNumbering.length > 0" :href="`http://thexem.info/search?q=${show.title}`" :title="`http://thexem.info/search?q=${show.title}`">
<img alt="[xem]" height="16" width="16" src="images/xem.png" style="margin-top: -1px; vertical-align:middle;">
</app-link>

Expand Down
8 changes: 4 additions & 4 deletions themes/dark/assets/js/medusa-runtime.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/dark/assets/js/medusa-runtime.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions themes/light/assets/js/medusa-runtime.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/light/assets/js/medusa-runtime.js.map

Large diffs are not rendered by default.

0 comments on commit 519e7e4

Please sign in to comment.