mirror of
https://github.com/shirt-dev/netflix-international.git
synced 2025-05-05 16:40:34 +00:00
Fix bitrate selection
This commit is contained in:
parent
3a84478776
commit
24b0d31ab5
1 changed files with 3 additions and 3 deletions
|
@ -169,11 +169,11 @@ do_patch(
|
||||||
"preferredTextLocale: globalOptions.preferredTextLocale"
|
"preferredTextLocale: globalOptions.preferredTextLocale"
|
||||||
);
|
);
|
||||||
|
|
||||||
if(globalOptions.useDDPlus) {
|
if(globalOptions.useDDPlus && MediaSource.isTypeSupported('audio/mp4; codecs="ec-3"')) {
|
||||||
do_patch(
|
do_patch(
|
||||||
"Select highest audio bitrate 1",
|
"Select highest audio bitrate 1",
|
||||||
/(indexOf\(z\))(\?[^?]+)/,
|
/(indexOf\(.\))(\?[^?]+)(\?[0-9]:)/,
|
||||||
"$1)"
|
"$1)$3"
|
||||||
);
|
);
|
||||||
|
|
||||||
do_patch(
|
do_patch(
|
||||||
|
|
Loading…
Add table
Reference in a new issue