console
Module for holding console related actions.
check_for_updates()
¤
Check for updates to the current version.
Source code in spotdl/utils/console.py
81 82 83 84 85 86 87 88 |
|
download_ffmpeg()
¤
Handle ffmpeg download process and print the result.
Source code in spotdl/utils/console.py
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 |
|
generate_config()
¤
Generate the config file if it doesn't exist
This is done before the argument parser so it doesn't requires operation
and query
to be passed.
Source code in spotdl/utils/console.py
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
|
generate_initial_config()
¤
Generate the initial config file if it doesn't exist.
Source code in spotdl/utils/console.py
47 48 49 50 51 52 53 54 55 |
|
is_executable()
¤
Check if the application is an prebuilt executable. And has been launched with double click.
Returns¤
True
if the application is an prebuilt executable,False
otherwise.
Source code in spotdl/utils/console.py
35 36 37 38 39 40 41 42 43 44 |
|
is_frozen()
¤
Check if the application is frozen.
Returns¤
True
if the application is frozen,False
otherwise.
Source code in spotdl/utils/console.py
24 25 26 27 28 29 30 31 32 |
|