FruitDeepLinks — Universal Sports Aggregator for Channels DVR

Hey - can you hop on the Gotham website from desktop Chrome and try to grab some URLs when a sporting event is live? I'm really close - just can't do any testing without credentials so I can deduce their schema. I have some guesses.

@KineticMan, I have a question about the peculiar case that is the Amazon redirects. Basically, in a nutshell, it seems that Amazon is willing to suggest you be a subscriber for every service under the sun through them, thus creating a deep link for everything under said sun. Good call on the prefer direct streaming checkbox, although I’m not sure it is yet being deployed to us lowly ADBTuner users. Even if it was, another interesting thing I am seeing is this approach might allow a deep link to a service that I am not interested in being carried through and inadvertently subscribed to because it otherwise doesn’t know how to resolve it based on your current service priority order filter.

I personally don’t want to give any more money to LuthorCorp than I absolutely have to. So I am interested in subscribing elsewhere directly whenever I can.

So my proposed possible fix would be that there is some sort of way in your filtering that could extract Amazon exclusives only, if someone was so inclined. Examples would be extraction of Thursday night football games and exclusive NBA games, etc. Seems like this could be possibly executed by separating aiv links that don’t have equivalents elsewhere.

Bonus effect of this implementation could be someone wouldn’t accidentally subscribe to a service on Amazon they don’t want if they had a configuration to mash a watch live button and clicked on a channel link.

Of course the hope would be that if such a solution was possible, it could eventually be carried down to use lowly ADB lanes people as well… :stuck_out_tongue_closed_eyes:

1 Like

That’s good new.. yes I will grab some URLs tonight.

So, you're looking for a filter to return a list of events where Amazon is the ONLY playable?

FYI I pushed out a small patch this morning. When I implemented the change to append new playables when found during scrape (from above feature/bug request from @Scott_W ), I introduced a bug that if your scraper ran during an event while an event was live (not upcoming/scheduled), the data was giving NULL end times and then the event would then exclude itself from ADB output.

I suspect most people run scrape in middle of night so you'd likely never notice this bug, but regardless it needed fixin'.

Yes, exactly.

I could. I queried the DB and didn’t see much. NBA “G” league was the biggest. There was some NBA/NHL games but they’re in the future and I assume other playables will be added closer to game time.

In short, I’m happy to do it but curious what events/provider are you looking for?

Well, regular season NFL games would be a long term goal, but those are over for the year. NBA has spread around exclusive games to various providers, including Prime Video, which would be a more near term interest.

Gotham Live URLs

NJ Devils Game

https://gothamsports.com/playback/CB170CB7-23D1-474E-B98D-EE87C5662293?ner=waysToWatch

NY Ranges Game

https://gothamsports.com/playback/9B12A656-176C-46E8-B53A-9F401A981B24?ner=waysToWatch

ok i'll put something together. i'll probably add a filter for "amazon exclusive" with an option to export an ADB m3u for it too. i'll make sure it's backwards compatible so nothing breaking for current users.

i did try to deduce the subscription that the amazon playable is given, but unfortunately nothing in the apple scrape to diferentiate them. It'd have to come from a seperate Amazon scrape that I actually have been toying with, but their data isn't very rich (missing end times for events - strange). And frankly, it wouldn't have really gained us much so I haven't pressed on with that too much yet.

1 Like

@KeneticMan
Great stuff! if we want to use Peacock mostly for now, should we use this or the other container?

Also, if we have premium options with Peacock like RSNs, will those be picked up?

Thank you again!

glad you like it.

in regards to RSNs -- i dont think it does. looking at the PAramount events listed currently in my DB:

Most of them are UEFA Champions League / EFL Championship / Serie A.

That combo pretty clearly lines up with “Paramount+ streaming + CBS Sports distribution” for soccer, not RSNs. Paramount+ treats these leagues as regular national streaming inventory (UCL + Serie A, and EFL matches depending on the game), rather than anything regional.

so in short-- I don't believe so.

