summaryrefslogtreecommitdiff
path: root/jamos
diff options
context:
space:
mode:
Diffstat (limited to 'jamos')
-rwxr-xr-xjamos8
1 files changed, 6 insertions, 2 deletions
diff --git a/jamos b/jamos
index 15209b8..309ad6c 100755
--- a/jamos
+++ b/jamos
@@ -140,8 +140,12 @@ if __name__ == "__main__":
# Get the playlist url from the command line
playlist_url = get_playlist_url()
- # Download the songs
- download_song(playlist_url)
+ try:
+ # TODO: make this continue downloading if a song fails
+ download_song(playlist_url)
+ except Exception as ex:
+ # TODO: Handle this a different way
+ print(ex)
files = get_all_files(MUSIC_DIRECTORY)