From c94b5a9733f90df6ec068695a926700ea018dc7f Mon Sep 17 00:00:00 2001 From: truedread Date: Fri, 30 Aug 2019 02:04:36 -0700 Subject: [PATCH] Add channel labeling --- cadmium-playercore-6.0015.328.011-1080p.js | 6 ++++++ manifest.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/cadmium-playercore-6.0015.328.011-1080p.js b/cadmium-playercore-6.0015.328.011-1080p.js index 1beaaf2..ad5f2eb 100644 --- a/cadmium-playercore-6.0015.328.011-1080p.js +++ b/cadmium-playercore-6.0015.328.011-1080p.js @@ -26064,6 +26064,12 @@ H4DD.b57 = function() { function d(f) { try { + if (/watch/.test(window.location.pathname)) { + for (var i = 0; i < f.audio_tracks.length; i++) { + f.audio_tracks[i].languageDescription += ' - ' + f.audio_tracks[i].channelsFormat; + } + } + a.JT(f); b(k.Bb); c(); diff --git a/manifest.json b/manifest.json index 7ba3542..33f696a 100755 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "Netflix 1080p", "description": "Forces 1080p and 5.1 playback for Netflix.", - "version": "1.2", + "version": "1.19", "author": "truedread", "browser_action": { "default_icon": "img/icon128.png"