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:
sponsorblock.py was using exit instead of sys.exit which generated an unhandled exception on DB update failure
OSD message now displays the category of the skipped segment, not just 'sponsor'
With the youtube-dl configuration SVP uses,
path
contains the direct googlevideo.com url, while the youtube video link with the video ID is inhttp-header-fields
. This adds another pattern match to check if this is the case.Additional changes:
exit
instead ofsys.exit
which generated an unhandled exception on DB update failure