Run external program parameters #2513

Closed
opened 2026-02-21 16:15:34 -05:00 by deekerman · 11 comments
Owner

Originally created by @Shulander on GitHub (May 18, 2015).

I have some issues with the external program parameters.
For a torrent with multiples files i dont receive the correct torrent path, Ex.:

torrent base path: d:\torrents
torrent name: My Torrent Name
torrent subdir: My.Torrent.Name

current parameters

%f: d:\torrents 
%n: My Torrent Name (it's not subdir)

suggestion

%f: d:\torrents\My.Torrent.Name
%n: My Torrent Name (it's not subdir)

For my script i need the complete path (base path + subdir (d:\torrents\My.Torrent.Name)) in order to copy the file to another folder, but the parameter %f only has the base path (the path where all my torrents were downloaded) and i need the full path.

In some cases i can use the torrent name but there are torrents with different name and subdir.

Please add the subdir to the %f parameter or add a new parameter for the subdir.

Thank you.

Originally created by @Shulander on GitHub (May 18, 2015). I have some issues with the external program parameters. For a torrent with multiples files i dont receive the correct torrent path, Ex.: ``` torrent base path: d:\torrents torrent name: My Torrent Name torrent subdir: My.Torrent.Name ``` **current parameters** ``` %f: d:\torrents %n: My Torrent Name (it's not subdir) ``` **suggestion** ``` %f: d:\torrents\My.Torrent.Name %n: My Torrent Name (it's not subdir) ``` For my script i need the complete path (base path + subdir (d:\torrents\My.Torrent.Name)) in order to copy the file to another folder, but the parameter %f only has the base path (the path where all my torrents were downloaded) and i need the full path. In some cases i can use the torrent name but there are torrents with different name and subdir. Please add the subdir to the %f parameter or add a new parameter for the subdir. Thank you.
Author
Owner

@ngosang commented on GitHub (May 20, 2015):

Related to #1522, #1291 and #238.

@ngosang commented on GitHub (May 20, 2015): Related to #1522, #1291 and #238.
Author
Owner

@ngosang commented on GitHub (May 22, 2015):

These are the parameters in uTorrent:

@ngosang commented on GitHub (May 22, 2015): These are the parameters in uTorrent: ![](http://i.imgur.com/Vrcvj6T.png)
Author
Owner

@Yoshi900 commented on GitHub (Jun 10, 2015):

I would love to move from utorrent as well but i need these parameters to be passed through as well :)

@Yoshi900 commented on GitHub (Jun 10, 2015): I would love to move from utorrent as well but i need these parameters to be passed through as well :)
Author
Owner

@chrishirst commented on GitHub (Jun 10, 2015):

In some cases i can use the torrent name but there are torrents with different name and subdir.

Possibly because you have edited the 'name' (the task list caption) or edited the top most folder name.

@chrishirst commented on GitHub (Jun 10, 2015): > In some cases i can use the torrent name but there are torrents with different name and subdir. Possibly because you have edited the 'name' (the task list caption) or edited the top most folder name.
Author
Owner

@rd-su commented on GitHub (Jul 16, 2015):

Please, improve this feature, so we can move from uTorrent... ;)

Thanks

@rd-su commented on GitHub (Jul 16, 2015): Please, improve this feature, so we can move from uTorrent... ;) Thanks
Author
Owner

@Chocobo1 commented on GitHub (Jul 19, 2015):

Should we follow utorrent format (%F, %D, etc.)?
So that user won't have to change their script.

@Chocobo1 commented on GitHub (Jul 19, 2015): Should we follow utorrent format (`%F`, `%D`, etc.)? So that user won't have to change their script.
Author
Owner

@ngosang commented on GitHub (Jul 19, 2015):

Should we follow utorrent format (%F, %D, etc.)?

I think yes. But we also can keep backwards compatibility:
%f = Torrent path = %D
%n = Torrent name = %N

@ngosang commented on GitHub (Jul 19, 2015): > Should we follow utorrent format (%F, %D, etc.)? I think yes. But we also can keep backwards compatibility: %f = Torrent path = %D %n = Torrent name = %N
Author
Owner

@Chocobo1 commented on GitHub (Jul 19, 2015):

Refer to PR #3457.

@Chocobo1 commented on GitHub (Jul 19, 2015): Refer to PR #3457.
Author
Owner

@rd-su commented on GitHub (Jul 19, 2015):

@Chocobo1,

But if you and others also have some suggestion to make, would be nice... ;)

Thanks

@rd-su commented on GitHub (Jul 19, 2015): @Chocobo1, But if you and others also have some suggestion to make, would be nice... ;) Thanks
Author
Owner

@ngosang commented on GitHub (Jul 19, 2015):

@ruiumbelino you can suggest more parameters here #3457.

@ngosang commented on GitHub (Jul 19, 2015): @ruiumbelino you can suggest more parameters here #3457.
Author
Owner

@sledgehammer999 commented on GitHub (Oct 25, 2015):

Most of these were implemented in #3457. However, in #3984 we discuss slight changes to them. If anyone has something to say please comment there.

@sledgehammer999 commented on GitHub (Oct 25, 2015): Most of these were implemented in #3457. However, in #3984 we discuss slight changes to them. If anyone has something to say please comment there.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/qBittorrent#2513
No description provided.