Skip to content

craigvincent/spotify_nowplaying

Repository files navigation

Spotify Now Playing

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.

Features

  • 🎵 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

Prerequisites

1. Spotify Developer App

  1. Go to Spotify Developer Dashboard
  2. Create a new app
  3. Set the Redirect URI to: http://localhost:5543/callback
  4. Copy the Client ID

2. Azure AD (Entra ID) App Registration

  1. Go to Azure Portal → App Registrations
  2. Click New registration
  3. Set a name (e.g. "Spotify Now Playing")
  4. Under Supported account types, choose your organisation or "Accounts in any organizational directory"
  5. Under Redirect URI, add Public client/native with value http://localhost
  6. After creation, go to API PermissionsAdd a permissionMicrosoft GraphDelegated permissions:
    • Presence.ReadWrite
    • User.Read
  7. Go to Authentication → enable Allow public client flows
  8. Copy the Application (client) ID

Getting Started

# Clone and build
cd spotify_nowplaying
dotnet build

# Run
dotnet run --project src/desktop_app

On first launch the app will appear in your system tray. Right-click the tray icon and choose Open Settings to configure:

  1. Paste your Spotify Client ID and click Connect (opens browser for login)
  2. Paste your Azure AD Client ID and click Connect (opens browser for consent)
  3. Customise the status format (default: 🎵 {artist} - {title})
  4. Adjust the polling interval
  5. Close the settings window — it hides to the tray

Tech Stack

About

🎵 Show what you're listening to on your Microsoft Teams Status

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages