regseb / castkodi

WebExtension to cast videos and music to Kodi.
MIT License
100 stars 24 forks source link

Add support for PrimeVideo and Disney+ #104

Open Killom opened 1 year ago

Killom commented 1 year ago

Describe the problem

Playback from Amazon / Disney+ videos won't work. Kodi is tying to start playback but nothing happens.

Describe the solution you'd like

Cast Kodi sending proper playback links for these Plugins

Environment

Additional context

Can't tell, if these plugins support playback from URI - but sending correct media link to Kodi should be first step in right direction.

Killom commented 6 months ago

So you can start Videos for Primevideo with pasting a link, tested with this one:

plugin://plugin.video.amazon-test/?asin=B0B6JQQ7DG&mode=PlayVideo&name=ENEMY&adult=0&trailer=0&selbitrate=0

This actually works, you will have to scrape the needed metadata from the URL:

ASIN can be directly fetched from video url: https://www.amazon.de/gp/video/detail/**B0CMHD44JC**/ref=atv_dp_btf_el_prime_sd_tv_play_t1ADAAAAAA0wr0?autoplay=1&t=0 Other stuff might be fetched parsing the HTM

might check on Disney+ later

regseb commented 4 months ago

The new version 7.7.0 supports Prime Video. Firefox 124+ or Chrome 123+ browsers required. And you need the Amazon VOD add-on.

It only works with the www.primevideo.com website (but not with www.amazon.de/-/en/gp/video/storefront).

Thanks @Killom for the analysis.

Killom commented 4 months ago

Well. @regseb Thanks and damn I guess. Since I'm located in Germany, I cant use primevideo.com. Get redirected to DE storefront. Possible to include this as well? What would you need for that?

regseb commented 3 months ago

I've added support in Cast Kodi 7.8.0 (require Firefox 125+ or Chrome 124+) for: