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

Support for Windows users
Post Reply
jonsnuh
Posts: 6
Joined: 03 Apr 2018, 21:09

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

Post 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
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post 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.
:idea: Please read the FAQ and How to Request Help.
jonsnuh
Posts: 6
Joined: 03 Apr 2018, 21:09

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

Post 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
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post 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.
:idea: Please read the FAQ and How to Request Help.
Post Reply