QNapi / qnapi

Qt-based, multi-engine, multi-platform subtitle downloader
http://qnapi.github.io
291 stars 39 forks source link

Add ability to scan given directory and download subtitles from CLI #140

Closed Antoniossss closed 6 years ago

Antoniossss commented 6 years ago

So right now I have to do

qnapi -c -d full/path/to/movie/with/extension.mp4 So I have to provide exact filename. It would be nice, that if I provide only a directory, qnapi will scan directory and download subtitles for found content like this

qnapi -c -d full/path/to/movie/with/

This is handy in case of automated scripts. I would like subtitles to download automaticly after torrent is fully downloaded. For scritping purposes I have only output directory as input paramenter, not exact filename. Besides, single torent can have multiple files inside, and for every one of them I would like to trigger subs download. Thats why scan would be very helpfull.

RafalHo commented 6 years ago
for movie in `ls /full/path/to/movie/with/*/*.*`;
do qnapi -c $movie 
done
Antoniossss commented 6 years ago

Can be done via CLI, on widnows as well. But that a feature request for noobs ;]