Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#3825 closed Enhancement (invalid)

Add environment variable TR_DOWNLOADED_PATH to post download script

Reported by: LoveLoveMeDoYouKnow Owned by: charles
Priority: Normal Milestone: None Set
Component: libtransmission Version: 2.13
Severity: Normal Keywords:
Cc:

Description

Add environment variable TR_DOWNLOADED_PATH to the "Call script when download complete" script. TR_DOWNLOADED_PATH will be the full path to the downloaded file(s). This will enable the script to do something with the downloaded file(s), such as copy to another location. See forum discussion: https://forum.transmissionbt.com/viewtopic.php?f=3&t=10993&p=51096#p51096.

Please note:

  • A torrent might download multiple files.
  • Some files in a torrent might be disabled.
  • Sometimes two torrents might download to the same folder.

We therefore need a way to pass to the script paths to all the files downloaded and ONLY to the files actually downloaded by the specific torrent. So TR_DOWNLOADED_PATH might actually contain multiple paths (maybe semicolon separated?)

Change History (2)

comment:1 Changed 11 years ago by charles

  • Resolution set to invalid
  • Status changed from new to closed

After continued discussion in https://forum.transmissionbt.com/viewtopic.php?f=3&t=10993 I'm no longer sure that this is a good idea.

Maybe I was too hasty. Let's finish discussing this in the forums before moving forward in trac.

comment:2 Changed 11 years ago by charles

  • Milestone changed from 2.20 to None Set
Note: See TracTickets for help on using tickets.