Norwegian TV2 Sumo
#16
(2015-09-26, 16:16)blackoutworm Wrote: A native plugin would have been nice
And seeing as TV2 Sumo recently stopped using Silverlight, developing a native plugin shouldn't be that complicated.
Sadly I'm not a developer myself.
I wouldn't get my hopes up. It's more DRM and less platform support (chrome only), same as netflix.
Reply
#17
Any news on this? Would be superb. They also have Chromecast function. Not sure if one can encrypt video links if you are a subscriber.
Reply
#18
Have anyone tried to develop an addon for the Norwegian channel TV2 Sumo?

Now that Discovery+ hasan plugin, this channel surely needs one.
Image

System:    Host: desktopp Kernel: 5.10.8-051008-generic x86_64 bits: 64 Desktop: Cinnamon 4.8.6
           Distro: Linux Mint 20.1 Ulyssa
Machine:   Type: Desktop Mobo: ASUSTeK model: ROG STRIX B450-F GAMING v: Rev 1.xx
           serial: <superuser/root required> UEFI: American Megatrends v: 3103 date: 06/17/2020
CPU:       6-Core: AMD Ryzen 5 2600X type: MT MCP speed: 3791 MHz min/max: 2200/3800 MHz
Graphics:  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] driver: amdgpu
           v: kernel
           Display: x11 server: X.Org 1.20.9 driver: amdgpu,ati unloaded: fbdev,modesetting,vesa
           resolution: 1920x1080~60Hz
           OpenGL: renderer: Radeon RX 590 Series (POLARIS10 DRM 3.40.0 5.10.8-051008-generic
           LLVM 11.0.1)
           v: 4.6 Mesa 21.1.0-devel (git-0747332 2021-01-20 focal-oibaf-ppa)
Network:   Device-1: Intel I211 Gigabit Network driver: igb
Drives:    Local Storage: total: 4.57 TiB used: 1.40 TiB (30.7%)
 
Reply
#19
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
Norwegian TV2 Sumo1