Skip to content

Repository files navigation

Discord Last.fm Widget

Widget preview

This repository contains a Windows tray app that sets up and keeps updated a Last.FM widget on your Discord profile, showing your scrobbles, artists, tracks, albums, top track and top album.

Getting Started

You have three options:

  • Run it from source — just run discord_lastfm_tray.py with Python (requires Python + the dependencies in requirements.txt)
  • Build it yourself — package it into a standalone .exe (see BUILD_EXE_INSTRUCTIONS.md)
  • Download a prebuilt .exe from the Releases page — no Python or dependencies required, just run it

Instructions are available in two languages:

Big thanks to TroubleChute for making a post about this and for making a video tutorial as well. And credits to author of icons i used in this widget.

Requirements

Python 3.10+ requests, Pillow, pystray (see requirements.txtpip install -r requirements.txt) A Discord developer application and Last.fm API account

Project Files

File Purpose
discord_lastfm_tray.py Main app — tray icon + background auto-updater
requirements.txt Python dependencies
BUILD_EXE_INSTRUCTIONS.md How to package the tray app into a single .exe
InfoEN.md Full setup instructions (English)
InfoRU.md Полная инструкция по установке (Русский)

Resources

Automatic Stat Updates

Unlike a plain scheduled script, this project ships with its own tray app (discord_lastfm_tray.py) — it runs continuously in the background and updates the widget on a timer you control (1/5/15/30/60 min) right from the tray menu, no Task Scheduler needed.

About

A Windows tray app that pulls stats from Last.fm and automatically pushes them into a custom Discord profile widget

Topics

Resources

Stars

8 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages