diff options
-rwxr-xr-x | jamos | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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) |