In the next commit I change conf.settings to be initialized
at runtime instead of load time and so any import of
`from lbrynet.conf import settings` will be and stay None if
it happens before the initialization.
-file_name is the name of the file in the downloads folder
-stream_info is a dict of the metadata in a name claim, it can be used
to download streams where the claim hasn’t yet been added to the
nametrie
-fix daemon functions to start/stop lbry files
-remove unused stuff in LBRYFileManager
-improve and use new get_lbry_file function instead of _check_history,
which didn’t use the lbry file manager
-use said function to let delete_lbry_file use the same search keys
(sd_hash, name, and file_name)
-logging in LBRYDownloader
-Add LBRYFileProducer, to host the contents of a download without
having to keep re-opening it as it is added to
-included sd hash in ManagedLBRYFileDownloader, to make comparing the
contents of the file manager against name claims easier
-add get_lbry_file function, which returns information about a LBRY
file found by sd_hash, file name, or lbry uri
-set_settings accepts a dict of settings
-adds upload_log field, defaulting on true, this uploads the lbry
log file to lbry.io to help figure out if and where things aren’t
working
-default_download_directory is the key of the path where files are
saved
-gets publish working with sources
-adds check_first_run function, returns True/False
-previously only is_running would work during startup, check_first_run,
get_time_behind_blockchain, and stop have been added
-requires six 1.9, 1.10.0 produced errors
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.