diff options
author | Jackson Taylor <jackson@jacksontaylor.xyz> | 2021-11-15 16:33:06 -0500 |
---|---|---|
committer | Jackson Taylor <jackson@jacksontaylor.xyz> | 2022-04-05 16:52:12 -0400 |
commit | 4e184958440dff6ad7fe9aad62eefb8d1d9020fe (patch) | |
tree | 4216a0c6b2b4ef21054497e3b97315a5eb595da1 | |
parent | 7a77af991aa92c1905565757e534244188550f8c (diff) |
Remove unused functions and variables
-rwxr-xr-x | jamos | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -12,11 +12,6 @@ import youtube_dl # MUSIC_DIRECTORY = "~/Music/" MUSIC_DIRECTORY = "./music/" -COMMANDS = ['extra', 'extension', 'stuff', 'errors', - 'email', 'foobar', 'foo'] -FILES = [] -DIRECTORIES = [] - AUDIO_OPTIONS = { 'format': 'mp3/bestaudio/best', 'cookiefile': 'cookies.txt', @@ -66,15 +61,6 @@ def get_all_files(directory): return files -def get_directories(): - files = os.listdir() - global DIRECTORIES - - for f in files: - if os.path.isdir(f): - DIRECTORIES.append(f) - - # TODO: Make this better with argparse def get_playlist_url(): return sys.argv[1] |