Fixes an error if you don’t have a conf file set up, previously it
would fail because the AutoFetcher object doesn’t have a console object
until it’s called for the first time
Adds a daemon for lbrynet. Currently commands are limited the following:
download_name(name)
resolve_name(name)
get_downloads
stop
This allows other programs to easily interact with lbrynet, such as
LBRYURIHandler. LBRYURIHandler can be built with py2app, the resulting
plist file must be edited in the same way the committed plist file has
been edited. When built and installed to the /Applications folder
lbry:// domain names will download and open the corresponding file so
long as the daemon is running.
If an invalid stream descriptor hash is entered, abort and
give a useful error.
If a name doesn't resolve, abort and give a useful error.
If a name resolves to something invalid, abort and give a useful error.
More specific exceptions are raised when problems are encountered
looking up metadata and validating stream descriptor files, and
on the GUI those more specific exceptions are used to prevent
errors from being presented to the user.
If the user has selected the option to re-upload data for some
stream, blobs downloaded for that purpose will not be deleted
when they are finished being output. Instead, by default, for
the GUI they will be deleted when the stream is removed from
the GUI. That can be changed so they are not deleted at all,
using the lbry.conf file.
Put stream downloader options into its own class, and make stream
downloader options global to the stream type rather than specific
to each factory.
Show downloader options in the lbrynet-downloader-gui.
Make a class for downloader option choices, so that the descriptions
can be displayed.
In the console, if there are multiple choices for the download
option, make it a list selected by its index.
Make sure that the ConnectionManager closes properly when some of
the connections fail to open (e.g. due to a host being down)