Opened 14 years ago
Closed 14 years ago
#1671 closed Bug (fixed)
transmission-remote --get option not including all files
Reported by: | wilburpan | Owned by: | charles |
---|---|---|---|
Priority: | Normal | Milestone: | 1.50 |
Component: | Daemon | Version: | 1.42 |
Severity: | Normal | Keywords: | |
Cc: |
Description
This is on a Linux box, using transmission-daemon and transmission-remote from a terminal. Using the option -g does not include the range of files I want to download. Hopefully this clip from my terminal session will be self explanatory.
man transmission-remote gives me this documentation for the -g option:
-g --get all | file-index | files
Mark file(s) for download. all marks all all of the torrent's files for downloading, file-index adds a single file to the download
list, and files adds multiple files to the download list, such as "-g1,3-5" to add files #1, #3, #4, and #5 to the download list.
Even though I use the option -g3-6, only file no. 3 gets picked for download. I would expect files 3,4,5, and 6 to be turned on.
-=-=-=-=-=-=-=-=-=-
$ transmission-remote -l[BR]]
ID Done ETA Up Down Ratio Status Name
2 0% Unknown 0.0 0.0 None Idle xxxxxxxxxx
~ $ transmission-remote -t2 -f
xxxxxxxxxx (15 files):
# Done Priority Get Size Name
1: 0% Normal Yes 6.8 MB xxxxxxxxxx
2: 0% Normal Yes 9.5 MB xxxxxxxxxx
3: 0% Normal Yes 8.8 MB xxxxxxxxxx
4: 0% Normal Yes 9.8 MB xxxxxxxxxx
5: 0% Normal Yes 6.5 MB xxxxxxxxxx
6: 0% Normal Yes 7.8 MB xxxxxxxxxx
7: 0% Normal Yes 8.1 MB xxxxxxxxxx
8: 0% Normal Yes 8.2 MB xxxxxxxxxx
9: 0% Normal Yes 9.8 MB xxxxxxxxxx
10: 0% Normal Yes 6.5 MB xxxxxxxxxx
11: 0% Normal Yes 7.2 MB xxxxxxxxxx
12: 0% Normal Yes 9.2 MB xxxxxxxxxx
13: 0% Normal Yes 2.7 MB xxxxxxxxxx
14: 0% Normal Yes 9.8 KB xxxxxxxxxx
15: 0% Normal Yes 47 bytes xxxxxxxxxx
~ $ transmission-remote -t2 -Gall
localhost:9091 responded: "success"
~ $ transmission-remote -t2 -f
xxxxxxxxxx (15 files):
# Done Priority Get Size Name[BR]] 1: 0% Normal No 6.8 MB xxxxxxxxxx
2: 1% Normal No 9.5 MB xxxxxxxxxx
3: 0% Normal No 8.8 MB xxxxxxxxxx
4: 0% Normal No 9.8 MB xxxxxxxxxx
5: 0% Normal No 6.5 MB xxxxxxxxxx
6: 0% Normal No 7.8 MB xxxxxxxxxx
7: 0% Normal No 8.1 MB xxxxxxxxxx
8: 0% Normal No 8.2 MB xxxxxxxxxx
9: 0% Normal No 9.8 MB xxxxxxxxxx
10: 0% Normal No 6.5 MB xxxxxxxxxx
11: 0% Normal No 7.2 MB xxxxxxxxxx
12: 0% Normal No 9.2 MB xxxxxxxxxx
13: 1% Normal No 2.7 MB xxxxxxxxxx
14: 0% Normal No 9.8 KB xxxxxxxxxx
15: 0% Normal No 47 bytes xxxxxxxxxx
~ $ transmission-remote -t2 -g3-6
localhost:9091 responded: "success"
~ $ transmission-remote -t2 -f
xxxxxxxxxx (15 files):
# Done Priority Get Size Name
1: 0% Normal No 6.8 MB xxxxxxxxxx
2: 0% Normal No 9.5 MB xxxxxxxxxx
3: 0% Normal Yes 8.8 MB xxxxxxxxxx
4: 0% Normal No 9.8 MB xxxxxxxxxx
5: 0% Normal No 6.5 MB xxxxxxxxxx
6: 0% Normal No 7.8 MB xxxxxxxxxx
7: 0% Normal No 8.1 MB xxxxxxxxxx
8: 0% Normal No 8.2 MB xxxxxxxxxx
9: 1% Normal No 9.8 MB xxxxxxxxxx
10: 0% Normal No 6.5 MB xxxxxxxxxx
11: 1% Normal No 7.2 MB xxxxxxxxxx
12: 0% Normal No 9.2 MB xxxxxxxxxx
13: 0% Normal No 2.7 MB xxxxxxxxxx
14: 0% Normal No 9.8 KB xxxxxxxxxx
15: 0% Normal No 47 bytes xxxxxxxxxx
Change History (8)
comment:1 Changed 14 years ago by charles
- Component changed from Transmission to Daemon
- Milestone changed from None Set to 1.43
- Owner set to charles
- Status changed from new to assigned
comment:2 Changed 14 years ago by charles
- Milestone changed from 1.43 to 1.60
comment:3 Changed 14 years ago by charles
- Milestone changed from 1.60 to 1.50
comment:4 Changed 14 years ago by charles
- Resolution set to fixed
- Status changed from assigned to closed
comment:5 Changed 14 years ago by tiennou
- Resolution fixed deleted
- Status changed from closed to reopened
Sorry, it seems it still happens on r7852. "./remote -t ? -G0-55" does not disable files 0 through 55.
comment:6 Changed 14 years ago by charles
Confirmed. The parser in tr_rpc_parse_list_str() is just too brittle.
comment:7 Changed 14 years ago by charles
Fixed in trunk in r7854.
comment:8 Changed 14 years ago by charles
- Resolution set to fixed
- Status changed from reopened to closed
Fixed in 1.5x branch in r7855.
fixed in trunk in r7703.
fixed in 1.5x branch in r7704.