fmatrix_
Your music, in the chat.
For the music nerds in the room
FMatrix is a Python bot that brings Last.fm into your Matrix rooms. Look up what you've been listening to, compare favourites with friends and find out who else knows an artist.
- Listening stats, recent tracks and top artists, albums and songs.
- Room leaderboards and “who knows” lookups.
- Discogs collection and wantlist browsing, with search and release info.
- Spotify links for your current track or a song you search for.
Discogs and Spotify are optional integrations.
A few commands
Invite your bot to a room, then link your Last.fm account with !fm link your_username.
!fm stats- Your listening overview.
!fm recent- Your last seven tracks.
!fm tar 7d- Your top artists this week.
!fm wk Portishead- Who in the room listens to Portishead?
!fm lb- The room's scrobble leaderboard.
!dg collection- Browse your linked Discogs collection.
!spotify- A Spotify link for your now-playing track.
Use !fm help for the full command list.
Run your own
Self-host with Docker Compose or Python. You'll need a Matrix bot account and Last.fm API credentials; add Discogs or Spotify credentials if you want those integrations.
The README covers configuration, installation and all the commands.