combustion icon indicating copy to clipboard operation
combustion copied to clipboard

Torrent Destination Folder not pre-filled with downlad-dir path

Open OscarVanL opened this issue 6 years ago • 2 comments

Transmission has a number of CLI configuration parameters (see here), one of which is download-dir. This sets the 'default' download directory.

Using the default or kettu web UIs this box is prefilled to the value of download-dir. See screenshot: Capture2 (Download directory is pre-filled) Whereas in combustion UI this does not happen: Capture3 (Download directory is empty, displaying NaN TB free)

I think combustion should autofill this box based on the download-dir parameter.

Observing the source code, it appears this is the intended behaviour this.torrentUpload.setDownloadDir(this.props.session_store.settings['download-dir']); in index.js, however for some reason this does not happen.

OscarVanL avatar Dec 27 '19 00:12 OscarVanL

this.props.session_store.settings is empty on inital render. I used when function of mobx to wait until settings will be populated.

ozamorowski avatar Feb 12 '20 18:02 ozamorowski

Nice, good job finding the cause :)

OscarVanL avatar Feb 13 '20 00:02 OscarVanL