I have a web page on a pi that lets me paste Spotify links (e.g. playlists, tracks, albums etc.) and it plays them on my squeezeplayers via Spotty. This is useful if I'm browsing the Spotify website.
I wanted to see if I could go one step further and automate the playlist commands straight from the spotify website rather than copying and pasting links into my own web page. I've been playing with jquery (never used it or javascript before) but have managed to come up with this:
![Name: spotify-75.jpg
Views: 70
Size: 45.1 KB]()
The code's horrendously messy and in no fit state to be shared at the moment so this is more a case of me enjoying the sense of satisfaction of achieving what I wanted to do. That said, if people are interested I may see if I can tidy the code up and share it.
I wanted to see if I could go one step further and automate the playlist commands straight from the spotify website rather than copying and pasting links into my own web page. I've been playing with jquery (never used it or javascript before) but have managed to come up with this:
The code's horrendously messy and in no fit state to be shared at the moment so this is more a case of me enjoying the sense of satisfaction of achieving what I wanted to do. That said, if people are interested I may see if I can tidy the code up and share it.