Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The HD resolutions have disappeared in my nvidia shield tv #218

Closed
Paco8 opened this issue Dec 23, 2018 · 12 comments
Closed

The HD resolutions have disappeared in my nvidia shield tv #218

Paco8 opened this issue Dec 23, 2018 · 12 comments

Comments

@Paco8
Copy link
Contributor

Paco8 commented Dec 23, 2018

I installed Kodi 18 and the Amazon VOD addon on a nvidia shield a couple of weeks ago. It worked fine, I could play movies and shows up to 1080p. But now suddenly the HD resolutions are gone, I can only play at 384p or 576p. Even the movies and shows that I could previously play at 1080p now play with those low resolutions.

What happened? Is it a bug?

The log:
https://justpaste.it/6l8i3

@Varstahl
Copy link
Collaborator

FHD for movies never worked, causes unknown, see also #51

720p/1080p only works for tv series.

@Paco8
Copy link
Contributor Author

Paco8 commented Dec 23, 2018

But how come I could watch a movie in 1080p a few days ago? Now the same movie plays at 384p.
I can't even play tv series in HD, they are at 576p at most (previously 1080p).

If I enable manual streams in the Inputstream preferences, I can see some resolutions but none of them are HD. Previously there were many more, up to 1080p.

I guess maybe amazon changed something and now the plugin can't find the HD streams.

@Varstahl
Copy link
Collaborator

That's possible, amazon's been doing weird things with various devices, included shield. Changed bitstreams, then removed some formats, God only knows. If you're actually saying that there are entire streams missing, then it's something they're doing on their backends.

@Jibbonator
Copy link

Jibbonator commented Dec 24, 2018

Hey there,
I've noticed the same Problem on my nvidia ShieldTV. Could this be a Problem due to an Kodiupdate?
All other addons that use inputstream aka Netflix, works fine.
The Android App for Shield works in 1080p too.

@Varstahl
Copy link
Collaborator

Could this be a Problem due to an Kodiupdate?

I tend to believe it's not. Had another user with similar issues on a different device, that were not solved upon rollback. I'm more keen to believe Amazon being Amazon.

All other addons that use inputstream aka Netflix, works fine.

They use different codec/encryptions, so Kodi working with Netflix usually means nothing when it comes to Amazon.

@Krzmbrzl
Copy link

Krzmbrzl commented Dec 25, 2018

I have the plugin installed on a Raspberry Pi 3 (runnung LibreElec) and I also have at most 500-600p resolution. I thought this was due to some different encoding of the higher resolution streams.

I checked the same movies and series on the Amazon FireStick and there they had 1080p resolution. So I'm guessing Amazon is hiding those streams somehow...

@Paco8
Copy link
Contributor Author

Paco8 commented Dec 25, 2018

I don't know if this would help. I opened in my web browser (firefox) the GetPlaybackResources URL (from the log) that the addon loaded and I noticed that all video qualities in the urlsets are "SD". If I add "&operatingSystemName=Windows&operatingSystemVersion=10.0" to the GetPlaybackResources URL then it returns qualities in HD.

Can I modify the addon to try to add those options to the URL to see if that makes the HD resolutions to work again?

@Varstahl
Copy link
Collaborator

You can try adding the following code at line 212 of plugin.video.amazon-test/resources/lib/network.py:

    if ('catalog/GetPlaybackResources' == mode):
        url += '&operatingSystemName=Windows&operatingSystemVersion=10.0'

That has to go before the if extra:, also be mindful of the space indentation.

This might work or not, I can't test it since it's christmas, but it should do what you ask.

@Paco8
Copy link
Contributor Author

Paco8 commented Dec 25, 2018

It works!!!!
The HD resolutions are back:
https://imgur.com/a/vRjhppV

However I noticed that sometimes the movie freezes at the beginning or plays without video, and I have to restart kodi to fix it.

Edit: it seems the option "operatingSystemVersion=10.0" it's not really necessary. Just adding the option "operatingSystemName=Windows" is enough.

@semool
Copy link

semool commented Dec 26, 2018

@Varstahl
Thanks you. On Nvidia Shield 1080p Streams are working again.

@Varstahl
Copy link
Collaborator

Very, very interesting. Will investigate further. Glad it works, closing the issue for the moment.

@satmandu
Copy link
Contributor

It works!!!!
The HD resolutions are back:
https://imgur.com/a/vRjhppV

However I noticed that sometimes the movie freezes at the beginning or plays without video, and I have to restart kodi to fix it.

For what it is worth I noticed a video freeze when playing using google chrome from my kodi box the other day, so the freezes may not be related to the plugin, but just to amazon's servers being overwhelmed by people hooking up new equipment over the holidays.

Varstahl added a commit that referenced this issue Dec 27, 2018
Workaround to enable high resolution streams.
Fixes #205
Fixes #218
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants