Skip to content

Use keyring only when MPD needs a password - #297

Merged
htkhiem merged 1 commit into
htkhiem:mainfrom
catap:optional-keyring
Jun 7, 2026
Merged

htkhiem merged 1 commit into
htkhiem:mainfrom
catap:optional-keyring

Conversation

@catap

@catap catap commented May 26, 2026

Copy link
Copy Markdown
Contributor

Probe MPD before reading stored credentials, so passwordless and SSH tunneled setups can connect when gnome-keyring-daemon or another Secret Service provider is absent.

Keep Secret Service required for password based setups; password reads and writes still fail when credential storage is unavailable, while the preferences UI leaves the password field disabled and refreshes without attempting a password update.

Probe MPD before reading stored credentials, so passwordless and SSH
tunneled setups can connect when gnome-keyring-daemon or another Secret
Service provider is absent.

Keep Secret Service required for password based setups; password reads
and writes still fail when credential storage is unavailable, while the
preferences UI leaves the password field disabled and refreshes without
attempting a password update.
@htkhiem

htkhiem commented Jun 7, 2026

Copy link
Copy Markdown
Owner

Thanks for the PR! Seems to work well with a passwordless MPD config and gnome-keyring-daemon stopped.

@htkhiem
htkhiem merged commit c5d3c6a into htkhiem:main Jun 7, 2026
@catap
catap deleted the optional-keyring branch June 7, 2026 07:40
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