pepeloni-away / userscripts

userscripts only really tested with violentmonkey on firefox and firefox android
The Unlicense
6 stars 0 forks source link

1080p Premium usability #2

Open ivansavra1 opened 2 months ago

ivansavra1 commented 2 months ago

Hi, I found your YouTube HLS Enabler script while searching for a way to get the 1080p Premium stream without YT Premium, your script supposedly does this, but as of right now there's no easy way to make sure it's working, can you please make it so the script enables the 1080p Premium option in the quality selector and map that to said quality from the HLS manifest?

Thank you.

pepeloni-away commented 2 months ago

The premium 1080p option is not included in the quality selector if you are not logged in or if the video is embedded. For that reason the userscript adds an additional 'Hls manifest' toggle. The numbers on it represent the ids of the video and audio streams currently in use, 616 is the id for the premium stream.
If 616 is available for a video the toggle turns on automatically, otherwise it stays off.

There are some configuration options at the top of the userscript, you can change notify616 from false to true to get a toast notification when 616 is available if you want.

ivansavra1 commented 2 months ago

Actually, in my case I have the 1080p Premium option in the quality selector, I just can't chose it because I don't have Premium, what I meant with this suggestion is that the userscript could make that option usable for non-Premium users (Obviously also enabling said quality, not just cosmetics)