A system-tray application that publishes your currently playing Spotify track to your Microsoft Teams status message.
Just want to download the latest version of the app? Check out the Latest Release page to get the newest version.
- 🎵 Polls Spotify for the currently playing track
- 💬 Updates your Microsoft Teams status message automatically
- ⏹️ Clears your status when nothing is playing
- ⚙️ Configurable status format with
{artist}and{title}placeholders - 🔄 Adjustable polling interval (5–60 seconds)
- 🖥️ System tray icon — runs quietly in the background
- Go to Spotify Developer Dashboard
- Create a new app
- Set the Redirect URI to:
http://localhost:5543/callback - Copy the Client ID
- Go to Azure Portal → App Registrations
- Click New registration
- Set a name (e.g. "Spotify Now Playing")
- Under Supported account types, choose your organisation or "Accounts in any organizational directory"
- Under Redirect URI, add Public client/native with value
http://localhost - After creation, go to API Permissions → Add a permission → Microsoft Graph → Delegated permissions:
Presence.ReadWriteUser.Read
- Go to Authentication → enable Allow public client flows
- Copy the Application (client) ID
# Clone and build
cd spotify_nowplaying
dotnet build
# Run
dotnet run --project src/desktop_appOn first launch the app will appear in your system tray. Right-click the tray icon and choose Open Settings to configure:
- Paste your Spotify Client ID and click Connect (opens browser for login)
- Paste your Azure AD Client ID and click Connect (opens browser for consent)
- Customise the status format (default:
🎵 {artist} - {title}) - Adjust the polling interval
- Close the settings window — it hides to the tray
- .NET 10
- Avalonia UI 11 — cross-platform desktop UI
- SpotifyAPI-NET — Spotify Web API client
- MSAL.NET — Microsoft identity authentication
- Microsoft Graph SDK — Teams presence API