pinguy







Developer



Points: 68,675.15 exp.

Joined: Oct 2010

Likes Given: 85

Likes Received: 955 in 555 posts

Reputation: (Rate) Joined: Oct 2010Likes Given: 85Likes Received: 955 in 555 postsReputation: 54









▲ Post: #1 ▼ Automatically Rename,Organise & Download Subtitles While Downloading Video Torrents







To test the script download and install



For Pinguy OS users just double click on the deb file. Ubuntu users place the deb file into your home and run:





Code: [Select All] sudo dpkg -i *.deb

Next run:





Code: [Select All] wget http://www.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: [Select All] $HOME/Downloads

to this:





Code: [Select All] $HOME/Videos

At the moment the subtitle fetching feature is set to English. To turn off subtitles change:





Code: [Select All] subtitles=en

to





Code: [Select All] subtitles=n

To use different subs set it to something like:





Code: [Select All] subtitles=en,de,fr

Once you have the script setup to how you like save the file and run:





Code: [Select All] sudo mv deluge-postprocess /bin

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







Now when ever a video torrent is downloaded with deluge it will get renamed and sorted for you automatically. 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 set to English. To turn off subtitles change:toTo use different subs set it to something like:Once you have the script setup to how you like save the file and run:Next open DelugePreferencesPlugins and activate the Execute plugin. Then go to PreferencesExecute, add a new Torrent Complete event and set the command toNow when ever a video torrent is downloaded with deluge it will get renamed and sorted for you automatically. DONATE TO PINGUY OS Patreon.com or show some love on