hubsif/kodi-magentasport

No video works anymore

Closed this issue · 13 comments

MRLB commented

Unfortunately no video works anymore. Is it possible to check it?

Please have a look at #38, which has recently been opened. I'll merge and create new releases soon.

MRLB commented

There is also a change in the authorization :-(

#38 helps for free streams. But payed streams seem to require a different handling now.

I don’t use this plugin. I have an own for enigma2 boxes. There now playback works again with this change.
As already written to MRLB it might be that also the heartbeat URL is not working anymore. I don’t use the heartbeat URL. It’s not necessary to call it.

If you want to take a look at my code:
https://github.com/E2OpenPlugins/e2openplugin-TelekomSport/blob/master/plugin/plugin.py#L886

Hi!
Unfortunetaly, I don't have a paid account anymore (perhaps someone can share theirs for testing? 😬 🤐), so I'm actually not able to test this :-( .
If it's related to the heartbeat url, I think the log might reveal more. Can someone please share?

Here is a log:

kodi.log.zip

  1. I started a video without pay option
  2. I started a video with pay option

The version I am using is v2.1.2-beta Kodi 19 (Python 3) (with the patch of #38).

If that does not help, I can share credentials (via Email) for a test.

Most likely the heartbeat URL:
https://github.com/hubsif/kodi-magentasport/blob/master/default.py#L89

Please try to comment out lines 257-266 (https://github.com/hubsif/kodi-magentasport/blob/master/default.py#L257-L266)
Just put a # in front of the lines
As said calling the heartbeat URL is not necessary.

Please try to comment out lines 257-266 (https://github.com/hubsif/kodi-magentasport/blob/master/default.py#L257-L266)
Just put a # in front of the lines
As said calling the heartbeat URL is not necessary.

Yes, that worked (at least for a non live event)! Thanks!

MRLB commented

and also for live events :-) Thank you 👍

Hmm, it would make sense to close this issue only when the patch is also part of the repository.

MRLB commented

you are right

Hi!
So, I just created a release with the heartbeat query removed. It might have been required when I first added it, or I wanted the plugin to behave as close as possible like the app does to avoid conflicts. Please test.

I can confirm, the latest beta version (for Kodi 19) works again! Thanks!
🎉 🎉 🎉