Topic: Integrating SponsorBlock for Youtube to mpv

Hello!

I would like to use SponsorBlock with YouTube videos in SVP, an mpv script for this can be found here: https://github.com/po5/mpv_sponsorblock

The issue is that SponsorBlock works based on the YouTube video ID, however it seems that this does not get passed to mpv at all with the youtube-dl setup SVP uses and instead only the direct googlevideo.com stream url is passed.
Is it somehow possible to also pass the video ID, e.g. as an additional command line argument to mpv? Then only minimal changes would be needed to get the existing script to work.

Re: Integrating SponsorBlock for Youtube to mpv

youtube URL passed via "--http-header-fields=Referer: <URL>;User-Agent: ..."
"This is a string list option."

Re: Integrating SponsorBlock for Youtube to mpv

Fantastic, thank you! I created a pull request to get SVP support merged here: https://github.com/po5/mpv_sponsorblock/pull/32