Torrent alias plugin

Suggest, post, or discuss plugins for Deluge
Post Reply
the_ol

Torrent alias plugin

Post by the_ol »

How difficult would it be to make a plugin that would allow you to assign an alias to a torrent in the download window? Like say there's a long torrent name that has a lot of extra details and I want to be able to recognize it more easily, I could right-click and do "Assign Alias" and the alias I give it would be the name that appears in the download box (without renaming the actual files.

I was looking through the included plugins and it seems a little above my ability, but if I could be pointed in the right direction I might be able to do it myself. I think this would be a pretty useful plugin.
Rockyblizzard
Member
Member
Posts: 12
Joined: Tue Nov 27, 2007 4:20 pm
Location: Seremban, Negeri Sembilan, Malaysia
Contact:

Re: Torrent alias plugin

Post by Rockyblizzard »

I would want the same ability too !
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: Torrent alias plugin

Post by johnnyg »

the_ol wrote:if I could be pointed in the right direction I might be able to do it myself.
start by having a read of the python tutorial if you don't know how to write python already.
As for writing the plugin have a look at currently existing plugins to have a feel of how it all works. I'm pretty sure for the actual plugin all you need is a __init__.py file
deadlikeoscar
Member
Member
Posts: 23
Joined: Tue Jul 10, 2007 2:19 am

Re: Torrent alias plugin

Post by deadlikeoscar »

Don't get me wrong, I think this idea is GREAT, but why do I get a picture of some guy renaming all of his downloads to "not porn" in my head. :D
danii
Seeder
Seeder
Posts: 123
Joined: Tue Oct 23, 2007 10:29 pm
Location: Braga, Portugal

Re: Torrent alias plugin

Post by danii »

check this post it's gonna be available in 0.6 http://forum.deluge-torrent.org/viewtop ... =834#p3988
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: Torrent alias plugin

Post by johnnyg »

danii wrote:check this post it's gonna be available in 0.6 http://forum.deluge-torrent.org/viewtop ... =834#p3988
that post talks about labels which are different: labels are like categories used to organise your downloads/uploads (eg Music, TV Shows, etc.).

he's talking about giving an alias to the name of the torrent, i.e. renaming what name appears in the main window which could be useful for shortening long torrent names or as deadlikeoscar said giving torrents safe for work names :P
the_ol

Re: Torrent alias plugin

Post by the_ol »

I was thinking for a bit more aesthetically pleasing names (no Xx.DaNcE_MiX_07.xX[320kbps][2007][extraneousinformation][ugliness]) but I guess it could help make things sfw too :)

I'll probably try my hand at it once finals are over, I've not worked with Python much but I do have programming experience elsewhere (a good bit with Perl and C++) so maybe I can whip something up. Thanks for the tutorial link.
Post Reply