Companion Android app for MusicBridge server side.
This app listens to music player notifications on your phone (e.g. YouTube Music, Spotify, etc.) and forwards the song title and artist to the Flask server running on your PC. The server then updates your Discord Rich Presence in real time.
- Written in Kotlin.
- Uses Android’s Notification Listener Service to detect media playback.
- Sends track info via HTTP POST to your PC.
- Lightweight, runs in the background while you play music.
- When a song starts on your phone, the app reads the notification.
- Extracts title and artist.
- Sends them as JSON to your PC’s Flask server (default
http://<PC-IP>:5000/update). - Make sure to enter your tethering IP.
- Your PC updates Discord RPC with the new info.
The app requires:
- Notification access (to read song metadata).
- Internet permission (to send data to your PC).
- Clone or download this repo:
git clone https://github.com/faraway-world/MusicBridge.git
- You can download the apk from the latest release MusicBridge apk
- Minimum Android Version: API 26 (Android 8.0 Oreo)
- Target Android Version: API 35 (Android 15)
- Architectures: Architecture-independent (pure Kotlin/Java, no native libraries) → runs on all ABIs (
arm64-v8a,armeabi-v7a,x86,x86_64)