You can use it on your local pc to display your "now playing" from last.fm on your discord status.
RPC connection Based on Snazzah's SublimeDiscordRP
It displays the song you're playing on Last.fm:
- Python 3.6.1+
- pylast (can be directly installed using
pip3 install pylast
)
-
Get an API key and secret from Last.fm API.
-
Register an App on Discord API page, Get your client ID, and set the App's name as "Last.fm Scrobbler".
Edit Rich Presence Assets part.
- Open
last.py
file, add your Last.fm API key, API secret and your Last.fm username.
Open discord_stat.py
file, add your Discord API client ID.
- run
python3 last.py
.
It won't clear the presence until you close it.
-
Automatically clear the "Last.fm Scrobbler" presence after music stops playing.
-
Make a GUI so more non-programmers can use it.
-
Being able to display the album cover image, not just simply a boring Last.fm logo.