davidde / mpv-autosub

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

Use filename instead of path #2

Closed fn-ix closed 5 years ago

fn-ix commented 5 years ago

I had problems with subtitles not being found for some videos, however I fixed it by passing the filename property to subliminal instead of path. Not sure why the full path of the video file would be needed anyway.

davidde commented 5 years ago

Well, the full path is required to save the subtitles in the right directory. But you are totally right in that it appears to have an impact on its success rate. I'll merge this, and fix the path with the -directory option. Thanks for the fix!