po5 / mpv_sponsorblock

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

Config File Not Loaded? #14

Closed hl2guide closed 4 years ago

hl2guide commented 4 years ago

I'm using the Windows version of MPV: mpv-x86_64-20200524-git-685bd6a

I'm using the latest version of your script and am getting this issue:

1

Seems like the config values aren't being loaded?

My config file (script-opts\sponsorblock.conf) is simply:


audio_fade=yes
skip_once=yes
po5 commented 4 years ago

This isn't an issue with this script, it's caused by the lua unicode patch introduced in the last few builds. See https://github.com/mpv-player/mpv/issues/7733 convert line endings to unix or revert back to an older build.

hl2guide commented 4 years ago

Thanks, fixed it in Visual Studio by setting the EOL (End of Line) sequence to LF.