FruitDeepLinks — Universal Sports Aggregator for Channels DVR

Cool. Will check that out.

Has anyone been able to get Prime Video FDL working on Android TV without going the ADBtuner route. I cannot get them launch on my Google TV Streamer and Nvidia Shield. FDL work for other providers. Thanks.

FWIW I believe it fires on Fire sticks. If there’s a new schema to call for Android TV, I’m sure I could add it. I don’t personally have a device to test with.

I will happily test it if anyone can provide it.

Yep. All my configs were developed and tested against Android TVs. The olive guy is developing his for fire sticks primarily. The prime video one seemed a bit trickier to get working using this approach if I remember properly. I had to make a subtle change to my encoder settings I think to get them to follow through all the way to live.

It's true when I was working with @KineticMan and @turtletank to get all the pieces in place for the FruitDeepLinks to ADBTuner integration initially, I used FireSticks (as they're my daily driver devices).

However, since I started packaging custom configs with Project One-Click (which is part of OliveTin-for-Channels), all of the configs have been developed and tested cross-platform:

Providers:

Configurations:

And, of course all this can be done right from the CDVR WebUI, using Project WebUI+:

And you have it set up to be able to import custom configs, so people can put their own in, or use different ones if your defaults aren't working for them.

Yes, absolutely. If one wanted to use a custom config with Prime Video for example, including deleting any previously configured lanes for that provider, you'd set it up like this -- along with pasting the JSON into the highlighted field:

This will also create/update the CDVR Custom Channel Source for this provider. It's a very easy and very quick way to deal with large numbers of FruitDeepLinks ADBTuner lanes.

I am not using it for ADBTUNER, just as part of the direct m3u feed so there is no config to tweak.

There are a lot of places that could be failing. Without the Custom Configs we use in ADBTuner, you have no way to handle profile screens, jumping to live or really anything if the "deep link" URL doesn't work all on its own.

EDIT: As I think about it a bit more, I suppose you're just using the remote to handle those things. :slight_smile:

EDIT2: Anything in the CDVR or FDL logs that might give us a clue?

1 Like

Yes, I am simply looking to launch the Prime Video app. I use the remote to get by the profile selection.

I will take a look at the logs and post them.

A new race this weekend. Tested today as ADBTuner channels and seems to work. Thanks!

Apple seems to be pushing through Sky Sports's coverage today. Seems to be working out just fine.

I had to add some new search text to one of my configs to get it to mash the DPAD_CENTER enough to get it to live. It didn't see the word "watch" on screen through ADBTuner text search image capture. Using the text search term "formula 1" worked though. Thanks again for another flawless provider integration!

1 Like

I assume you mean you're trying to access the streamlink directly instead of using adbtuner?

Streamlinks can be hit or miss on android since they're usually used for ios/tvos. Prime probably needs a different type of deeplink for android.

@Jean0987654321 yes I am. Streamlinks work for all apps except for Prime and Victory+.

Thought you were talking about ADBTuner at first too. Odd that Prime links would work with ADBTuner, which is effectively just an AndroidTV device. This definitely seems like a problem @kineticman could solve for you. Seems like the streamlinks portion of his code needs to match better with what he is doing in ADB lanes. You might be the first person to have tried this out as this is still early days here in FDL world.

1 Like

CDVR logs show nothing out of the ordinary.

My best guess is that the streamlinks should be in the deeplink_format: http rather than the aiv:// format.

From the event detail tab it appears that FDL is selecting best streamlink as aiv:

Example:

aiv://aiv/detail?gti=amzn1.dv.gti.082836e7-0db6-4be4-b789-c5209795c7d1&action=watch&type=live&territory=US&time=live&broadcast=amzn1.dv.gti.33a5f5c3-2295-45f1-9d85-ef37be34bac2&refMarker=atv_dvm_liv_apl_us_bd_l_src_av

rather than:

https://app.primevideo.com/detail?gti=amzn1.dv.gti.082836e7-0db6-4be4-b789-c5209795c7d1

Unsure if this is the issue.

It does look like that's the case. For ADBTuner, we're able to specify we want the https:// link returned when the request is made for what's playing in a certain lane. But that's not possible with the "direct" approach.

I would imagine aiv:// works for AppleTV, but it doesn't work for AndroidTV or FireTV, so @KineticMan would need to add support for this somehow.

Be aware that on both flavors of streaming sticks, I saw a popup asking what app I wanted to use when sending am start -d https://app.primevideo.com/detail?gti=amzn1.dv.gti.082836e7-0db6-4be4-b789-c5209795c7d1 which I suspect is the equivilant of how it's done by the Channels app when opening a STRMLINK.

With the ADBTuner approach, we're able to send the package/activity data as well -- eliminating this ambiguity.

I wonder if I had a API end point that the client would request what style they need?

Might get a little hairy though with houses with multiple different device types?

True, but the ability to select the format would put the honus on the user (us) to determine which one we need.

Random thought, it is possible to create two direct m3u one for apple and one for android tv. Apple TV m3u would specify the aiv format and android tv m3u would specify the http format. We could create two live TV sources in CDVR?

Two M3Us lets Apple TV and Android TV each get the format they need without requiring client detection.

Or a simple tick box in the gui could force the format in the FDl gui.