Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove pattern matching in favor of checking names with *and* without instance #39

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

BachoSeven
Copy link
Contributor

@BachoSeven BachoSeven commented Jan 12, 2024

This PR improves the solution to #33 (as discussed there): always checking for instance names is more robust and user-friendly than having to configure patterns in the config for those players which support instances.

I tested this for the original use case, by configuring the players array as

mpris:
  players: [ncspot, tauon, spotify]

both for bus name with and without the instance
@raitonoberu raitonoberu merged commit 05dfbd2 into raitonoberu:master Jan 12, 2024
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