po5 / mpv_sponsorblock

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

Move configuration to a different file #55

Closed rEnr3n closed 2 years ago

rEnr3n commented 2 years ago

I use git fetch; git reset --hard origin to pull the repo (can't use git pull). My configuration gets lost whenever I run the commands. I'd appreciate it if the config is decoupled from the application.

NicolaSmaniotto commented 2 years ago

You should put your options in ~~/script-opts/sponsorblock.conf (usually ~~/ expands to ~/.config/mpv/, see the manual), without editing the script itself.