Opened 11 years ago

Closed 10 years ago

Last modified 6 years ago

#2347 closed patch (Fixed)

Add get_orig_files() to get torrent filenames without any renaming

Reported by: kreed Owned by: Cas
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 kreed 11 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 11 years ago by kreed

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

  • Milestone changed from Future to 1.4.0
  • Owner set to Cas
  • Status changed from new to assigned

That comment is very old and been removed now.

comment:3 Changed 10 years ago by Cas

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

Added: [25c7e40574]

comment:4 Changed 8 years ago by Cas

  • Milestone changed from 2.0.x to 2.0

comment:5 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.