davidde / mpv-autosub

Fully automatic subtitle downloading for the MPV media player
https://mpv.io/
MIT License
295 stars 42 forks source link

Get full path instead of relative #43

Open viktor-grunwaldt opened 7 months ago

viktor-grunwaldt commented 7 months ago

I've set up whitelist using a directory name 'subtitles_please', so that everything inside this directory will have their subtitles downloaded. This however didn't work and after debugging for a bit it turns out that the directory is relative '.' which of course doesn't contain the directory name. To solve this I've used utils.getcwd() which returns full path.