Questions tagged [deluge]

An open source, cross-platform BitTorrent client written in Python.

9 questions
2
votes
2 answers

Creating a bash script to change permissions with Deluge execute plugin

I'm trying to make a script in bash (first time) for the Deluge plugin execute so after a download is complete it will change the permissions of the downloaded torrent. its: #!bin/bash torrentpath=$3 sudo chmod -R 777 $torrentpath Also tried with…
Totopesce
  • 21
  • 1
2
votes
0 answers

Using socat to access deluge daemon in a different namespace

I'm using namespaced-openvpn to ensure that my torrent traffic in deluge is always behind a VPN. A modified script from this blog post helped to connect the VPN namespace to the real network: ip link add vpn0 type veth peer name vpn1 ip link set…
2
votes
1 answer

How do I script deluge to get information about torrents?

Dealing with a lot of torrents is not always convenient when using GUI. I tried deluge-console info, but that didn't give all the info I wanted. So, to make it clear, what I need is a script, that shows how to get information about torrents under…
x-yuri
  • 3,223
  • 10
  • 39
  • 62
1
vote
1 answer

Script to make Deluge torrent client recheck downloads when new torrent is added?

I download torrents that are updated periodically. When the torrent is updated / when a new version of the torrent is released, it uses the exact same name as the previous versions of the torrent, contains all the same files as the previous…
1
vote
1 answer

iptables block vpn from reconnecting

I am having a bit of trouble with a solution that I have come up with for VPN access. Here is what I want: all traffic that comes from deluge always goes through the VPN when VPN disconnects, deluge's internet connect is cut when VPN disconnects, I…
nojohnny101
  • 131
  • 5
0
votes
0 answers

Deluge bash script idea, do not start download with x or less peers at start of download, can someone point me in right research direction?

Not asking someone to do my work for me I know the golden rule of SO/SE but this shell script would be really helpful to me, basically if a download starts with x or less peers, it stops and deletes torrent and data, usually 2 peers is the number…
Toddd
  • 11
  • 2
0
votes
0 answers

How do I derive multiple bash variables from a folder path and filenames?

This is about the twentieth time I've tried to write this post but it always becomes a behemoth... so I'm going to try and keep it short. Basically what I want to do is push my noobie skills to the limit by writing a script that take the output from…
0
votes
1 answer

Program will not run on CRONTAB

I'm trying to have crontab run deluge-gtk run at a specified time but for some reason nothing happens. I'm on Debian 9.4 (stretch). Here is what I have on my crontab file: 30 16 * * * export DISPLAY=:0 && /usr/bin/deluge --ui=gtk I've also tried 30…
4rb3l
  • 51
  • 2
  • 6
0
votes
2 answers

How to free up space on RPi 2 root card?

I just set up my RPi 2 running Debian (few months old) as a Torrent box with this tutorial. I created a directory on /media for the USB Thumb stick to automount but I must have made a mistake on that step. As the torrent seemed to work fine I left…
BharathYes
  • 133
  • 7