occivink / mpv-gallery-view

Gallery-view scripts for mpv
The Unlicense
195 stars 21 forks source link

stop lib/ from being loaded as script #25

Closed Ckath closed 4 years ago

Ckath commented 4 years ago

since a recent mpv update files in subdirectories of scripts/ such as scripts/lib are also treated (and attempted to be loaded) as scripts. this produces the following error: Cannot find main.* for any supported scripting backend in: /home/user/.config/mpv/scripts/lib

files and directories can be marked to be 'disabled' aka not loaded by mpv, by appending .disable to them. this pr does that for thescripts/lib dir.

resolves #21

occivink commented 4 years ago

Thanks, I should have looked into this a while ago.