From 24b0d31ab550548c618164cc5f5fe5177f7af7e5 Mon Sep 17 00:00:00 2001 From: shirt-dev Date: Sat, 11 Mar 2023 18:14:18 -0500 Subject: [PATCH 1/2] Fix bitrate selection --- cadmium-playercore-shim.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cadmium-playercore-shim.js b/cadmium-playercore-shim.js index 70f2166..9dbf41b 100644 --- a/cadmium-playercore-shim.js +++ b/cadmium-playercore-shim.js @@ -169,11 +169,11 @@ do_patch( "preferredTextLocale: globalOptions.preferredTextLocale" ); -if(globalOptions.useDDPlus) { +if(globalOptions.useDDPlus && MediaSource.isTypeSupported('audio/mp4; codecs="ec-3"')) { do_patch( "Select highest audio bitrate 1", - /(indexOf\(z\))(\?[^?]+)/, - "$1)" + /(indexOf\(.\))(\?[^?]+)(\?[0-9]:)/, + "$1)$3" ); do_patch( From e577af28494b72dae87fe1bdfe0c95b7a8949e0c Mon Sep 17 00:00:00 2001 From: shirt-dev Date: Sat, 11 Mar 2023 18:17:20 -0500 Subject: [PATCH 2/2] Bump version --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index bff78bf..3bf5b6b 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "Netflix International", "description": "Displays all available Netflix audio and subtitle tracks.", - "version": "2.0.18", + "version": "2.0.19", "author": "shirt", "browser_action": { "default_icon": "img/icon128.png",