Kayo for Channels

This is how it already had been working, authenticated via docker. Authentication doesnt remove encryption which is the issue. Channels cannot play an encrypted stream ie widevine. As Matt indicated earlier, the process of supporting widevine can attract unwanted usage.

authentication isnt the issue. Issue is the streams themselves are encrypted with Widevine DRM.
You'd need something to decrypt and then rebroadcast. Like a modified ffmpeg that works with Widevine.

oops. @kor had already answered above me basically the same thing

1 Like

thanks @kor @matthuisman, like I say ever the optimist! :grinning:

I was thinking there may have been a way for instance to have Kodi server do the stream, and then rebroadcast it to channels for playback at the end point, but expect that would break some rules around rebroadcasting content.

@matthuisman any chance the experimental custom channel/strmlink feature just launched for NBC channels might work for Kayo? (e.g. still have fox league in the channels guide, but when we click on it, it opens Kayo and initates the 502 live channel stream) and if that worked, perhaps it might work for the binge live channels too. It would be a small win to have a guide and direct link to the stream.

1 Like

i still publish a kayo epg Raceday Review - Morphettville so if you can find a workaround for playback - then sure why not. I don't know anything about strmlink etc, so you'd need someone else to help out with that :slight_smile:

It's a new type of custom M3U channel source

I need to work out how to discover the direct link to the live channel (if there even is one)

It's easier to test on iOS. If you're lucky the same links will work on tvOS.

To test a link, send it to yourself in iMessage and click on it.

Start with regular http links. If Kayo has a website for a channel where it streams, try that and see if the app opens instead of the website.

Otherwise you will need to figure out what CFBundleURLSchemes registrations the app has. Sometimes you can google this. Otherwise you would need to check the Info.plist file from the app's IPA file.

It's not an easy process, and many apps simply don't implement deep links to live content so you also need a lot of luck.

1 Like

Oh right, its all based around the apps...

I was thinking it was some sort of browser integration...
But seems more like app integration?
Itll open the official app to start playing?

Does https:// cause it to open the users browser to the page?
Or are you hoping the app has been setup as a default for certain urls?

Yep its basically an app launcher, aka deep link

Exactly. More details here: Experimental: Stream Links from the Guide via Custom Channels

Many times the app will be registered for certain https url as well.

On android finding the registered schemas is easier, you can look in the AndroidManifest.xml:

<activity>
<intent-filter>
<data android:scheme="nbctve"/>
<data android:scheme="https" android:host="nbc.com/live"/>
</intent-filter>
</activity>

usually the registered schemas/hosts are the same between android and ios.

1 Like

For kayo you could try these link formats:

https://kayosports.app.link
https://kayosports.com.au/event
https://kayosports.com.au/event-centre

Is there a URL on their website that starts like that? On mobile/tablet/web sometimes you can get a share url which will contain a link like this.

1 Like

Same time they went DRM they switched to video overlays for their live feeds which start like this

(https://kayo-live-761f422bb93edb7b.akamaized.net/v1/master/b259a4c6c7055dd33d5a9109c9d584b5dd51dd5a/761f422bb93edb7b-hls-drm/out/v1/cebf16d7a1d94e21b59d254e42bb8a1f/index.m3u8?ads).....

Kayo info.plist
may be the version before last

kayo plist

key>CFBundleIdentifier</key>
    <string>au.com.streamotion.kayo</string>

looks like kayosports://

<key>CFBundleURLSchemes</key>
        <array>
          <string>kayosports</string>
        </array>

Thanks. The scheme definitely opens the app. I am testing on iOS before going to tvOS.
However I haven't been able to directly open a certain page or stream
I have tried all the variations such as event, live etc. I can even see the reference to the event-centre in the inspector.

Is there a trick to finding the page url ?

1 Like

Did you ever have any luck getting kayo to open using strmlinks?

I couldn't get the browser links to the live channels to implement into schemes for the url calls. The page url just shows browse but I couldn't locate the specific channel source within the inspector unfortunately

Yeah...I guess that means the only way for aussies to use this is with HDMI tool (and a script that clicks on the channel for you)

Unfortunately from my attempts I couldn’t find anything to work either - apart from simply opening the app.

If hdmi for channels does interest you

Foxtel STB with a Hauppauge IR blaster/“tuner” works well using NextPVR as a backend
Sets up a m3u that automatically send the IR signals to change channels.

Instead of using the Hauppauge as the encoder I use a 4K one so I can stream 4k50 sport remotely if I have the speed!

Also I’ve had some success in deep links opening the correct channel of the iOS Foxtel now app - I assume this would be possible with an android hdmi for channels set up.

Shame there is no Foxtel now for tvOS to link to. Unless you’re on android of course

Do these deep links allow you to use Chrome capture for Foxtel Now ?