Opened 14 years ago

Closed 14 years ago

Last modified 6 years ago

#1549 closed patch (Fixed)

Allow for arbitrary protocols in "add"

Reported by: mathbr Owned by: nick
Priority: minor Milestone: 2.0.0
Component: Console UI Version: other (please specify)
Keywords: Cc:

Description

The "add" command should allow for arbitrary protocols to enable usage like this:

$ deluge-console add http://url/to/file.torrent

Attached is a patch which uses Gio to accomplish this. Not handled here are private trackers which require sending cookies or the like.

Attachments (1)

deluge-console-add-gio.patch (1.7 KB ) - added by mathbr 14 years ago.
Use Gio to process the file argument

Download all attachments as: .zip

Change History (10)

by mathbr, 14 years ago

Use Gio to process the file argument

in reply to:  description comment:1 by mathbr, 14 years ago

Replying to mathbr:

The "add" command should allow for arbitrary protocols to enable usage like this:

$ deluge-console add http://url/to/file.torrent

This also fixes #1517.

comment:2 by Calum, 14 years ago

Milestone: Future1.3.2

comment:3 by al.cadd9, 14 years ago

Owner: set to nick
Status: newassigned

comment:4 by Calum, 14 years ago

Milestone: 1.3.21.4.0

comment:5 by nick, 14 years ago

this is now supported. you can add both urls and magnet uris using the add command and from the add dialog.

it doesn't currently use gio but rather uses the add_torrent_url and add_torrent_magnet functionality from core. if we move to using gio more generally in deluge these can be updated to use gio.

comment:6 by nick, 14 years ago

Resolution: fixed
Status: assignedclosed

comment:7 by mathbr, 14 years ago

Thanks a lot. :-)

Just curious: is it not common within Deluge to link to the changeset if a ticket is marked as fixed?

comment:8 by Calum, 9 years ago

Milestone: 2.0.x2.0

comment:9 by Calum, 6 years ago

Milestone: 2.02.0.0

Milestone renamed

Note: See TracTickets for help on using tickets.