TV 2 Sumo addon DASH DRM
#1
Hi. I was wondering if anyone was working on a TV 2 Sumo addon? Sumo consists of a number of tv shows and live tv, including Premier League and Champions League. 

The streams are in:
Quote:320x180p25 – 328kbps
480x270p25 – 388kbps
640x360p25 – 788kbps
960x540p25 – 1928kbps
1280x720p25 – 3128kbps
1280x720p50 – 4328kbps
I spoke to them last week and they are considering upping their quality. They use Smooth Streaming, HLS, and DASH (Chrome, Firefox, Chromecast, Android).

DASH would be the most interesting. I think they use Widevine CDM. 

It should be possible to use much of the work from: https://github.com/emilsvennesson/kodi-viaplay

Is there anyone who could take a look at it? I really have no experience of this, but I use the Viaplay addon on LibreELEC and it is fantastic. The problem is that Viasat does not show PL in Norway, so I can only watch a few Champions League matches every now and then.

Thanks!
Reply
#2
Thread moved to add-on requests
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply
#3
@zelder Years later I might try to make an addon for TV2 Play, but I dont have a clue how to do the login.

Is there a REST-API for performing the login that we can use? Where you can enter your credentials, or a pin code like in the viaplay-addon?
Reply
#4
I think I managed to do a login with python:

If you do a POST-request towards https://play.tv2.no/rest/user/session with the following JSON as postdata, you'll get a SAML Bearer-token in the response header (authorization header):
python:

json_post = {"password": password, "remember_me": True, "user_name": email}

The JSON response also contains some useful data:
json:

{"purchase_enabled":true,"login_enabled":true,"vouchers":null,"session":{"self_uri":"/rest/user/session","status":"SESSION_AUTHENTICATED"},"id":10933059,"email":"your@email.no","user_name":"your@email.no","zip":"0000","first_name":"OLA","last_name":"NORMANN","gender":3,"registration_date":"1970-01-01T01:00:00+01:00","city":"DINBY","email_status":1,"date_of_birth":"1970-01-01T01:00:00+01:00","mobile_status":0,"profiles":{"subProfiles":[{"subProfileName":"OLA","defaultProfile":true,"subProfileId":"fedcba98-abcd-1234-5678-0123456789abc","color":"#B2AEFF","kidsProfile":"false"}],"activeSubProfileId":"fedcba98-abcd-1234-5678-0123456789abc"},"targeting_id":"123abc","mobile_number":"00000000","profile_completeness":77,"terms_update_required":false,"my_channels_uri":"/rest/user/my_channels","my_channel_uri":"/rest/user/my_channel","favorites_uri":"/rest/user/favorites","subscription_status":"UPGRADABLE","autorenew_payment_valid":true,"notification":null,"logged_in":true}

Hopefully someone could use this to make an addon to KODI for TV2play (former TV2sumo).
Reply

Logout Mark Read Team Forum Stats Members Help
TV 2 Sumo addon DASH DRM0