Stream Links on Android/Google TV

Does this work?

https://www.vudu.com/content/movies/play/366164

YES! Thank you! That is so much easier. It does not work on phones on stable release though

1 Like

Okay the intention was that the URL you used originally would work. I will take a look.

Found it. Fix uploading

2 Likes

Amazing! Vudu is now working flawlessly with both link formats, on Chromecast beta release and Android phone beta release. This is huge for me, so thank you!

This is now resolved:

There are some interesting examples here:

1 Like

Can I leverage this in a stream link for peacock or does it have to be "coded in" by Channels?

com.peacocktv.peacockandroid/com.sky.clientlib.deeplink.DeeplinkActivity

https://github.com/tthomas48/watchlist/blob/master/receiver/providers/peacocktv.js

I was thinking it would be a mapping like this:

This results in something like this:

However, I think that all that the path components like reality-bites-a-hannah-swensen-mystery/ or pride-and-prejudice/6377756605557637112/seasons/1/episodes/--episode-1/ still have to be removed, leaving only the final id code shown at the end. However, SLM currently doesn't have a wildcard mapping component, so I'll have to add something to make this possible.

1 Like

Does it work in the android beta?

Some improvement with the latest beta! On both Phone and TV the Peacock app will now launch (on TV before it would give an error saying "You don't have an app that can do this")

However something might be passing incorrectly for the show / episode as now it says "Asset is no longer available" and just takes me to the main page in Peacock and not the show or episode.

Ok. What url did you use?

https://www.peacocktv.com/watch/asset/tv/the-hunting-party/7722813930705405112/seasons/1/episodes/richard-harris-episode-1/42bf0abe-2165-3365-8a76-b8a5e21e7153

Did some more testing and if I run the original URL

through the regex posted here

It outputs this: (which works takes me directly to the episode on both the phone and TV)

https://www.peacocktv.com/deeplink?deeplinkData%3D{"providerSeriesId"%3A"7722813930705405112"%2C"type"%3A"SERIES"%2C"action"%3A"PDP"}

1 Like

@tmm1
Is this something that can be added to Channels or would it need to be handled with @babsonnexus's SLM to parse out the correct URL?

I'll fix it tomorrow

3 Likes

This is the auto-play Peacock deep link format:
https://www.peacocktv.com/deeplink?deeplinkData={"pvid":"1234","type":"PROGRAMME","action":"PLAY"}

I've found that to auto-play an episode or movie on Peacock from a deep link (as opposed to opening its detail page and needing to press another play button), in the deeplinkData JSON, pvid needs to be the ID key, and the value of the action key needs to be PLAY (instead of PDP for the detail page).

For example, to open a direct episode link like this:
https://www.peacocktv.com/watch/playback/vod/GMO_00000000001471_01/04569a08-33e0-3835-9a21-76af2e31fa69
the auto-play deep link is:
https://www.peacocktv.com/deeplink?deeplinkData={"pvid":"04569a08-33e0-3835-9a21-76af2e31fa69","type":"PROGRAMME","action":"PLAY"}
where the last portion of the path (04569a08-33e0-3835-9a21-76af2e31fa69) is the pvid.

Similarly, for a movie link:
https://www.peacocktv.com/watch/asset/movies/kids/shrek/b6303073-41bf-3644-8e71-0e8278c33678
the auto-play deep link is:
https://www.peacocktv.com/deeplink?deeplinkData={"pvid":"b6303073-41bf-3644-8e71-0e8278c33678","type":"PROGRAMME","action":"PLAY"}

Then, depending on how you're sending the deep link, you may need to escape certain characters and/or URL encode it.

I originally discovered this format thanks to the "Where to watch" section of the Google Search knowledge panel when searching for a movie available on Peacock, specifically while using Chrome on an Android phone, since Google hides that section in Firefox mobile (and naturally doesn't provide the app deep link in a desktop browser).

However, this only works on Android TV/Google TV, and does not seem to work on Fire TV. I'd be interested if anyone has found a way to send deep links to Peacock on Fire TV as well.

2 Likes

Okay, based on @miles example, I've successfully tested a pattern replacement:

  • If 'Stream Link' contains: peacocktv.com/watch/asset/.+?/([a-zA-Z0-9\\-]+)$
  • For 'Object Type: MOVIE or SHOW
  • Do this activity: Replace pattern (REGEX) with...
  • Using this: peacocktv.com/deeplink?deeplinkData={"pvid":"\1","type":"PROGRAMME","action":"PLAY"}

To which I ended up with:

image

image

This will be made available in the next release of SLM!

2 Likes

Cool. Hopefully, that'll fix all the peacock issues there.

Now available:

1 Like