diff --git a/plugin.video.streamz/CHANGELOG.md b/plugin.video.streamz/CHANGELOG.md index ad245465c..9f5705224 100644 --- a/plugin.video.streamz/CHANGELOG.md +++ b/plugin.video.streamz/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## [v1.1.4](https://github.com/add-ons/plugin.video.streamz/tree/v1.1.4) (2024-02-26) + +[Full Changelog](https://github.com/add-ons/plugin.video.streamz/compare/v1.1.3...v1.1.4) + +**Fixed bugs:** + +- Bump API to 15 [\#60](https://github.com/add-ons/plugin.video.streamz/pull/60) ([michaelarnauts](https://github.com/michaelarnauts)) + ## [v1.1.3](https://github.com/add-ons/plugin.video.streamz/tree/v1.1.3) (2023-11-04) [Full Changelog](https://github.com/add-ons/plugin.video.streamz/compare/v1.1.2...v1.1.3) diff --git a/plugin.video.streamz/addon.xml b/plugin.video.streamz/addon.xml index 129c9638b..a25a99e62 100644 --- a/plugin.video.streamz/addon.xml +++ b/plugin.video.streamz/addon.xml @@ -1,5 +1,5 @@ - + @@ -21,7 +21,7 @@ Deze add-on wordt niet ondersteund door Streamz BV, en wordt aangeboden 'as is', zonder enige garantie. De Streamz naam en Streamz logo zijn eigendom van Streamz BV en worden gebruikt in overeenstemming met de 'fair use' regels. all GPL-3.0-only - v1.1.3 (2023-11-04) + v1.1.4 (2024-02-26) - Fix API. https://github.com/add-ons/plugin.video.streamz diff --git a/plugin.video.streamz/resources/lib/streamz/api.py b/plugin.video.streamz/resources/lib/streamz/api.py index d84e8b85d..a417d5e9a 100644 --- a/plugin.video.streamz/resources/lib/streamz/api.py +++ b/plugin.video.streamz/resources/lib/streamz/api.py @@ -102,7 +102,7 @@ def get_storefront_category(self, storefront, category): result = json.loads(response.text) items = [] - for item in result.get('teasers'): + for item in result.get('row', {}).get('teasers', []): if item.get('target', {}).get('type') == CONTENT_TYPE_MOVIE: items.append(self._parse_movie_teaser(item)) diff --git a/plugin.video.streamz/resources/lib/streamz/util.py b/plugin.video.streamz/resources/lib/streamz/util.py index af5f06158..487796191 100644 --- a/plugin.video.streamz/resources/lib/streamz/util.py +++ b/plugin.video.streamz/resources/lib/streamz/util.py @@ -32,8 +32,8 @@ def close(self): # Setup a static session that can be reused for all calls SESSION = requests.Session() SESSION.headers = { - 'User-Agent': 'STREAMZ/14.231023 (be.vmma.streamz; build:18041; Android 23) okhttp/4.11.0', - 'x-app-version': '14', + 'User-Agent': 'STREAMZ/15.231023 (be.vmma.streamz; build:18041; Android 23) okhttp/4.11.0', + 'x-app-version': '15', 'x-persgroep-mobile-app': 'true', 'x-persgroep-os': 'android', 'x-persgroep-os-version': '28',