Filebot

June 8, 2014 | By More

Filebot my new turn to tool for renaming various digital media, Moves & TV series etc. to a standardised format that Plex Media Server can add to my media centre. The very firts step is to download filebot from here – http://www.filebot.net/#download and install it. I’m using a Mac so dragging and dropping in to the Applications is the way to go.

Next we need to write the script. Simple and I used textedit and set it in to plain text mode by pressing ‘Command Shift & T’. Then copy and paste the code below in to thextedit. u will have to edit the “Path/to/Folder’ highligted below to point to your media folder, I set mine to /Volumes/media. Then save it as, well filebot.sh will do and I saved mine to ~/Documents/Scripts/filebot.sh

#!/bin/bash
/Applications/Filebot.app/Contents/MacOS/filebot -script fn:amc --output "path/to/folder" --log-file amc.log --action copy --conflict override -non-strict --def artwork=y "ut_dir=$TR_TORRENT_DIR/$TR_TORRENT_NAME" "ut_kind=multi" "ut_title=$TR_TORRENT_NAME"

Now we need to use terminal to make the script executable. Open terminal from the Applications/Utilities folder and at the command prompt type chmod u+x ~/Documents/Scripts/filebot.sh this will set the executable bit.

Next make sure that Transmission know what to do when a torrent completes. Open Transmission’s Preferences, then navigate to ‘Transfers’ and click the Management tab. At the very bottom of this is check box labled ‘Call Script’ and use the chooser to open our script at ~/Documents/Scripts/filebot.sh.

Now whenever a torrent is completed it should be renamed and copied in to the correct location ready to be indexed by Plex Media Server.

Check – http://www.filebot.net/cli.html the link for more information

Category: Coding

About the Author ()

Comments are closed.