Closed hl2guide closed 4 years ago
mpv 0.33.0 changed the way scripts are loaded.
I've pushed a backwards compatible fix 958905d, please tell me if that works for you.
To upgrade, remove the existing sponsorblock.lua
and the shared
folder.
Thanks @po5
The main.* error seems fixed.
Please consider handling the first run exception for no sponsorblock.db existing yet.
First Run Currently:
C:\Users\Dean>mpv "https://www.youtube.com/watch?v=fYOeXytMwoM"
(+) Video --vid=1 () (h264 1920x1080 29.970fps)
(+) Audio --aid=1 --alang=eng () (opus 2ch 48000Hz)
AO: [wasapi] 44100Hz stereo 2ch float
VO: [gpu] 1920x1080 yuv420p
AV: 00:00:01 / 00:33:06 (0%) A-V: 0.000 Cache: 14s/3MB
[sponsorblock] Traceback (most recent call last):
[sponsorblock] File "C:/Portable Software/PortableApps/PortableApps/MPV Video Player/scripts/sponsorblock/shared/sponsorblock.py", line 45, in
First Run Suggestion:
C:\Users\Dean>mpv "https://www.youtube.com/watch?v=fYOeXytMwoM" (+) Video --vid=1 () (h264 1920x1080 29.970fps) (+) Audio --aid=1 --alang=eng () (opus 2ch 48000Hz) AO: [wasapi] 44100Hz stereo 2ch float VO: [gpu] 1920x1080 yuv420p AV: 00:00:01 / 00:33:06 (0%) A-V: 0.000 Cache: 14s/3MB [sponsorblock] Trying to download sponsorblock.db (around 33MB)
I'm using the latest version of this repo.
First Run (no sponsorblock.db file):
Second Run (sponsorblock.db file exists):
Files:
Could you advise about the line: Cannot find main.* .... ?