jgreco/mpv-youtube-quality

[FEATURE REQUEST] Add an Icon in the OSD to display the selection menu

Closed this issue · 2 comments

Is it possible to add an icon in the OSD (next to fullscreen) to summon the menu ?
No need to remember a new hotkey with this.

I've just pushed a commit (94d9ad0) that adds such an OSC icon: [≚]
screen shot 2018-11-08 at 3 23 43 pm

Please note that extending the OSC is a little bit of a hack, to make this work you'll need to to copy both youtube-quality.lua and youtube-quality-osc.lua into your scripts directory. You will also need to put osc=no into your mpv.conf to disable the default OSC (youtube-quality-osc.lua is a copy of mpv's default osc.lua, with the requested icon patched into it).

Please also note that if you're already using a userscript that extends the OSC, like mpv_thumbnail_script, this will conflict. It's possible to combine them so you can use both, I have a demonstration of how to do that here: https://gist.github.com/jgreco/eadb5704754bda55e4b450c1bf3b8353

Wow.
So fast !
Thanks a lot.

Understood.