Skip to content

Commit

Permalink
v.8.7.0 release (#338)
Browse files Browse the repository at this point in the history
* v.8.70 release

* update Spotify apps dashboard link

fixes #336

* correct spotify dev console link

* Update test_spotify_fetch_tracks.py

* fix tests
  • Loading branch information
SathyaBhat committed Apr 16, 2023
1 parent dced0c0 commit 524e065
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
12 changes: 7 additions & 5 deletions GETTING_STARTED.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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,

Expand Down
2 changes: 1 addition & 1 deletion spotify_dl/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion spotify_dl/scaffold.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/test_spotify_fetch_tracks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 524e065

Please sign in to comment.