stipx / plugin.video.laola1free

Laola1.tv Kodi Addon (free user only)
GNU General Public License v2.0
2 stars 0 forks source link

no live streams anymore #10

Open Flexmaen opened 4 years ago

Flexmaen commented 4 years ago

At the moment Laola-TV is transmitting games from the 2nd Austrian league. Kodi is showing zero live streams.

Something must have changed there within the last months, I noticed that the Kodi addon 1.1.8 did not work like expected anymore in some cases.

stipx commented 4 years ago

Without log it is pretty hard to reproduce. Please provide a debug log (can be enabled in the settings). Also always check what the website (with the appropriate language and location settings) shows.

Flexmaen commented 4 years ago

Thank you for your quick reply. I'll try to chek this during the next live stream in a few days and will report here.

Flexmaen commented 4 years ago

I think the structure of website has changed.

Until March 2020 you could find the latest videos at: https://www.laola1.tv/de-at/block/fussball-oesterreichische-2-liga-neueste-videos

Now they are at https://www.laola1.at/de/ott/de-at/playerpage/159620

...which is also the place where the live streams can be found. But I didn't find any way to get to these videos from the Kodi addon.

stipx commented 4 years ago

So basically the videos were moved from laola1.tv to laola1.at which makes the whole thing much more complicated as only laola1.tv is currently part of the plugin.

Flexmaen commented 4 years ago

Yes. :-(

There currently is a live game that can be found at https://www.laola1.at/de/ott/de-at/playerpage/160846/ only.

It can also be found if you search at https://www.laola1.tv/de-at/search/klagenfurt for example. That search retrieves outdated videos from laola.tv but also shows videos from laola.at (where the 1st search result is the current live video, that will be linked with a wrong link...).

stipx commented 4 years ago

This means this is not really a bug of the plugin, but needs enhancement to also support laola1.at streams. Might take a while and/or somebody who is willing to contribute.

Flexmaen commented 4 years ago

There is a new problem now: The Laola-Plugin completely fails to work. I don't know if this is just a problem in Austria or not, so I post it here

In the log file I get this error message (followed by the HTML source of the Laola-webpage):

2020-09-13 00:53:33.246 T:7632  NOTICE: Starting addon with ['plugin://plugin.video.laola1free/', '1', '', 'resume:false']
2020-09-13 00:53:33.246 T:7632  NOTICE: Python version: 2.7.13
2020-09-13 00:53:33.820 T:7632   ERROR: Failed to extract channels from url "http://www.laola1.tv/de-at/" - html: <!DOCTYPE doctype html> ...

If I change the country from Austria to Germany in the settings, I also get:

2020-09-13 00:59:30.247 T:796  NOTICE: Starting addon with ['plugin://plugin.video.laola1free/', '2', '', 'resume:false']
2020-09-13 00:59:30.247 T:796  NOTICE: Python version: 2.7.13
2020-09-13 00:59:31.808 T:796   ERROR: Failed to extract channels from url "http://www.laola1.tv/de-de/" - html: <!DOCTYPE html>...

So it seems that this fails anyway, but I have no German VPN to test if this happens there too.

Flexmaen commented 3 years ago

I tested with a German VPN now and the result seems to be similar. So, does the plugin work at all now? Seems that laola1.tv does not exist anymore except for Austria.

stipx commented 3 years ago

It seems that laola1.tv does not exist anymore at all. They switched everything to laola1.at (https://www.laola1.at/de/ott/de-at/page/video-home etc) which means that huge portions of the plugin need to be rewritten.

There is nothing like before. I will also check if they changed how videos are streamed now. If this changed as well significantly I might not maintain this plugin anymore. I know this is sad, but not really worth the effort especially there seems to be nobody who would like to support me in coding.

stipx commented 3 years ago

After investing some time to check what they changed it seems that the API got easier to grab. So there really might be a v2 of the laola1free plugin. So this is good news, but still a lot of work.

Flexmaen commented 3 years ago

Hmm, maybe it's possible to just parse the site with the live streams: https://www.laola1.at/de/ott/de-at/schedule

The live stream currently seems to be at: https://spottlaola1at-lh.akamaihd.net/i/spottlaola1at09_1@357869/index_2000_av-p.m3u8 (available as 800 or 1300 instead of 2000).