Sorry, not much of a programmer either! Try searching on google, maybe you will come across something? This seems to be an error related to the characters in the torrent name (perhaps your version of python and/or this script is unable to handle unicode).
Good luck!
Search found 7 matches
- Tue Apr 03, 2012 3:00 am
- Forum: Plugins
- Topic: [Script] Cron to delete Torrents and Files over certain age
- Replies: 16
- Views: 27551
- Fri Jul 22, 2011 6:14 am
- Forum: Plugins
- Topic: [Script] Cron to delete Torrents and Files over certain age
- Replies: 16
- Views: 27551
Re: Cron to delete Torrents and Files over certain age
Thanks! That sparked a though, and prompted a re-write. Here is the new code, working wonderfully! Cleaned it up a bit too and added a few more options. Will update the original post for other users to reference. #!/usr/bin/python from deluge.log import LOG as log from deluge.ui.client import client...
- Thu Jul 21, 2011 7:18 pm
- Forum: Plugins
- Topic: [Script] Cron to delete Torrents and Files over certain age
- Replies: 16
- Views: 27551
Re: Cron to delete Torrents and Files over certain age
Thanks, that makes sense. Here is my reformatted code based on what you posted: #!/usr/bin/python from deluge.log import LOG as log from deluge.ui.client import client import deluge.component as component from twisted.internet import reactor, defer import time ############ # Change the following d =...
- Thu Jul 21, 2011 6:21 pm
- Forum: Plugins
- Topic: [Script] Cron to delete Torrents and Files over certain age
- Replies: 16
- Views: 27551
Re: Cron to delete Torrents and Files over certain age
Ah, thanks for the tip! I am new to both python and twisted... Seems that I managed to get it working, but with one additional quirk. The lines client.disconnect() and reactor.stop() are executed before remove_torrent ever has a chance to execute! The revised script below works, but needs to be ende...
- Thu Jul 21, 2011 4:13 am
- Forum: Plugins
- Topic: [Script] Cron to delete Torrents and Files over certain age
- Replies: 16
- Views: 27551
Re: Cron to delete Torrents and Files over certain age
Exactly. And, when running the daemon with debug output, it doesn't even show any of the torrentmanager.remove debug output. As if the command never even runs.
- Tue Jul 19, 2011 9:29 pm
- Forum: Plugins
- Topic: [Script] Cron to delete Torrents and Files over certain age
- Replies: 16
- Views: 27551
[Script] Cron to delete Torrents and Files over certain age
UPDATE: Final working code! This is a script that can be run from the command line by executing "python script.py" where the file is saved as 'script.py'. It parses the deluge daemon for torrents, find which ones are over a certain age, removes the torrent, and optionally deletes the file...
- Thu Jul 07, 2011 3:07 pm
- Forum: Plugins
- Topic: Blocklist Exceptions
- Replies: 1
- Views: 2528
Blocklist Exceptions
Hello, Can the blocklist plugin be updated to include exceptions? Seems like there are a few trackers that are blocked by the default blocklists that are available around the net. The problem is with the deluge default tracker, IpfilterX by Nexus23, and even the Bluetrack Level 1 list. Is this somet...