Skip to content

Commit

Permalink
Merge branch '1862-empty-folders-in-npo-plus-items'
Browse files Browse the repository at this point in the history
  • Loading branch information
basrieter committed Oct 26, 2024
2 parents 457e6e3 + 0389a45 commit b6aebbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ _None_
[B]Channel related[/B]
* Fixed: TV4 Recent.
* Fixed: NPO streams (Fixes #1854).
* Fixed: NPO Plus content not showing (Fixes #1862).
2 changes: 1 addition & 1 deletion channels/channel.nos/nos2010/chn_nos2010.py
Original file line number Diff line number Diff line change
Expand Up @@ -1307,7 +1307,7 @@ def __has_premium(self) -> bool:

data = UriHandler.open("https://npo.nl/start/api/auth/session")
json = JsonHelper(data)
subscriptions = json.get_value("subscription", fallback=None)
subscriptions = json.get_value("hasSubscription", fallback=None)
self.__has_premium_cache = subscriptions is not None
Logger.debug("Found subscriptions: %s", subscriptions)

Expand Down

0 comments on commit b6aebbb

Please sign in to comment.