christoph-heinrich / mpv-quality-menu

A userscript for MPV that allows you to change the streamed video and audio quality (ytdl-format) on the fly.
GNU General Public License v2.0
153 stars 4 forks source link

Further integration with uosc #9

Closed natural-harmonia-gropius closed 2 years ago

natural-harmonia-gropius commented 2 years ago

call uosc/video when quality_menu/video_formats_toggle unavailable, and the same for audio.

christoph-heinrich commented 2 years ago

I think that won't play nicely with how get_json_from_ytdl_hook works, but I like the idea.

Edit: I can't think of a way of integrating that into that branch, they seem to be fundamentally incompatible. But I guess that doesn't really matter as it will never get merged (even though I use it all the time).

Edit2: Turns out it works much better with that branch then expected. It's not perfect, but that's fine.