Turbo-Recadmiumator icon indicating copy to clipboard operation
Turbo-Recadmiumator copied to clipboard

[bug] Bitrate selection menu pops up without any keyboard shortcut

Open k939kk opened this issue 11 months ago • 7 comments

[bug] Inspite of set_max_bitrate set to true the bitrate selection menu keeps popping up on any new instance of netflix.

Also, it is a bit unclear what the override and reset buttons functions are in the bitrate selection menu. A small note in the readme would be useful.

Browser: Firefox 124.0.1

k939kk avatar Mar 22 '24 17:03 k939kk

setting set_max_bitrate to true is what makes it pop up, set it to false if you want to invoke it manually

DavidBuchanan314 avatar Mar 22 '24 21:03 DavidBuchanan314

(the menu is supposed to disappear once the max bitrate has been selected, but it's buggy)

DavidBuchanan314 avatar Mar 22 '24 21:03 DavidBuchanan314

is it possible to automatically pick the highest bitrate rather than picking from the pop-up every episode?

borsigu avatar Mar 22 '24 23:03 borsigu

That's what set_max_bitrate is supposed to do, that's the option

DavidBuchanan314 avatar Mar 22 '24 23:03 DavidBuchanan314

I found the reason, at least on my system.

set_max_bitrate() returns false when one of the selects is disabled. But the audio select is disabled for me. Thus I changed that abort:

https://github.com/DavidBuchanan314/Turbo-Recadmiumator/blob/50dff66f61a08b95c3206e2766ad4ed8e9bfe706/src/cadmium-playercore-shim.js#L129

to:

if (select.disabled){
	if (list == AUDIO_SELECT) {
		continue
	} else {
		return false;
	}
}

That wasn't enough though, because this check also failed:

https://github.com/DavidBuchanan314/Turbo-Recadmiumator/blob/50dff66f61a08b95c3206e2766ad4ed8e9bfe706/src/cadmium-playercore-shim.js#L139

I'm not sure what the intention was here? So I removed that if.

Now it works for me.

PS: Even with set_max_bitrate set to false the player patching works in enabling 1080p playback on Linux, if available. Not sure why, just by adding the profile maybe? But I also stumbled over a movie where all of this had no effect, I guess where netflix really does not deliver 1080p playback. Or maybe there are additional playback profiles though ought to be enabled there?

onli avatar Mar 24 '24 10:03 onli

PS: Even with set_max_bitrate set to false the player patching works in enabling 1080p playback on Linux, if available. Not sure why, just by adding the profile maybe? But I also stumbled over a movie where all of this had no effect, I guess where netflix really does not deliver 1080p playback. Or maybe there are additional playback profiles though ought to be enabled there?

I don't know for sure, but I believe certain content is configured to require "VMP" (Verified Media Path), which sadly is not available on the Linux platform.

DavidBuchanan314 avatar Mar 24 '24 11:03 DavidBuchanan314

That might be it.

Well, I hope the described code changes help with the max bitrate issue at least :)

onli avatar Mar 24 '24 11:03 onli