xbmc icon indicating copy to clipboard operation
xbmc copied to clipboard

Use cookie auth if requesting the manifest fails with token auth

Open StollD opened this issue 3 years ago • 2 comments

Some content, like Amazon Freevee, is not available when using token auth. By allowing to use cookie auth if token auth does not work, it will be possible to play that content without degrading the quality of anything that is available with token auth.

Admittedly, just stuffing the code into a loop that iterates over [True, False] is a bit of a hack, but it seemed cleaner that just putting the code there a second time. I would have prefered a method, but given that the return values from _getPlaybackVars are used later, this could have become a bit messy. In a loop they will just "leak" to the outside, because of python.

StollD avatar Aug 04 '22 10:08 StollD

This successfully fixed https://github.com/Sandmann79/xbmc/issues/640

https://github.com/Sandmann79/xbmc/blob/master/plugin.video.amazon-test/resources/lib/network.py#L278 Hardcoding only Android devicetypeid can support HEVC (H.265) is wrong. I'm sure cookie auth can get FreeVee HEVC (H.265) content.

Liqianyu avatar Aug 09 '22 06:08 Liqianyu

Thanks for the quick Freevee fix for Android...StollD...this one works well for me.

Ronny-nerd avatar Aug 11 '22 09:08 Ronny-nerd

I thought I had already merged this when I released 0.9.6, I didn't even test it ç_ç /facepalm

Varstahl avatar Nov 28 '22 10:11 Varstahl

Thank you for the contribution :)

Varstahl avatar Nov 28 '22 19:11 Varstahl