Page 1 of 1

command 'filebot -get-subtitles $filename' not working

Posted: 03 Apr 2018, 21:59
by jonsnuh
filebot -script fn:sysinfo : Image

No matter which show or movie, every time i run the command i get the error

Code: Select all

Get [English] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
No matching subtitles found
Is this because i'm running on the older free version of filebot? Is it working on the newest paid version? Trying to figure out if i should buy the app.

sending the video file to the filebot GUI finds the subtitles just fine, it's just the commandline function that isn't working

Re: command 'filebot -get-subtitles $filename' not working

Posted: 05 Apr 2018, 08:01
by rednoah
$VAR is bash syntax. You seem to be using Windows CMD:
http://steve-jansen.github.io/guides/wi ... ables.html

I recommend using bash via WSL on Windows, or PowerShell. Using CMD is wholly unsuitable for anything other than the most simple one liners.

Re: command 'filebot -get-subtitles $filename' not working

Posted: 05 Apr 2018, 23:20
by jonsnuh
Yes, sorry for not expanding. I am using cygwin bash on windows since CMD/batch is a pain in the butt. I am running a script to get automatically get subtitles but when i run a command to get subtitles directly from the command prompt for a single file, i got the error message still. I ran the command directly from a command prompt for a single video though.

Anyway, the function is working again for some reason. I guess i can close this thread. Thanks for the assistance

Re: command 'filebot -get-subtitles $filename' not working

Posted: 06 Apr 2018, 09:03
by rednoah
I donno. Since you never actually posted a screenshot or logs of the thing that doesn't work, I also have no idea! :D Glad you fixed it.