diff --git a/GETTING_STARTED.md b/GETTING_STARTED.md index 321f082..11e0da3 100644 --- a/GETTING_STARTED.md +++ b/GETTING_STARTED.md @@ -11,7 +11,7 @@ You need Python 3.7+. To download songs as MP3, you will need ffmpeg. pip3 install spotify_dl -1. Login to [Spotify developer console](https://developer.spotify.com/my-applications/#!/applications) and click on "Create an App". Fill in details for name and description +1. Login to [Spotify developer console](https://developer.spotify.com/dashboard) and click on "Create an App". Fill in details for name and description 1. Make a note of Client ID and Client Secret. These values need to be then set `SPOTIPY_CLIENT_ID`, `SPOTIPY_CLIENT_SECRET` environment variables respectively. @@ -23,12 +23,14 @@ You need Python 3.7+. To download songs as MP3, you will need ffmpeg. export SPOTIPY_CLIENT_SECRET=your-spotify-client-secret Windows Powershell: - $env:SPOTIPY_CLIENT_ID=your-spotify-client-id - $env:SPOTIPY_CLIENT_SECRET=your-spotify-client-secret + + $env:SPOTIPY_CLIENT_ID=your-spotify-client-id + $env:SPOTIPY_CLIENT_SECRET=your-spotify-client-secret Windows CMD: - set SPOTIPY_CLIENT_ID=your-spotify-client-id - set SPOTIPY_CLIENT_SECRET=your-spotify-client-secret + + set SPOTIPY_CLIENT_ID=your-spotify-client-id + set SPOTIPY_CLIENT_SECRET=your-spotify-client-secret See [this question](http://superuser.com/a/284351/4377) for more info, diff --git a/spotify_dl/constants.py b/spotify_dl/constants.py index 0324f88..652bf60 100644 --- a/spotify_dl/constants.py +++ b/spotify_dl/constants.py @@ -3,7 +3,7 @@ __all__ = ["VERSION"] -VERSION = "8.6.0" +VERSION = "8.7.0" if os.getenv("XDG_CACHE_HOME") is not None: SAVE_PATH = os.getenv("XDG_CACHE_HOME") + "/spotifydl" diff --git a/spotify_dl/scaffold.py b/spotify_dl/scaffold.py index 5e2ee17..f8df7ee 100644 --- a/spotify_dl/scaffold.py +++ b/spotify_dl/scaffold.py @@ -48,7 +48,7 @@ def get_tokens(): set SPOTIPY_CLIENT_SECRET=your-spotify-client-secret Get your credentials at - https://developer.spotify.com/my-applications + https://developer.spotify.com/dashboard """ ) return None diff --git a/tests/test_spotify_fetch_tracks.py b/tests/test_spotify_fetch_tracks.py index 55bd133..89b2ed6 100644 --- a/tests/test_spotify_fetch_tracks.py +++ b/tests/test_spotify_fetch_tracks.py @@ -99,10 +99,10 @@ def test_spotify_playlist_fetch_more(): "album": "All The Best (Spanish Version)", "artist": "Zucchero", "cover": "https://i.scdn.co/image/ab67616d0000b27304e57d181ff062f8339d6c71", - "genre": "classic italian pop", "name": "You Are So Beautiful", "num": 18, "track_url": None, + "genre": "italian adult pop", "num_tracks": 18, "year": "2007", "playlist_num": 5,