po5 / mpv_sponsorblock

mpv script to skip sponsored segments of YouTube videos
GNU General Public License v3.0
548 stars 29 forks source link

SVP support + 2 bugfixes #32

Closed Henri-J-Norden closed 3 years ago

Henri-J-Norden commented 3 years ago

With the youtube-dl configuration SVP uses, path contains the direct googlevideo.com url, while the youtube video link with the video ID is in http-header-fields. This adds another pattern match to check if this is the case.

Additional changes:

Henri-J-Norden commented 3 years ago

Thanks for the review, I think these points should be solved now!