Skip to content

Commit

Permalink
Fix for Windows, add HDCP version in manifest request, and fix script…
Browse files Browse the repository at this point in the history
… loading
  • Loading branch information
truedread committed Jul 20, 2019
1 parent 4dde8f9 commit dcc4b48
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion cadmium-playercore-6.0015.328.011-1080p.js
Original file line number Diff line number Diff line change
Expand Up @@ -55460,7 +55460,9 @@ H4DD.b57 = function() {
}

if (d.result.from.startsWith("nq_cadmium_pbo_licenses") && !licenseOverridden) {
await getManifest("NFCDIE-04-" + generateEsn());
if (/Intel Mac OS X/.test(navigator.userAgent)) {
await getManifest("NFCDIE-04-" + generateEsn());
}
d.result.result = await getLicense(challenge, sessionId);
licenseOverridden = true;
}
Expand Down
2 changes: 1 addition & 1 deletion content_script.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ script_urls = [
]

urls = [
'get_manifest.js'
'msl_client.js'
]

// very messy workaround for accessing chrome storage outside of background / content scripts
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "Netflix 1080p",
"description": "Forces 1080p and 5.1 playback for Netflix.",
"version": "1.14",
"version": "1.15",
"author": "truedread",
"browser_action": {
"default_icon": "img/icon128.png"
Expand Down
4 changes: 2 additions & 2 deletions msl_client.js
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,8 @@ async function getManifest(esn=defaultEsn) {
{
"type": "DigitalVideoOutputDescriptor",
"outputType": "unknown",
"supportedHdcpVersions": [],
"isHdcpEngaged": false
"supportedHdcpVersions": ['1.4'],
"isHdcpEngaged": true
}
],
"preferAssistiveAudio": false,
Expand Down

0 comments on commit dcc4b48

Please sign in to comment.