In-Client torrent search for Deluge-1.0

Suggest, post, or discuss plugins for Deluge
User avatar
zachtib
Leecher
Leecher
Posts: 97
Joined: Thu May 24, 2007 3:26 pm
Location: Louisville, KY
Contact:

In-Client torrent search for Deluge-1.0

Post by zachtib »

I posted a screenshot on my blog a few days ago, http://collegegeek.org/2008/08/05/in-cl ... or-deluge/

Now, I'm putting this up for anyone who wants to play with it. Check the link for a screenshot.

At the moment, it only supports Isohunt and Mininova (and experimental support for ThePirateBay, see the README)

However, any torrent search engine that supports viewing search results as an RSS feed can easily be added, so be sure to tell me any that you know of!

Update: tgz should be fixed
Attachments
Search-0.1.tar.gz
(4.95 KiB) Downloaded 454 times
Former Deluge Developer
mvoncken
Developer
Developer
Posts: 225
Joined: Mon Sep 03, 2007 9:38 pm

Re: In-Client torrent search for Deluge-1.0

Post by mvoncken »

zachtib, great work on that plugin!

But I dont think that tgz is ready for distribution.
I built your plugin into an egg, and I get an error on :
[WARNING ] 22:07:33 init:44 Unable to enable plugin: 'search/data/search_tab.glade'
That glade file isn't even in the tgz , it would be great if you posted an egg that you would just have to copy to "~/.config/deluge/plugins"
dev: webui, core, labels | irc:vonck7 |
User avatar
zachtib
Leecher
Leecher
Posts: 97
Joined: Thu May 24, 2007 3:26 pm
Location: Louisville, KY
Contact:

Re: In-Client torrent search for Deluge-1.0

Post by zachtib »

mvoncken wrote:zachtib, great work on that plugin!

But I dont think that tgz is ready for distribution.
I built your plugin into an egg, and I get an error on :
[WARNING ] 22:07:33 init:44 Unable to enable plugin: 'search/data/search_tab.glade'
That glade file isn't even in the tgz , it would be great if you posted an egg that you would just have to copy to "~/.config/deluge/plugins"
My bad, I've uploaded the egg, hopefully that works. It was built on 64bit ubuntu, dunno if that matters. i'll see about fixing the tgz as well
Former Deluge Developer
loki
Moderator
Moderator
Posts: 787
Joined: Tue Dec 04, 2007 3:27 pm
Location: MI, USA

Re: In-Client torrent search for Deluge-1.0

Post by loki »

Just for future reference is there a way to use these plugins for windows, or does it have to wait for it to be officially released in the program?
If the former, how is it installed/inserted? If the latter, I might suggest it to be an option/feature in case some 3rd party creates a plugin then never gets integrated in the build. That is of course assuming you allow 3rd party plugins, I guess that could be another question...
mvoncken
Developer
Developer
Posts: 225
Joined: Mon Sep 03, 2007 9:38 pm

Re: In-Client torrent search for Deluge-1.0

Post by mvoncken »

Zachtib, i can't find your egg, so I built one from the source.

Feature-request : sort on any column , especially sorting on seeders would be nice.

It's a python 2.5 egg , but 98% of you use python 2.5 anyway.
It should work on windows, because i think that's built with python 2.5 too.
deluge eggs are like azureus jar files , so we'e open to 3rd party plugins.

Installation
1 : rename Search.zip to Search.egg The extension egg is not allowed. on the forum:( , we should fix that
2:
*nix:
Place Search.egg in ~/.config/deluge/plugins

Windows (not 100% shure..):
Place Search.egg C:\Documents and Settings\[User Name]\Deluge\plugins

3: kill daemon (not needed for classic mode)
4: restart deluge.
5: enable plugin in prefs.
Attachments
Search.zip
python 2.5 search.egg
(13.85 KiB) Downloaded 467 times
dev: webui, core, labels | irc:vonck7 |
User avatar
zachtib
Leecher
Leecher
Posts: 97
Joined: Thu May 24, 2007 3:26 pm
Location: Louisville, KY
Contact:

Re: In-Client torrent search for Deluge-1.0

Post by zachtib »

mvoncken wrote:Zachtib, i can't find your egg, so I built one from the source.
The extension egg is not allowed. on the forum:(
Yeah, that's why, but I managed to fix the source tgz.

No idea about windows, either, sadly.

One of the next big things is going to be writing custom parsers for sites that don't offer an RSS feed. TBP and Demonoid are big on my list.
Former Deluge Developer
mvoncken
Developer
Developer
Posts: 225
Joined: Mon Sep 03, 2007 9:38 pm

Re: In-Client torrent search for Deluge-1.0

Post by mvoncken »

zachtib wrote:
mvoncken wrote:Zachtib, i can't find your egg, so I built one from the source.
The extension egg is not allowed. on the forum:(
Yeah, that's why, but I managed to fix the source tgz.

No idea about windows, either, sadly.

One of the next big things is going to be writing custom parsers for sites that don't offer an RSS feed. TBP and Demonoid are big on my list.
Well my egg works, even if I had to rename it to .zip , and i'll bug markybob or andar to fix that attachment problem.
Windows should work with an egg, i just haven't tested it.
Writing custom parsers is hard :( , I can recommend Beautiful Soup http://www.crummy.com/software/BeautifulSoup/
dev: webui, core, labels | irc:vonck7 |
User avatar
zachtib
Leecher
Leecher
Posts: 97
Joined: Thu May 24, 2007 3:26 pm
Location: Louisville, KY
Contact:

Re: In-Client torrent search for Deluge-1.0

Post by zachtib »

mvoncken wrote: Well my egg works, even if I had to rename it to .zip , and i'll bug markybob or andar to fix that attachment problem.
I just checked in the administration panel, and I didn't see any way to enable egg attachments.

Might have to install some kind of extension, but for now, I think zipping them is the way to go
Former Deluge Developer
loki
Moderator
Moderator
Posts: 787
Joined: Tue Dec 04, 2007 3:27 pm
Location: MI, USA

Re: In-Client torrent search for Deluge-1.0

Post by loki »

Well, since RC5 won't run on windows, us x64 users at least... I tried RC4, before the move to the program files folder. The egg files are in a very weird location or so I think anyway... c:\python25\lib\site-packages\deluge-0.9.04-py2.5-win32.egg\deluge\plugins
It does work though, no need to install or unzip, just rename .zip to .egg and copy to that location.
mvoncken
Developer
Developer
Posts: 225
Joined: Mon Sep 03, 2007 9:38 pm

Re: In-Client torrent search for Deluge-1.0

Post by mvoncken »

loki wrote:c:\python25\lib\site-packages\deluge-0.9.04-py2.5-win32.egg\deluge\plugins
It does work though, no need to install or unzip, just rename .zip to .egg and copy to that location.
Please try the config-location too , eggs work from the main progam folder, but they should also work in the config dir.
step 1.5 : create the plugins directory in your config dir. ( C:\Documents and Settings\[User Name]\Deluge for windows).
I think we should add an "install-plugin" option to the gtk-ui, that would make it easier to understand.
dev: webui, core, labels | irc:vonck7 |
Post Reply