-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathREADME
More file actions
47 lines (30 loc) · 1.33 KB
/
README
File metadata and controls
47 lines (30 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Before running jukebox.py.
1. run install.sh
2. create credentials.py
-- 2.1. nano credentials.py
-- 2.2 add these 4 lines below.
username='yourspotifyname'
passwd='password'
playlist_uri = 'uri_id'
queue_uri = 'uri_id'
-- 2.3 ctrl+x, yes for saving, enter.
3. go to your spotify, login create new list call queue list right click on
queue list copy playlist uri and paste it on credentials.py under queue_uri ='HERE'.
the playlist uri you do the same.
4. Application keys
Every app that use libspotify needs its own libspotify application key.
Application keys can be obtained automatically and free of charge from Spotify.
Go to the Spotify developer pages and login using your Spotify account.
Find the libspotify application keys management page and request an
application key for your application.
Once the key is issued, download the “binary” version.
The “C code” version of the key will not work with pyspotify.
If you place the application key in the same directory as your
application’s main Python file, pyspotify will automatically find it and use it.
If you want to keep the application key in another location, you’ll need to
set application_key in your session config or call load_application_key_file()
to load the session key file correctly.
I put it in the same directory!
Credits to:
Nicoeg
Moozer