Page 1 of 2

Auto pickup torrents from folder

Posted: Sun Sep 02, 2007 9:51 am
by sluthead
This was mentioned briefly in the development section but i thought i would make an official request for it.

It would be great to be able to drop torrents in a folder and have them auto picked up and the torrent file moved as well. Configurable options would be the directory to pick up from and the time delay involved (1min - whatever).

Announcing MoveTorrentPlus 1.0.1!

Posted: Mon Sep 17, 2007 8:38 am
by wohali
NOTE: This plugin is officially obsolete as of deluge v0.5.7.1. The only feature it includes that is not in the released code is the ability to add a suffix (e.g., .loaded) to auto-loaded torrents.

ASCII and ye shall receive! Extract this to your plugins directory, e.g. /usr/share/deluge/plugins/ :
Last updated 2007.09.18 06:00 UTC - reuploaded 2007.10.28 05:00 UTC
MoveTorrentPlus-1.0.1.tar.gz
MoveTorrentPlus v1.0.1
(6.2 KiB) Downloaded 1102 times
Features
  • Auto-processes torrent files found in a specified directory
  • Optionally moves auto-loaded torrent files to a different directory
  • Optionally adds extension to auto-loaded torrent files (ex: .loaded)
  • Incorporates Marcos Pinto's Move Torrent Plugin features:
    • Move torrent data to a different directory without having to remove and re-add the torrent (Right-click on torrent to activate)
    • Automatically move finished torrents to a different directory
Notes
  • Disable the MoveTorrent plugin first. This plugin contains all of its functionality.
  • Special thanks to markybob for writing good core and plugin code. It made writing this plugin a snap.
Wishlist
  • Ability to move .torrent file when torrent is done downloading as well as moving the data storage, without incurring a recheck. I think markybob will have to add another interface to the C++ core for me to do this purely in plugin code. Or I could have a go at hacking the core myself...
  • Logging - does anyone want this to log? I'll implement it if I receive enough requests in this thread.

Re: Auto pickup torrents from folder

Posted: Mon Sep 17, 2007 10:28 am
by sluthead
thanks, can't wait to try!

Re: Auto pickup torrents from folder

Posted: Mon Sep 17, 2007 10:34 am
by sluthead
I'm afraid I have some problems with the program closing after setting the preferences.

Code: Select all

Loading MoveTorrentPlus plugin...

(deluge:31769): libgnomevfs-CRITICAL **: gnome_vfs_get_uri_from_local_path: assertion `g_path_is_absolute (local_full_path)' failed

(deluge:31769): libgnomevfs-CRITICAL **: gnome_vfs_get_uri_from_local_path: assertion `g_path_is_absolute (local_full_path)' failed

(deluge:31769): libgnomevfs-CRITICAL **: gnome_vfs_get_uri_from_local_path: assertion `g_path_is_absolute (local_full_path)' failed
Applying preferences
terminate called after throwing an instance of 'libtorrent::invalid_encoding'
  what():  invalid bencoding
Aborted (core dumped)
I'm sure we will get there though, I am very happy about it :D

Re: Auto pickup torrents from folder

Posted: Mon Sep 17, 2007 10:09 pm
by wohali
edit: Fixed. Try v1.0.1.

You may want to remove your ~/.config/deluge/MoveTorrentPlus.config file to fully test this plugin.

Anyone else tried this? Any comments? Please post! Works perfectly here ;)

Re: Auto pickup torrents from folder

Posted: Tue Sep 18, 2007 6:10 pm
by sluthead
nah its not working at all. I removed the file like you said and ensured the other plugin was disabled (which it was). The first time i set the parameters and restarted the torrent didn't get picked up. the second time i opened the preferences and changed the time and pressed save deluge just closed down and will not reopen.

Re: Auto pickup torrents from folder

Posted: Mon Sep 24, 2007 8:20 am
by wohali
weird. Can you send me your prefs file? Everything is working here - need to figure out what's wrong with your setup, my code, or some combination thereof.

Are you running 0.5.5?

Re: Auto pickup torrents from folder

Posted: Tue Oct 02, 2007 7:56 am
by sluthead
I installed the latest version from svn 0.55.95 and the plugin doesn't do anything at all now (despite being enabled).

Ok, now i clicked disable, enable again and deluge shuts down and won't restart.

Maybe it's my version of python (2.5) in gutsy beta.

Re: Auto pickup torrents from folder

Posted: Fri Oct 19, 2007 2:35 am
by ids
Can someone repost that file. The link is down.

Thanks.

Re: Auto pickup torrents from folder

Posted: Thu Oct 25, 2007 6:48 am
by Comm
Hey, yeah can someone else please post that file? It doesn't seem to exist in deluge's web space any more :(