Skip to content

Commit

Permalink
Make album/track/playlist validation as info instead of error (#173)
Browse files Browse the repository at this point in the history
bump up version
  • Loading branch information
SathyaBhat authored Apr 9, 2021
1 parent fca7ca7 commit 1ee33f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spotify_dl/constants.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__all__ = ['VERSION']

VERSION = '7.5.0'
VERSION = '7.6.0'
SAVE_PATH = '~/.spotifydl'
4 changes: 2 additions & 2 deletions spotify_dl/spotify.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1ee33f0

Please sign in to comment.