https://github.com/mowlcoder/spotify-auto-genius
https://github.com/mowlcoder/spotify-auto-genius
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mowlcoder/spotify-auto-genius
- Owner: MowlCoder
- Created: 2025-05-09T17:51:36.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-17T09:26:45.000Z (about 1 year ago)
- Last Synced: 2025-06-17T10:31:02.773Z (about 1 year ago)
- Language: Go
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spotify Auto Genius Opener
An application that automatically opens Genius lyrics pages for currently playing Spotify tracks.
## Features
- 🔍 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)
## How It Works
**Windows:**
1. The application continuously monitors Spotify's window title
2. 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:**
1. The application uses D-Bus to get track's metadata from Spotify
2. 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
## Requirements
- Windows or Linux operating system
- Spotify desktop application
- Go 1.16 or higher
## Installation
1. Clone the repository:
```bash
git clone https://github.com/yourusername/spotify-auto-genius-opener.git
cd spotify-auto-genius-opener
```
2. Install dependencies:
```bash
go mod download
```
3. Build the application:
```bash
go build -o spotify-auto-genius
```
## Usage
1. Start Spotify and play some music
2. Run the application:
```bash
./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
## License
MIT License - feel free to use and modify as you wish!