raitonoberu / sptlrx

Synchronized lyrics in your terminal
MIT License
385 stars 18 forks source link

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

Closed BachoSeven closed 8 months ago

BachoSeven commented 8 months ago

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]