This is a simple script that works with FileBot and Deluge that moves video files to a TV or Movie folder depending on what type it is and renames it correctly and also downloads the subtitles for it.
To test the script download and install FileBot.
For Pinguy OS users just double click on the deb file. Ubuntu users place the deb file into your home and run:
Next run:
Now you can change some of the script settings.
At the moment the video files get moved to the download folder. If you want them to go straight to the Video folder change:
to this:
At the moment the subtitle fetching feature is turned off by default. To turn on replace:
With something like:
Once you have the script setup to how you like save the file and run:
Next open Deluge
Preferences
Plugins and activate the Execute plugin. Then go to Preferences
Execute, add a new Torrent Complete event and set the command to deluge-postprocess
![Click Image To Enlarge Image]()
Now when ever a video torrent is downloaded with deluge it will get renamed and sorted for you automatically.
To test the script download and install FileBot.
For Pinguy OS users just double click on the deb file. Ubuntu users place the deb file into your home and run:
Code:
sudo dpkg -i *.deb
Next run:
Code:
wget http://pinguyos.com/files/deluge-postprocess
chmod +x deluge-postprocess
gedit deluge-postprocess
Now you can change some of the script settings.
At the moment the video files get moved to the download folder. If you want them to go straight to the Video folder change:
Code:
$HOME/Downloads
to this:
Code:
$HOME/Videos
At the moment the subtitle fetching feature is turned off by default. To turn on replace:
Code:
subtitles=n
With something like:
Code:
subtitles=en,de,fr
Once you have the script setup to how you like save the file and run:
Code:
sudo mv deluge-postprocess /bin
Next open Deluge




Now when ever a video torrent is downloaded with deluge it will get renamed and sorted for you automatically.