A customizable Apple Music now playing display for macOS.
- Shows currently playing Apple Music track on your stream
- Five beautiful themes (Polar Bear Cafe, Twitch, Dark, Pink, Light)
- Auto-width or full-width display options
- Automatically hides when no music is playing
- Support for album artwork
- Clean animated transitions between songs
- Font changes with each theme for a complete visual experience
- Settings menu appears only on hover (invisible to viewers)
- Settings are saved between sessions
- macOS (uses AppleScript to communicate with Apple Music)
- Python 3.6 or later
- OBS Studio or similar streaming software with browser source support
-
Clone this repository:
git clone /~https://github.com/yourusername/harmony-deck.git cd harmony-deck
-
Make sure the Python script is executable:
chmod +x music_server.py
-
Start the server:
./music_server.py
-
Add a Browser Source in OBS:
- URL:
http://localhost:8080/
- Width: 550 (recommended minimum)
- Height: 80-100
- Check "Refresh browser when scene becomes active"
- URL:
Once installed, the overlay will automatically display your currently playing Apple Music tracks.
Hover over the overlay to reveal the settings menu at the bottom:
- Polar Bear Cafe (default): Soft green theme with rounded corners
- Twitch: Dark purple theme that matches Twitch aesthetics
- Dark: Sleek black theme with cyan accents
- Pink: Vibrant pink theme with friendly typography
- Light: Clean white theme with blue accents
In the settings menu:
- A: Auto width (only as wide as needed for the text)
- F: Full width (expands to fill the entire browser source width)
No music information appears:
- Make sure Apple Music is running
- Check Terminal for error messages
- Try playing/pausing music to trigger an update
Permission errors:
- macOS may need permission to control Apple Music
- Go to System Preferences → Security & Privacy → Automation
- Ensure Terminal (or whatever app runs the script) has permission to control Apple Music
To make the server start automatically when you boot your Mac:
-
Create an Automator application:
- Open Automator
- Create a new Application
- Add a "Run Shell Script" action
- Enter:
cd /path/to/harmony-deck && ./music_server.py
- Save as "Start Harmony Deck"
-
Add to Login Items:
- System Preferences → Users & Groups → Login Items
- Add the Automator application you created
Advanced users can modify the CSS in overlay.html
to create custom themes or change the layout.
- "Polar Bear Cafe" theme is inspired by the aesthetic of Polar Bear Cafe anime
- Created as a lightweight alternative to other music display solutions