gort818 / qtwebflix

A qt webengine program for netflix
GNU General Public License v3.0
245 stars 29 forks source link

NETLIX no longer works in 1080p #72

Open gort818 opened 5 years ago

gort818 commented 5 years ago

Netflix has changed something once again I am not sure I can do anything about it!

I was using an older modified version of https://github.com/truedread/netflix-1080p It no longer works and his newer version does not work for QtWebFlix as it relies on mutliple files and I can only intercept the playercore file not sure how to get it working now.

Sorry guys.. But if you really need that 1080p use the extension on chrome linked above.

If anyone has any suggestions please let me know. Thanks!

Nuc1eoN commented 5 years ago

For the firefox users there is https://github.com/vladikoff/netflix-1080p-firefox btw

Unfortunately mozilla has banned the addon from it's store though, so other install methods are needed.

omni6 commented 5 years ago

@magiruuvelvet maybe you can do a lookover.. afaik you coded the 1080p part this software uses. Many users would really appreciate this! else ..

petrmanek commented 5 years ago

Bumping this issue. In the meantime, isn't it possible to mitigate this by allowing 720p or lower?

gort818 commented 5 years ago

@petrmanek Already did.. unfortunately looks like we cant even get 720p anymore.

petrmanek commented 5 years ago

@gort818 Anything I can do to help?

gort818 commented 5 years ago

@petrmanek Well i got 720p to work again by changing the user agent to an up to date firefox one. users using chrome and this extension also cannot use 1080p https://github.com/truedread/netflix-1080p..

Just Linux users getting screwed again.

You can take a look at that extension and see if there is anyway to get it working and how to implement it.

Nuc1eoN commented 5 years ago

Just so you guys know, the firefox 1080p addon works flawlessy for months already on linux :)

gort818 commented 5 years ago

@Nuc1eoN Not anymore https://github.com/vladikoff/netflix-1080p-firefox/issues/28#issuecomment-518403531

Nuc1eoN commented 5 years ago

@gort818 not for me, I have just tested it actually

(However I did not install it manually as written there)

gort818 commented 5 years ago

@Nuc1eoN do you know what version of the addon you are using?

Nuc1eoN commented 5 years ago

do you know what version of the addon you are using?

Yes I am using v1.8

Termuellinator commented 5 years ago

i can confirm that it seems to be working again currently (1.8). Lets hope it stays that way and it was just a hiccup

Gigadoc2 commented 4 years ago

~The addon seems to be broken again.~ EDIT: It is not, that was my fault.

It might be of interest that the Netflix plugin for Kodi can play 1080p on Linux, if you enable the setting to "spoof HDCP". So I presume that the problem is that Netflix will no longer allow 1080p content without HDCP present on the output (which, as of now, is never the case on Linux).

I admit that I have no idea how the widevine plugin actually works, so I don't know whether the plugin for chromium can even check for HDCP or not. But if it can, maybe the HDCP spoof can be applied for qtwebflix as well? That is, if it is legal for @gort818 to include something like this in this repository. I am neither a lawyer nor living in the US, so I have no idea how the situation there is on "breaking DRM" if you have actually paid for the content.

gort818 commented 4 years ago

@Gigadoc2 well let's take a look at this HDCP spoof do you have a link?

Gigadoc2 commented 4 years ago

I just had a very quick glance at the Netflix plugin itself and found this: https://github.com/CastagnaIT/plugin.video.netflix/blob/0efa1e81a6c9ab84a6d0863055ed9e4a4ad6ec42/resources/lib/services/msl/msl_handler.py#L179 Just from that look it seems to me that the plugin just "tells" netflix that the device is capable of HDCP when it requests this "manifest". There is some setting to switch between HDCP 2.2 and 1.4, but that should not be that important, AFAIK HDCP 1.4 is sufficient for 1080p and 2.2 is only needed for 4k content (which we cannot play back anyway because of widevine restrictions).

So, I'll have a look at the "inputstream.adaptive" plugin for Kodi, which is the basis for most of the streaming plugins like Netflix, and see what this HDCPOVERRIDE effects there. Right now it almost looks to me like this setting enables actual HDCP playback, though this seems impossible as I run Kodi on Linux, which should not be capable of HDCP playback (yet).

EDIT: ~It may be that this approach is completely unsuitable to browser-based software, maybe they don't even download this manifest the way the Netflix plugin does; some parameters like uiPlatform don't make sense for a browser, this is probably intended for "smart" devices.~ The browser is also doing this, when you access netflix.com a script gets loaded which does this.

Gigadoc2 commented 4 years ago

Ok, so first of all I was wrong about the plugin not working anymore. It does, the content is indeed 1080p, it was just a temporary fluke of my Firefox. Sorry for that noise.

Also, I looked a bit more into the "HDCP override" of Kodis inputstream.adaptive and netflix plugin: For the Netflix plugin, this will just set the plugin to tell "I am capable of HDCP 1.4/2.2" when requesting the manifest. For the inputstream.adaptive plugin, this will only influence the stream selection of a DASH manifest, so if you set this Kodi will try to play back streams marked with "HDCP required". Whether this then works is up to your platform, but apparently Netflix sub-4k streams do not actually need HDCP to work.

BTW, https://github.com/truedread/netflix-1080p is doing pretty much the same as the Kodi Netflix plugin, they pretend to be Microsoft Edge for some requests and Chromium-based for others, so that they get the 1080p profiles enabled (which you only get with Edge), yet get streams encrypted for widevine and not that thing Edge uses (not widevine, which is why it is allowed to play 1080p content in the first place). It also started to send "yes I can do HDCP 1.4" at some point, as this now also is necessary to get the 1080p profiles.

So, the bottom line is, if qtwebflix can not include this plugin or replicate its functionality, looking at the Kodi plugin won't help either as it does just the same as the chrome plugin :(

For people using the chromium plugin, you can get an "undecorated window" experience (but not the other features of qtwebflix) by using chromiums --app=https://netflix.com switch, and you can use a separate profile from your normal browser with --user-data-dir=/wherever/you/want. You can then install the extension for only this profile and it will not influence your regular browsing (not that it did before).

ErrorRaffyline0 commented 3 years ago

So, considering the netflix and chromium plugins work again, can't we implement it back into qtwebflix?

gort818 commented 2 years ago

Latest commit seems to help with netflix in 1080p if anyone wants to give it a try!