SpotifyCurrentlyPlaying.js
Display your currently playing Spotify song(s) using Last.fm scrobbling.
Install / Use
/learn @kjbrum/SpotifyCurrentlyPlaying.jsREADME
Display your currently playing Spotify song(s) using Last.fm scrobbling.
Documentation
http://kylebrumm.com/spotifyCurrentlyPlaying.js/
Install
Bower:
$ bower install spotifyCurrentlyPlaying.js
npm:
$ npm install spotifyCurrentlyPlaying.js
CDN:
<script src="https://unpkg.com/spotifyCurrentlyPlaying.js/dist/spotifyCurrentlyPlaying.min.js"></script>
To-Do
- [ ] Add Methods
- [ ]
refresh()- Refresh the player - [ ]
destroy()- Remove the player
- [ ]
- [ ] Add Events
- [ ] -
init- Fires after SCP initializes for the first time - [ ] -
reInit- Fires every time SCP re-initializes
- [ ] -
- Website
- [ ] Add a table of all the "options"
- [ ] Add a "Browser Support" section
Settings
|Option|Type|Default|Description| |---|---|---|---| selector|string|element|'.scp-container'|Class or selector for the container username|string|''|LastFM username api_key|string|''|LastFM API key width|int|300|Width of the player height|int|400|Height of the player theme|string|'black'|Theme of the player (black, white) view|string|'list'|View of the player (list, coverart) count|int|1|Number of tracks to display backup_ids|array|[...]|Backup IDs of tracks to display if no tracks are found
Browser Support
- Chrome (todo)
- Firefox (todo)
- Safari (todo)
- Opera (todo)
- IE (todo)
License
Copyright © Kyle Brumm. spotifyCurrentlyPlaying.js is free to use on whatever and may be redistributed under the terms specified in the license.
Related Skills
node-connect
329.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
81.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
329.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
81.1kCommit, push, and open a PR

