Opened 13 years ago

Closed 13 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 13 years ago.
Use Gio to process the file argument

Download all attachments as: .zip

Change History (10)

Changed 13 years ago by mathbr

Use Gio to process the file argument

comment:1 in reply to: ↑ description Changed 13 years ago by mathbr

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 Changed 13 years ago by Cas

  • Milestone changed from Future to 1.3.2

comment:3 Changed 13 years ago by al.cadd9

  • Owner set to nick
  • Status changed from new to assigned

comment:4 Changed 13 years ago by Cas

  • Milestone changed from 1.3.2 to 1.4.0

comment:5 Changed 13 years ago by nick

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 Changed 13 years ago by nick

  • Resolution set to fixed
  • Status changed from assigned to closed

comment:7 Changed 13 years ago by mathbr

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 Changed 8 years ago by Cas

  • Milestone changed from 2.0.x to 2.0

comment:9 Changed 6 years ago by Cas

  • Milestone changed from 2.0 to 2.0.0

Milestone renamed

Note: See TracTickets for help on using tickets.