jgreco / mpv-youtube-quality

A userscript for MPV that allows you to change youtube video quality (ytdl-format) on the fly
368 stars 37 forks source link

Does not reload the video anymore so the new format setting would take effect #37

Open Ingvix opened 8 months ago

Ingvix commented 8 months ago

I updated my mpv package today and after that the script no longer functioned properly. The line mp.set_property_number("playlist-pos", playlist_pos) does not seem to reload the video, which I assume it did before. I replaced the line with mp.commandv("playlist-play-index", playlist_pos) and it's working again.

Too lazy to make a pull request, but putting this out there in case someone is looking for a fix for the same problem.

sxvghd commented 5 months ago

@Ingvix cheers!