From 1ee33f05d47d9d0eb0fbffe1d678a75476fd6c55 Mon Sep 17 00:00:00 2001 From: Sathyajith Bhat Date: Fri, 9 Apr 2021 22:32:43 +0300 Subject: [PATCH] Make album/track/playlist validation as info instead of error (#173) bump up version --- spotify_dl/constants.py | 2 +- spotify_dl/spotify.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spotify_dl/constants.py b/spotify_dl/constants.py index 4cde8948..ab79c3f0 100644 --- a/spotify_dl/constants.py +++ b/spotify_dl/constants.py @@ -1,4 +1,4 @@ __all__ = ['VERSION'] -VERSION = '7.5.0' +VERSION = '7.6.0' SAVE_PATH = '~/.spotifydl' diff --git a/spotify_dl/spotify.py b/spotify_dl/spotify.py index bf1c53ec..9e66af58 100644 --- a/spotify_dl/spotify.py +++ b/spotify_dl/spotify.py @@ -149,9 +149,9 @@ def validate_spotify_url(url): item_type, item_id = parse_spotify_url(url) log.debug(f"Got item type {item_type} and item_id {item_id}") if item_type not in ['album', 'track', 'playlist']: - log.error("Only albums/tracks/playlists are supported") + log.info("Only albums/tracks/playlists are supported") return False if item_id is None: - log.error("Couldn't get a valid id") + log.info("Couldn't get a valid id") return False return True