NOOB - rename MOVIES and find english subs

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
tmanto02
Posts: 4
Joined: 27 Mar 2013, 05:00

NOOB - rename MOVIES and find english subs

Post by tmanto02 »

Hi guys,

I am a MAC user and have been using the GUI to rename my movies for a while now however I want to automate this process.

I have little to no experience with creating scripts. So any help would be great!

I want to rename my movies and download english subs.

I dont want to move/relocate them just rename and subtitle.

Where do I start??

TA
User avatar
rednoah
The Source
Posts: 23931
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: NOOB - rename MOVIES and find english subs

Post by rednoah »

Read this:
http://www.filebot.net/cli.html

Fetch subtitles:

Code: Select all

filebot -get-missing-subtitles -non-strict -r /path/to/movies
Rename movies:

Code: Select all

filebot -rename -non-strict --db themoviedb -r /path/to/movies
Done.
:idea: Please read the FAQ and How to Request Help.
tmanto02
Posts: 4
Joined: 27 Mar 2013, 05:00

Re: NOOB - rename MOVIES and find english subs

Post by tmanto02 »

rednoah wrote:Read this:
http://www.filebot.net/cli.html

Fetch subtitles:

Code: Select all

filebot -get-missing-subtitles -non-strict -r /path/to/movies
Rename movies:

Code: Select all

filebot -rename -non-strict --db themoviedb -r /path/to/movies
Done.
Thanks for your reply - but again I'm a total noob so I have no idea what to do with that. The instructions page does not tell you either. Do I save it as a file in textedit?
User avatar
bonelifer
Power User
Posts: 83
Joined: 23 Mar 2013, 18:27

Re: NOOB - rename MOVIES and find english subs

Post by bonelifer »

tmanto02 those are ran from the command line/terminal. You'll need to change "/path/to/movies" to the path of the folder that contains your movies. It'll will expect that only movies are in the folder, so don't have any TV series episodes mixed in the folder.
tmanto02
Posts: 4
Joined: 27 Mar 2013, 05:00

Re: NOOB - rename MOVIES and find english subs

Post by tmanto02 »

bonelifer wrote:tmanto02 those are ran from the command line/terminal. You'll need to change "/path/to/movies" to the path of the folder that contains your movies. It'll will expect that only movies are in the folder, so don't have any TV series episodes mixed in the folder.
Thanks for you help mate, however when i do this terminal says:

-bash: filebot: command not found
User avatar
rednoah
The Source
Posts: 23931
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: NOOB - rename MOVIES and find english subs

Post by rednoah »

If you don't have an alias that links to the filebot.sh yet it won't find that command. Instead just use the absolute path to filebot.sh (somewhere in the app bundle).
:idea: Please read the FAQ and How to Request Help.
tmanto02
Posts: 4
Joined: 27 Mar 2013, 05:00

Re: NOOB - rename MOVIES and find english subs

Post by tmanto02 »

rednoah wrote:If you don't have an alias that links to the filebot.sh yet it won't find that command. Instead just use the absolute path to filebot.sh (somewhere in the app bundle).
Is it called install.sh?
User avatar
rednoah
The Source
Posts: 23931
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: NOOB - rename MOVIES and find english subs

Post by rednoah »

install.sh will link filebot.sh into /usr/bin/filebot so it's recognized in the terminal. Maybe it's just called filebot, anyway, there's an executable that'll let you run filebot in terminal.
:idea: Please read the FAQ and How to Request Help.
vanhouten035
Posts: 5
Joined: 11 Apr 2016, 12:23

Re: NOOB - rename MOVIES and find english subs

Post by vanhouten035 »

-get-missing-subtitles doesn't work for me when I have every movie in a separate folder. Is there anyway to let this command look into each folder?
Zignature
Power User
Posts: 48
Joined: 19 Feb 2015, 11:33

Re: NOOB - rename MOVIES and find english subs

Post by Zignature »

vanhouten035 wrote:-get-missing-subtitles doesn't work for me when I have every movie in a separate folder. Is there anyway to let this command look into each folder?
if you feed it the top directory it should search subtitles for all video files in all subdirectories
User avatar
rednoah
The Source
Posts: 23931
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: NOOB - rename MOVIES and find english subs

Post by rednoah »

It's just -get-subtitles now and it's doing what -get-missing-subtitles used to do by default now. It will only fetch subtitles for the given files/folders though.

If you want to recursively fetch subtitles for all directories and subdirectories you should use the suball script.
:idea: Please read the FAQ and How to Request Help.
Post Reply