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

Airtango - 2019 - Get Stream URL fails #1

Open
TheNorthernStar opened this issue Sep 25, 2019 · 18 comments
Open

Airtango - 2019 - Get Stream URL fails #1

TheNorthernStar opened this issue Sep 25, 2019 · 18 comments

Comments

@TheNorthernStar
Copy link

Hi, thanks for your kodi-addon created so far. When trying it this year it seemed to me that the URLs and logic how they are exposed have been changed.

I did some research and found the following things - hoping to help you getting it up and running again ...

  1. Where to get the stream URL from?
    https://www.airtango.live/api/video//access?device_category_id=1
    When this API is called with a proper player page it returns a file in M3U format - guess that this is already supported by Kodi - if not, it is a json format listing several streaming formats.

  2. Where to get the from?
    The homepage seems to be organised in channels now - they have a fixed name per team, e.g. for the MLP Academics it is:
    https://www.airtango.live/de-int/page/mlp-academics-heidelberg

When hovering over the images representing the scheduled games, you see a URL like
https://www.airtango.live/de-int/playerpage/76136 - this number is the one to use for in step 1. So parsing the pages as you did in the current version should be able to extract it from the page.

Hope that this helps in getting it up and running for this season.

@TheNorthernStar
Copy link
Author

I just saw that the URL is corrupted (the placeholder has been suppressed ...). The correct URL with a sample id is looks like this:
https://www.airtango.live/api/video/**76136**/access?device_category_id=1
and in addition calling it via GET or POST seems to be different - with POST (empty body) you get a proper result (checked with POSTMAN), with GET the browser you might get a file download.

@MRLB
Copy link
Owner

MRLB commented Sep 27, 2019

Hi.

Mayba tomorrow during the evening I have time to check how airtango works this season.

@Zortex601
Copy link

Hi!

Did you have time to check that?

@indianahorst
Copy link

It would be very nice if you could fix this addon in the next few days! Thanks!

@MRLB
Copy link
Owner

MRLB commented Oct 20, 2019

I'll Try to take a look to the addon Monday evening. Today I am on the road :-(

@MRLB
Copy link
Owner

MRLB commented Oct 21, 2019

Hi everyone,
I have taken a look to the new api and I am surprised. The api is better as the api from last season. Much better. I have started with the new live overview. Unfortunatelly today is now livematch therefore I cannot check if it works. Hopefully I find time tomorrow to check it. Maybe you have to go into the contextmenu and click on "play from here" if the stream is not started with a "normal" click :-(

@MRLB
Copy link
Owner

MRLB commented Oct 26, 2019

Version 1.0.1 runs if you open the stream with the context menu and "play from here"

@fre2dyy
Copy link

fre2dyy commented Oct 26, 2019

Thanks for your work! Is it possible to add a login function to activate the 1080p streams?

@MRLB
Copy link
Owner

MRLB commented Oct 27, 2019

I have to take a look on this. Maybe next week. I added to version 1.1.0 the possiblity to start relive-streams and you do not need any more go to the contextmenu to start a stream.

@indianahorst
Copy link

Thanks for your work! Is it possible to add a login function to activate the 1080p streams?

On my system (Raspberry Pi 4 with LibreELEC 9.2 Beta) I got the 1080p Stream automatically (without any account). I wondered about this because of the new Freemium model of Airtango (they take 2,99 EUR per month for FullHD).

I opened the same stream in Chrome and got only the 720p stream (as expected).

MRLB:
Indeed it would be great to have a function to switch quality (the Raspberry stuttered sometimes with 1080p, so it would be nice to be able to switch to 720p).

Another feature request:
Would it be possible to implement a function to play the ReLive streams of the last games?

@makawi77
Copy link

Thank you, great work! But, If the games are already started, you can not find them anymore.

@MRLB
Copy link
Owner

MRLB commented Oct 31, 2019

@makawi77 Really? I can find the streams from today in "Nächste Liveevents" and for example Schwenningen - Ehingen works there

@MRLB
Copy link
Owner

MRLB commented Oct 31, 2019

@indianahorst Please go to the inputstream setting and enter there 720p. Than the addon should use the 720p stream.

I added the archive of the Pro A already. There you can find all relive-streams sorted by teamnames.

In version 1.1.1 I added a separate ProA-Live-section and a folder with the latest relive-uploads

@makawi77
Copy link

makawi77 commented Nov 2, 2019

@makawi77 Really? I can find the streams from today in "Nächste Liveevents" and for example Schwenningen - Ehingen works there

Yes, I could also see this game next to Paderborn - Rostock in the section. The other games, which began half an hour earlier, were no longer available at 8 pm in the section "Next Livestreams".

@MRLB
Copy link
Owner

MRLB commented Nov 2, 2019

Ok. I have to Check ist during the next gameday. Maybe there is an api available only with live streams.

@TheNorthernStar
Copy link
Author

Hi MRLB, here is an API documentation of the 2basketballiga page - a comprehensive wiki page explaining the usage of the API. Perhaps it helps in getting the list of live games? https://wiki.2basketballbundesliga.de/index.php/API

@makawi77
Copy link

makawi77 commented Nov 4, 2019

Ok. I have to Check ist during the next gameday. Maybe there is an api available only with live streams.

Now I could not find any more problems (Version 1.1.1)

@fre2dyy
Copy link

fre2dyy commented Nov 15, 2019

The addon works like a charm! Would you please integrate a login to use the 1080p stream?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants