A simple global hotkey (CTRL+ALT+R) to save the currently playing song to a playlist. Very useful if you browse radios etc and don't want to swap to spotify all the time. I recommend using this together with https://github.com/attilagyongyosi/spotify-autohotkey (application to skip spotify songs etc with global hotkeys)
#Installation guide :
- Download the exe from here : http://www.filedropper.com/boyen-spotify_4
- Put it anywhere on your system
- Create a new file called config.ini in the same directory as your boyen-spotify.exe (Make sure it's ANSI)(make sure it's config.ini and not config.ini.txt)
- If you don't have one, create a lastfm account
- Connect spotify with lastfm in your spotify desktop application's settings
- Refer to the next chapter for the config file content. Do this before going to the next step.
- Start the exe
- Press ctrl+alt+r (this is a global hotkey , should work anywhere on your system including games)
- (This happens only one time, is for verification) You'll be prompted to copy paste an url into your browser. Do this and you'll get redirected to another url (starting with http://example.com)
- Copy the url you were directed to back into program
- From now on everytime you press ctrl+alt+R you'll save the currently playing song to your playlist
- You have to keep the program open, but you can minimize the window.
#Content of the config.ini file:
[lastfm]
user = user
[spotify]
userid : userid
playlistid : playlistid
Replace the fields user,userid,playlistid with the correct values (explained below) ##User Your lastfm username ##Userid and playlistid
Your user id and the id of the playlist that you want to add your music to.
To find these values , go to your spotify desktop application, rightclick your playlist and click "Copy Spotify-URL"
Paste this anywhere you want and you will get this format (this is mine for example) : spotify:user:119986897:playlist:129KfwIBp0N7pzlYlG7dOG
Now copy the values into the config
#If it fails / you have problems , check here
###Can I copy the url in the cmd window without having to type it over ?
Ofcourse, rightclick the window at the top, edit -> select -
Now just select the text and press ctrl+c to copy
Excuse the dutch : https://gyazo.com/654a0c2101c308446cb17fbfccb24390
###I'm getting error : KeyError : LastFm
Your config.ini file is either nonexistent or you might have saved it wrong (not ANSI or maybe .ini.txt) Also make sure that you didn't replace both sides of the variables (correct : userid : 119986897 , wrong : 119986897 : 119986897)
You didnt play a song since you connected your spotify to lastfm