Skip to content

Commit 7af553f

Browse files
authored
Merge pull request #4682 from basrieter/retrospect-matrix
[plugin.video.retrospect] v5.7.28
2 parents 92d81d1 + 58196a2 commit 7af553f

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

plugin.video.retrospect/addon.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
22
<addon id="plugin.video.retrospect"
3-
version="5.7.27"
3+
version="5.7.28"
44
name="Retrospect"
55
provider-name="Bas Rieter">
66

@@ -133,9 +133,9 @@
133133
<platform>all</platform>
134134
<license>GPL-3.0-or-later</license>
135135
<language>en nl de sv no lt lv fi</language>
136-
<news>[B]Retrospect v5.7.27 - Changelog - 2025-06-20[/B]
136+
<news>[B]Retrospect v5.7.28 - Changelog - 2025-07-05[/B]
137137

138-
Minor fix for the NPO channel.
138+
More fixes for the NPO channel.
139139

140140
[B]Framework related[/B]
141141
_None_
@@ -144,7 +144,7 @@ _None_
144144
_None_
145145

146146
[B]Channel related[/B]
147-
* Fixed: NPO broken (Fixes #1904).
147+
* Fixed: NPO broken again (See #1904).
148148

149149
</news>
150150
<assets>

plugin.video.retrospect/channels/channel.nos/nos2010/chn_nos2010.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ def add_item(language_id: int, url: str, content_type: str,
413413
description="Profile van de npostart.nl website.")
414414

415415
add_item(LanguageHelper.Trending,
416-
"https://npo.nl/start/api/domain/recommendation-collection?partyId=1&collectionId=trending-anonymous-v0",
416+
"https://npo.nl/start/api/domain/recommendation-collection?partyId=1&collectionId=trending-anonymous-v0&layoutType=RECOMMENDATION",
417417
content_type=contenttype.TVSHOWS, parser="collection-with-series")
418418

419419
add_item(LanguageHelper.LatestNews,
@@ -429,7 +429,7 @@ def add_item(language_id: int, url: str, content_type: str,
429429
# content_type=contenttype.TVSHOWS)
430430

431431
add_item(LanguageHelper.TvShows,
432-
"https://npo.nl/start/api/domain/page-layout?layoutId=programmas",
432+
"https://npo.nl/start/api/domain/page-layout?layoutId=programmas&layoutType=PAGE",
433433
content_type=contenttype.TVSHOWS)
434434

435435
live_radio = add_item(
@@ -535,6 +535,7 @@ def switch_profile(self, data: Union[str, JsonHelper]) -> Tuple[Union[str, JsonH
535535
f"partyId=1&"
536536
f"profileGuid={profile_id}&"
537537
# f"subscriptionType=free"
538+
f"layoutType=RECOMMENDATION"
538539
)
539540

540541
data = UriHandler.open(profile_content_url)
@@ -560,6 +561,7 @@ def create_profile_content_item(self, result_set: Dict[str, str]) -> Union[Media
560561
# f"partyId=1%3Alp08hirt%3A2c8e90d7048a467babf108e0146ad52d&"
561562
f"profileGuid={profile_id}&"
562563
# f"subscriptionType=free"
564+
f"layoutType=RECOMMENDATION"
563565
)
564566
title_key = folder_key.rsplit("-", 2)[0]
565567
title_id = self.__collection_names.get(title_key, None)
@@ -651,7 +653,7 @@ def create_api_page_layout(self, result_set: dict) -> Optional[MediaItem]:
651653
else:
652654
guid = result_set["collectionId"]
653655
page_type = result_set["type"]
654-
url = f"https://npo.nl/start/api/domain/page-collection?type={page_type.lower()}&collectionId={guid}&partyId=1"
656+
url = f"https://npo.nl/start/api/domain/page-collection?type={page_type.lower()}&collectionId={guid}&partyId=1&layoutType=PAGE"
655657

656658
info = UriHandler.open(url)
657659
info = JsonHelper(info)

0 commit comments

Comments
 (0)