Skip to content

Integrate go-music-players/mpris library for MPRIS support#58

Open
stashluk wants to merge 2 commits into
wildeyedskies:mainfrom
stashluk:integrate-go-music-players-mpris
Open

Integrate go-music-players/mpris library for MPRIS support#58
stashluk wants to merge 2 commits into
wildeyedskies:mainfrom
stashluk:integrate-go-music-players-mpris

Conversation

@stashluk

@stashluk stashluk commented Feb 1, 2026

Copy link
Copy Markdown

Replace custom MPRIS with go-music-players/mpris. Helps make MPRIS behavior more consistent across Go music players.

@wildeyedskies

Copy link
Copy Markdown
Owner

I'm not sure what the deal with the adapter is, but it seems a bit messy. Also could you make the PR description a little more human and less AI, thank you!

stashluk and others added 2 commits February 1, 2026 11:47
Separate MPRIS implementation into mpris2.go

Move MPRIS player interface methods from player.go to dedicated mpris2.go file.
This keeps MPRIS-specific code separate while Player still implements the
mpris.Player interface.

Changes:
- Created mpris2.go with all MPRIS interface methods
- Removed MPRIS methods from player.go
- Player struct methods now split across files:
  - player.go: core player functionality
  - mpris2.go: MPRIS interface implementation

Benefits:
- Better code organization
- MPRIS code isolated in one file
- Easier to maintain MPRIS-specific logic
- Player still directly implements mpris.Player

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
@stashluk stashluk force-pushed the integrate-go-music-players-mpris branch from fd6caa5 to 495576a Compare February 1, 2026 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants