d8ahazard / deluge-extractor

Modified extractor plugin for the deluge torrent client
GNU General Public License v3.0
40 stars 8 forks source link

deluge-extractor (DEPRECATED)

This plugin has been renamed "ExtractorPlus" and moved here: https://github.com/d8ahazard/deluge-extractorplus-plugin

This will no longer be updated.

Plugin for the deluge V2 torrent client that extracts compressed files upon torrent completion.

This is a modified version of the "Extractor" plugin, with multiple additional features added, and written for Deluge V2.

Features

Temp directory support: If a download is being monitored by other software, issues can often arise when extraction begins and the "other" software tries to copy the extracted file(s) before extraction is complete. By extracting to a temporary directory and then moving the completed file, these issues can be avoided. This can be disabled in settings.

Specify download locations:

Label filtering: Enter a comma-separated list of labels, only those labels will be extracted. Works with the default labels plugin, as well as labelplus.

Zero dependencies: For *nix users, the required software should be present in 99% of distributions. For Windows users, 7z.exe is bundled with the plugin, and should be all you need for the majority of use-cases.

The plugin now also use only "native" Python packages, and doesn't require anything extra in order to function.

Has been tested on:

Supported File formats:

Linux/Windows:

Build Instructions

To build the python egg file for a different version that is available, install the version of python you want to build for, and then run the following command from the root of the project directory:

  python setup.py bdist_egg

Installation Instructions

Download the egg file of the plugin.

Notes

GUI-Install:

Preferences -> Plugins -> Install plugin

Locate the downloaded egg file and select it.

Manual Install:

Copy the egg file into the plugins directory in Deluge config:

Linux/*nix:

~/.config/deluge/plugins

Windows:

%APPDATA%\deluge\plugins

Client-Server Setups:

When running the Deluge daemon, deluged and the Deluge client on separate computers, the plugin must be installed on both of them. When installing the egg through the GTK client it will be placed in the plugins directory of your computer, as well as copied over to the computer running the daemon.

Note: If the Python versions on the server and desktop computer do not match, you will have to copy the egg file to the server manually.

For example in the setup below you will have to install the py2.6 egg on the desktop as you normal would do but then manually install the py2.7 egg onto the server.

Note: The Windows installer comes bundled with python: either python 2.6 or 2.7 depending on the intstaller you used.

Support my work?

If you dig this plugin and want to say thanks, the best way to do it is by sending a paypal donation to donate.to.digitalhigh@gmail.com

All donations are appreciated...but none are required :D