jaylinski / kodi-addon-vimeo

📽 Vimeo Add-on for Kodi.
MIT License
13 stars 2 forks source link

Domain protected videos can't be played (RuntimeError) #46

Open HrBeck opened 3 years ago

HrBeck commented 3 years ago

unfortunately I get a runtime error when trying to cast video from browser on windows-PC to kodi ("cast kodi"-addon for Firefox). The video is a vimeo one. you find examples under https://pur-life.de/artikel/seminare Thanks for any help.

`2021-01-17 16:25:59.055 T:1022358400 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--

`

jaylinski commented 3 years ago

@HrBeck This seems to be a protected video (can't be accessed via Vimeo: https://vimeo.com/443194048). I guess the owner has a pro account and only allows his own domain for embedding:

Screenshot_2021-01-17 Settings - TypoAnimation

That's why the Vimeo API returns an error. Even the Vimeo-App can't play the video, so I'm afraid there is no easy way to fix this.

jaylinski commented 3 years ago

A possible solution would be to use the "player"-API and provide a setting where you can add custom "protected" domains:

Bildschirmfoto vom 2021-01-17 20-59-40

HrBeck commented 3 years ago

Hello Jay,

thanks for having a look inside.

Hmm… can I do anything on my side to follow your hint? Honestly I do not get your intention :)

Or is there anything I can request from the provider of the website to consider on changing their properties of their embedded videos?

Thank you! Matthias

Von: Jay Linski [mailto:notifications@github.com] Gesendet: Sonntag, 17. Januar 2021 21:01 An: jaylinski/kodi-addon-vimeo kodi-addon-vimeo@noreply.github.com Cc: HrBeck el.patron@web.de; Mention mention@noreply.github.com Betreff: Re: [jaylinski/kodi-addon-vimeo] RuntimeError (#46)

A possible solution would be to use the "player"-API and a setting where you can add custom "protected" domains:

https://user-images.githubusercontent.com/1668766/104854454-13fe2d00-5907-11eb-9e04-c558b89d69c3.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jaylinski/kodi-addon-vimeo/issues/46#issuecomment-761870790 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ASP5D2CZNJHV6UDSTMV2HETS2M6Y7ANCNFSM4WGH3EIA . https://github.com/notifications/beacon/ASP5D2BT4NB6RXYI5ANMSYTS2M6Y7A5CNFSM4WGH3EIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFVUTTRQ.gif

jaylinski commented 3 years ago

@HrBeck Nothing you can do (watching domain-protected videos just doesn't work right now). I know the cause of the problem and a possible workaround, but it's tricky to implement... so it could take a while until I find some time.