An application that automatically opens Genius lyrics pages for currently playing Spotify tracks.
- 🔍 Monitors currently playing track in Spotify
- 🎵 Automatically detects track changes
- 📖 Opens the corresponding Genius lyrics page
- 🔄 Falls back to Genius search if exact match not found
- ⚡ Real-time tracking with minimal resource usage
- 💻 Cross-platform support (Windows & Linux)
Windows:
- The application continuously monitors Spotify's window title
- When a new track starts playing, it:
- Extracts the track information from the window title
- Searches for the track on Genius
- Opens the exact lyrics page if found
- Falls back to Genius search results if no exact match is found
Linux:
- The application uses D-Bus to get track's metadata from Spotify
- When a new track starts playing, it:
- Gets track's artist and title
- Searches for the track on Genius
- Opens the exact lyrics page if found
- Falls back to Genius search results if no exact match is found
- Windows or Linux operating system
- Spotify desktop application
- Go 1.16 or higher
- Clone the repository:
git clone https://github.com/yourusername/spotify-auto-genius-opener.git
cd spotify-auto-genius-opener
- Install dependencies:
go mod download
- Build the application:
go build -o spotify-auto-genius
- Start Spotify and play some music
- Run the application:
./spotify-auto-genius
The application will automatically:
- Monitor your Spotify playback
- Open Genius pages for new tracks
- Show search results if exact match isn't found
MIT License - feel free to use and modify as you wish!