ok i think i got Amazon Exclusive added. grab latest update. you can set in filtering, and ADB output.

btw this was way harder than i thought it was going to be! I hope you find good use for it :rofl:

There is RSNs in Prime Video via Fanduel Sports

We got the Gotham integration. The only thing is missing really is SEG, Mounmental, Space Sports and Sportsnet Pitt but thats about it as the RSNs are shrinking. The DTC stuff (Panthers, Lightning, Golden Knights) might be doable but I don't have any knowledge on that front

1 Like

It sounds like Channels members are getting this program to work. I having trouble getting the container to do anything, I can't seem to access the Admin Panel based on the info supplird earlier part of the thread. I use a Synology NAS with Portainer and have successfully deployed other containers in Channels with access to Pluto, E+TV Frndly TV and Tubi which all work well. If anyone has any thoughts, let me know.

HI Everyone, I was able to run the Stacks function in Portainer with proper env variables. I have access now and my system is updating.

1 Like

Thank you. I am sure it will be beneficial to me and I assume others will as well. I have downloaded the latest update. I missed testing the Amazon exclusive NBA game this morning. There are some more this week. I will try to test when some of them are on. Will let you know how it goes.

1 Like

I've been running a local copy of FDL with the refresh grace period in fruitdeeplinks_server.py set to 3 hr, (10800) for the last week. Haven't missed a daily refresh since. Never did figure out why my system runs so late but I've seen nothing later than 90 minutes behind per the logs... I can continue running locally with the modified grace period if @KineticMan isn't comfortable setting such a long grace time in the github container.

Okay, was able to try this with some a college basketball game. Seems that some links that I have been seeing may be not available to me, because it seems some of these broadcasts may be regional. I think that I read that Prime may be taking over some old RSN broadcasts as well. Not sure anything can be done based on regionality. Anyway, I found one link that I confirmed was available in my area, by going in the Prime app directly. I tried it, through my setup and couldn't get it to work. I think that I did everything right, but maybe not. I made a few assumptions, that maybe aren't right too.

I set some channels up in the Prime video format that was confirmed earlier for ADBTuner, I set them up in channels the normal way, and was able to see things I saw in your event inspector show up in channels in the guide for the channels I created. I made the provider name in ADBTuner be aiv_exclusive, and got the channels created in CDVR to be called Amazon Exclusive 01, etc. from the labeling in your adb lanes xml. All good, saw things show up in the CDVR guide. Tried to tune. I saw CDVR try to tune to the channel in its logs, I saw ADBTuner try to tune to the channel in its logs, watched it try to do things in VLC, but it never went all the way to the deeplink splash page. I also never saw any action on your live log on fruit dashboard, saying it was doing a deeplink lookup like I had seen for all other things.

I made an assumption about what would be the format to create the ADBTuner URL. I made a modification to the format used previously for Prime Video, with an assumption that the only change might be the directory for the lane provider code. So it was of this format:

http://fruit_ip:6655/api/adb/lanes/aiv_exclusive/1/deeplink?format=json&deeplink_format=http&dynamic_url_json_key=deeplink

I also lastly tried setting the provider code back to just aiv in the above link and that didn't work either.

Also, I wanted to do a fallback where I could just test Prime Video links like before, just for compare/contrast testing and when I tried to create an aiv m3u with the configuration it wouldn't create me an m3u under the aiv provider code anymore. So I think something may have been broken there in the overlap.

I lastly manually copied the http link for the event I was playing around with into an ADBTuner config, so it wouldn't need to pull it from fruit, and that did work, so I was playing with a viable deeplink. Something about trying to pull it from fruit just wasn't right, for some reason.

Hopefully I didn't screw anything up in my manually created testing scenario, but wanted to give you the feedback I had from my testing so far.

1 Like

Make sure Prime Video, and Amazon Exclusives are both enabled in Filters under Streaming Services. Then, turn them back on in ADB config. Then do a Skip Scrape refresh - it should come back on.

I'll debug the API results too. **Edit - next AIV Exclusive is tonight at 930pm. i'll have to test then.