Quantcast
Channel: Pinguy OS Forum - All Forums
Viewing all articles
Browse latest Browse all 1646

Automatically Rename,Organise & Download Subtitles While Downloading Video Torrents

$
0
0
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:

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 Arrow Preferences Arrow Plugins and activate the Execute plugin. Then go to Preferences Arrow Execute, add a new Torrent Complete event and set the command to deluge-postprocess

Image

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

Viewing all articles
Browse latest Browse all 1646

Trending Articles