mpv_sponsorblock
mpv_sponsorblock copied to clipboard
Rely on mpv to know where to store application data & cache
- Put the uid file and database under
~~stateand~~cacherespectively This is the most platform-independent way, as we can trustmpvto do the right thing everywhere. Closes #17 - Automatically migrate those files from the previous location This makes the change completely transparent for users
- Use
mp.find_config_fileto findsponsorblock.pyIt otherwise breaks for users who have a globalscripts/dir, as mentioned in #66
@po5 I hope this addresses the concerns you expressed in #17, about working on all platforms, and relying on mpv as the source of truth