Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPO is kapot #1854

Closed
2 of 7 tasks
PhyxionNL opened this issue Oct 21, 2024 · 6 comments
Closed
2 of 7 tasks

NPO is kapot #1854

PhyxionNL opened this issue Oct 21, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@PhyxionNL
Copy link
Contributor

Bug report

Describe the bug

Hij kan geen enkele aflevering meer opstarten, het geeft meteen een foutmelding.

Het lijkt hierop verkeerd te gaan:

20241021 15:32:13 - [INFO    ] - urihandler.py        - 543  - Performing a json POST with '<No Content-Type>' for https://prod.npoplayer.nl/stream-link
20241021 15:32:13 - [ERROR   ] - urihandler.py        - 555  - POST failed with '401 Unauthorized' (0:00:00.059968) for https://prod.npoplayer.nl/stream-link

Via de app en npostart.nl werken de afleveringen nog wel.

To Reproduce

Steps to reproduce the behavior:

  1. Probeer willekeurige aflevering van NPO te openen.

Debuglog

The debug retrospect.log can be found here:
retrospect.debug.log

Screenshots

Additional context or screenshots (if appropriate)

Your Environment

Used Operating system:

  • Android
  • iOS
  • Linux
  • OSX
  • Raspberry-Pi
  • Windows
  • Windows UWP

Used versions:

  • Kodi version: 21.1
  • Retrospect version: laatste
@PhyxionNL PhyxionNL added the bug Something isn't working label Oct 21, 2024
@BrodjagaRatnik
Copy link

Have the same since today, can log in with NPO account on laptop with same login details.

@basrieter
Copy link
Collaborator

Have the same since today, can log in with NPO account on laptop with same login details.

I will have a look at that.

@PhyxionNL
Copy link
Contributor Author

PhyxionNL commented Oct 21, 2024

https://github.com/retrospect-addon/plugin.video.retrospect/blob/master/resources/lib/streams/npostream.py#L71
Is nu:

        token_value = token_json.get_value("jwt")

Daarmee werkt het weer. Misschien is een fallback naar "token" nog handig.

@basrieter
Copy link
Collaborator

Yes, the fix is very simple. Will update asap.

@freddieleeman
Copy link

Can confirm that the fix works. Thnx

@basrieter
Copy link
Collaborator

I pushed an update to the Kodi repo!

@basrieter basrieter pinned this issue Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

4 participants