diff --git a/CHANGELOG.md b/CHANGELOG.md index 57bce85390..45dba195ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ - Fixed provider beyond-hd due to layout changes ([#7250](https://github.com/pymedusa/Medusa/pull/7250)) - Fixed provider bj-share due to layout changes ([#7250](https://github.com/pymedusa/Medusa/pull/7250)) - Fixed provider btdb due date format change in layout ([#7250](https://github.com/pymedusa/Medusa/pull/7250)) +- Fixed exception when there is no anime XML ([#7256](https://github.com/pymedusa/Medusa/pull/7256)) ----- diff --git a/ext/adba/aniDBtvDBmaper.py b/ext/adba/aniDBtvDBmaper.py index bad1d51b57..92b92f01b5 100644 --- a/ext/adba/aniDBtvDBmaper.py +++ b/ext/adba/aniDBtvDBmaper.py @@ -31,6 +31,9 @@ def get_anidb_for_tvdb(self, tvdb_id): def _get_x_for_y(self, xValue, x, y): # print("searching "+x+" with the value "+str(xValue)+" and want to give back "+y) + if not self.xmlMap: + return 0 + x_value = str(xValue) for anime in self.xmlMap.findall("anime"): try: diff --git a/ext/readme.md b/ext/readme.md index 1a56790a3f..4133ccfc73 100644 --- a/ext/readme.md +++ b/ext/readme.md @@ -1,7 +1,7 @@ ## ext Folder | Package | Version / Commit | Usage | Notes :----: | :-----: | :--------------: | :---- | :---- -ext | `adba` | pymedusa/[112c04b](https://github.com/pymedusa/adba/tree/112c04b50d318802b4a0c7924f8e26aaf9e60a5b) | **`medusa`** | - +ext | `adba` | pymedusa/[6efeff3](https://github.com/pymedusa/adba/tree/6efeff3a6bdcb6d45a4a79f424939ade2930e5f0) | **`medusa`** | - ext | appdirs.py | [1.4.3](https://pypi.org/project/appdirs/1.4.3/) | `simpleanidb`, `subliminal` (cli only) | - ext | `attrs` | [18.2.0](https://pypi.org/project/attrs/18.2.0/) | `imdbpie` | Module: `attr` ext | `babelfish` | [f403000](https://github.com/Diaoul/babelfish/tree/f403000dd63092cfaaae80be9f309fd85c7f20c9) | **`medusa`**, `guessit`, `knowit`, `subliminal` | - diff --git a/requirements.txt b/requirements.txt index 6028a24063..c5988f3fa3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -adba @ https://codeload.github.com/pymedusa/adba/tar.gz/112c04b50d318802b4a0c7924f8e26aaf9e60a5b#egg=adba +adba @ https://codeload.github.com/pymedusa/adba/tar.gz/6efeff3a6bdcb6d45a4a79f424939ade2930e5f0#egg=adba babelfish @ https://codeload.github.com/Diaoul/babelfish/tar.gz/f403000dd63092cfaaae80be9f309fd85c7f20c9#egg=babelfish beautifulsoup4==4.7.1 bencode.py==2.1.0