Deluge + torrentexpander

General support for problems installing or using Deluge
Post Reply
ZaPHoN
Member
Member
Posts: 18
Joined: Sun Jul 15, 2012 3:50 am

Deluge + torrentexpander

Post by ZaPHoN »

Is there a way to get deluge to trigger torrent expander?
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Deluge + torrentexpander

Post by Cas »

A quick scan of their website seems to suggest simply using Execute plugin would work, you just need a small script to call torrentexpander using the values from the plugin.
ZaPHoN
Member
Member
Posts: 18
Joined: Sun Jul 15, 2012 3:50 am

Re: Deluge + torrentexpander

Post by ZaPHoN »

Could someone assist with a script please...

I've tried adding torrentexpander.sh to the execute in Deluge but noting happens.

TORRENTEXPANDER 101

There are various ways to run this script as a daemon :

- It can be invoked with the command torrentexpander.sh "/Path/to/your/torrent"

- You can export torrent="/Path/to/your/torrent" and start torrentexpander.sh

- If you want Flexget to trigger torrentexpander.sh, have it echo the torrent path to a file and start torrentexpander.sh. The third_party_log file will be used as a source file for torrentexpander.sh and the resulting files will then be listed in this third_party_log file.
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Deluge + torrentexpander

Post by Cas »

As I said you need an intermediery bash script like this:

Code: Select all

#!/bin/bash
torrentid="$1"
torrentname="$2"
torrentpath="$3"

exec torrentexpander.sh "$torrentpath"
Last edited by johnnyg on Thu Aug 30, 2012 12:52 pm, edited 1 time in total.
Reason: put quotes in case there are spaces
Post Reply