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

More error logging for tracking down mixer selem #1265

Open
TheKevJames opened this issue Feb 11, 2024 · 0 comments
Open

More error logging for tracking down mixer selem #1265

TheKevJames opened this issue Feb 11, 2024 · 0 comments
Labels
enhancement A new feature that would improve Spotifyd

Comments

@TheKevJames
Copy link

Is your feature request related to a problem? Please describe.
I've been attempting to setup spotifyd on a headless server connected to a bluetooth speaker; it's mostly working now, but I've been bashing my head against the wall trying to get volume controls working. Any mixer I select shows up in logs as unable to be found (Couldn't find selem with name ...).

Describe the solution you'd like
Would it be possible to get more information in the log output as to which selems are available to spotifyd? eg. could it be possible to extend this log line to include something like:

format!(
    "Valid selems are: '{}'.",
    mixer.list_all_selms()
)

**Describe alternatives you've considered**
Other alternatives might come down to documentation, eg. in the [configuration docs](https://docs.spotifyd.rs/config/File.html) for device you have:

To get a list of valid devices, run aplay -L

Something similar for `mixer` could help!

That said, as far as I can tell, the mixers I am attempting to use *do* exist in alsa and just aren't able to get referenced properly by spotifyd(?), so this may not solve it.
@TheKevJames TheKevJames added the enhancement A new feature that would improve Spotifyd label Feb 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A new feature that would improve Spotifyd
Projects
None yet
Development

No branches or pull requests

1 participant