unidown.core.manager¶
Manager of the whole program, contains the most important functions as well as the download routine.
Functions
Check for app updates and print/log them. |
|
|
Download routine. |
|
Convert the option list to a dictionary where the key is the option and the value is the related option. |
|
Initialize the _downloader. |
|
Run a plugin so use the download routine and clean up after. |
|
Close and exit important things. |
- download_from_plugin(plugin)[source]¶
Download routine.
Get plugin from the given name
Get the last overall update time
Load the savestate
Compare last update time with the one from the savestate
Get the download links
Compare received links and their times with the savestate
Clean up names, to eliminate duplicated
Download new and newer links
Check downloaded data
Update savestate
Save new savestate to file
- get_options(options)[source]¶
Convert the option list to a dictionary where the key is the option and the value is the related option. Is called in the init.