From cc779af6b96b135dfc45d626d9eace69867a7a57 Mon Sep 17 00:00:00 2001 From: Dario Date: Sun, 13 Oct 2019 16:30:12 +0200 Subject: [PATCH 1/4] Update lib --- ext/adba/aniDBtvDBmaper.py | 3 +++ 1 file changed, 3 insertions(+) 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: From 95aee799707d13227489c9133f18820aa806b2a9 Mon Sep 17 00:00:00 2001 From: Dario Date: Sun, 13 Oct 2019 16:30:45 +0200 Subject: [PATCH 2/4] Update readme --- ext/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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` | - From a139076cd28dfed349793baae993ad70cf4e404d Mon Sep 17 00:00:00 2001 From: Dario Date: Sun, 13 Oct 2019 16:31:06 +0200 Subject: [PATCH 3/4] Update requirements --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From d5b4da728e1a02221b3566dc2dea2b05f9c1a465 Mon Sep 17 00:00:00 2001 From: Dario Date: Sun, 13 Oct 2019 16:36:07 +0200 Subject: [PATCH 4/4] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) 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)) -----