From ce867b23bdc78af4b99153b221c27b7f48bff464 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 9550c8c801c8a3922ee7db26809040e44a7e1f01 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 97b0fe8..2c8a420 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 3, "name": "Netflix International", "description": "Displays all available Netflix audio and subtitle tracks.", - "version": "2.0.18", + "version": "2.0.19", "author": "shirt", "action": { "default_icon": "img/icon128.png",