configure asks for and creates uploads dir, but not downloads #850

Open
opened 2018-12-22 20:18:11 +01:00 by jessopb · 4 comments
jessopb commented 2018-12-22 20:18:11 +01:00 (Migrated from github.com)

Currently, configure relies on a default home Downloads directory to be created, but will happily create Uploads. If the target OS doesn't have a Downloads directory, the daemon is unable to download content.

Currently, configure relies on a default home Downloads directory to be created, but will happily create Uploads. If the target OS doesn't have a Downloads directory, the daemon is unable to download content.
tzarebczan commented 2018-12-22 20:22:41 +01:00 (Migrated from github.com)

I don't think I've ever seen the daemon fail to make the default download directory on any OS. This should still be a configurable setting through the setup cli tool.

I don't think I've ever seen the daemon fail to make the default download directory on any OS. This should still be a configurable setting through the setup cli tool.
jessopb commented 2018-12-22 20:27:29 +01:00 (Migrated from github.com)

Clement's image issues were solved by typing "mkdir Downloads". the speech cli only asks for a setting for Uploads, and creates that. So far speech has by defalut been relying on standard Downloads directory supplied by the OS (which probably isn't ideal as it mixes lbry files with whatever else is downloaded.)

Clement's image issues were solved by typing "mkdir Downloads". the speech cli only asks for a setting for Uploads, and creates that. So far speech has by defalut been relying on standard Downloads directory supplied by the OS (which probably isn't ideal as it mixes lbry files with whatever else is downloaded.)
jessopb commented 2018-12-22 20:33:44 +01:00 (Migrated from github.com)

It may be a good point that creating the directory for lbrynet is out of scope for speech, as opposed to just maybe knowing where it is.

It may be a good point that creating the directory for lbrynet is out of scope for speech, as opposed to just maybe knowing where it is.
jessopb commented 2019-01-02 22:52:21 +01:00 (Migrated from github.com)

It's probably best to give speech siteConfig the lbrynet root environment directory, prehaps create Uploads and Downloads there, although lbrynet should be responsible for creating those.

It's probably best to give speech siteConfig the lbrynet root environment directory, prehaps create Uploads and Downloads there, although lbrynet should be responsible for creating those.
This discussion has been locked. Commenting is limited to contributors.
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: LBRYCommunity/spee.ch#850
No description provided.