Opened 12 years ago

Closed 11 years ago

Last modified 6 years ago

#2347 closed patch (Fixed)

Add get_orig_files() to get torrent filenames without any renaming

Reported by: Chris Eby Owned by: Calum
Priority: minor Milestone: 2.0.0
Component: Core Version: develop
Keywords: Cc:

Description

I'm writing a script that renames some torrents' files. In the event that the script is run twice on the same torrent, it is useful to have the files' original names. There is already a function in libtorrent that gives exactly what I want, however it is not exposed in Deluge. This patch just exposes it.

Attachments (1)

0001-Add-get_orig_files-to-get-filenames-without-any-rena.patch (1.7 KB ) - added by Chris Eby 12 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 by Chris Eby, 12 years ago

Also, Torrent._create_status_funcs says "if you add a key here->add it to core.py STATUS_KEYS too". Is this correct? I didn't see anything like that in core.py.

comment:2 by Calum, 11 years ago

Milestone: Future1.4.0
Owner: set to Calum
Status: newassigned

That comment is very old and been removed now.

comment:3 by Calum, 11 years ago

Resolution: Fixed
Status: assignedclosed

Added: [25c7e40574]

comment:4 by Calum, 9 years ago

Milestone: 2.0.x2.0

comment:5 by Calum, 6 years ago

Milestone: 2.02.0.0

Milestone renamed

Note: See TracTickets for help on using tickets.