From 56844d7fbfc4fde0df74725ba8fd59c631f88b9f Mon Sep 17 00:00:00 2001 From: Bas Rieter Date: Mon, 21 Oct 2024 23:23:55 +0200 Subject: [PATCH 1/2] Fixed: NPO streams (Fixes #1854). --- changelog.txt | 9 ++------- resources/lib/streams/npostream.py | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/changelog.txt b/changelog.txt index 869de737..551da4e0 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,6 +1,6 @@ [B]Retrospect v5.7.19 - Changelog - 2024-10-17[/B] -Updated a number of channels that were broken. +Fixed the NPO channel that broke. [B]Framework related[/B] _None_ @@ -9,9 +9,4 @@ _None_ _None_ [B]Channel related[/B] -* Fixed: SVT category listings broke (Fixes #1843). -* Fixed: TV4 API issues. -* Fixed: RegioGroei Broke. -* Fixed: Vier parsing (Fixes #1846). -* Fixed: TV4 Category listing (Fixes #1844). -* Fixed: UR Play Category listing (Fixes #1847). +* Fixed: NPO streams (Fixes #1854). diff --git a/resources/lib/streams/npostream.py b/resources/lib/streams/npostream.py index 9f3a84da..6333047f 100644 --- a/resources/lib/streams/npostream.py +++ b/resources/lib/streams/npostream.py @@ -68,7 +68,7 @@ def add_mpd_stream_from_npo(url, episode_id: str, item: MediaItem, token = UriHandler.open(f"https://npo.nl/start/api/domain/player-token?productId={episode_id}", no_cache=True) token_json = JsonHelper(token) - token_value = token_json.get_value("token") + token_value = token_json.get_value("jwt") video_headers = {"authorization": token_value} video_data = { From d44fa3a427370be3c4ea30d2cf2ce0e66205a25e Mon Sep 17 00:00:00 2001 From: Bas Rieter Date: Mon, 21 Oct 2024 23:25:53 +0200 Subject: [PATCH 2/2] Version: plugin.video.retrospect-5.7.20. --- .sonarcloud.properties | 2 +- addon.xml | 13 ++++--------- changelog.txt | 2 +- sonar-project.properties | 2 +- 4 files changed, 7 insertions(+), 12 deletions(-) diff --git a/.sonarcloud.properties b/.sonarcloud.properties index 80b2b041..a8e1beb7 100644 --- a/.sonarcloud.properties +++ b/.sonarcloud.properties @@ -3,7 +3,7 @@ sonar.organization=retrospect # This is the name and version displayed in the SonarCloud UI. sonar.projectName=Retrospect -sonar.projectVersion=5.7.19 +sonar.projectVersion=5.7.20 sonar.python.version=3 # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows. diff --git a/addon.xml b/addon.xml index a34368cc..6d5d9cf2 100644 --- a/addon.xml +++ b/addon.xml @@ -1,6 +1,6 @@ @@ -123,9 +123,9 @@ all GPL-3.0-or-later en nl de sv no lt lv fi - [B]Retrospect v5.7.19 - Changelog - 2024-10-17[/B] + [B]Retrospect v5.7.20 - Changelog - 2024-10-21[/B] -Updated a number of channels that were broken. +Fixed the NPO channel that broke. [B]Framework related[/B] _None_ @@ -134,12 +134,7 @@ _None_ _None_ [B]Channel related[/B] -* Fixed: SVT category listings broke (Fixes #1843). -* Fixed: TV4 API issues. -* Fixed: RegioGroei Broke. -* Fixed: Vier parsing (Fixes #1846). -* Fixed: TV4 Category listing (Fixes #1844). -* Fixed: UR Play Category listing (Fixes #1847). +* Fixed: NPO streams (Fixes #1854). diff --git a/changelog.txt b/changelog.txt index 551da4e0..ff706b86 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,4 +1,4 @@ -[B]Retrospect v5.7.19 - Changelog - 2024-10-17[/B] +[B]Retrospect v5.7.20 - Changelog - 2024-10-21[/B] Fixed the NPO channel that broke. diff --git a/sonar-project.properties b/sonar-project.properties index 99685528..9ad3615a 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -3,7 +3,7 @@ sonar.organization=retrospect # This is the name and version displayed in the SonarCloud UI. sonar.projectName=Retrospect -sonar.projectVersion=5.7.19 +sonar.projectVersion=5.7.20 sonar.python.version=3 # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.