Repository navigation
Conversation
- Read fresh settings in AuthController, save unsaved Client ID/Secret on Login, pass show_dialog=true, and attach transient_for to WebAuthWindow - Fix callback KeyError, exchange auth code for token, sync auth/refresh UI rows via GLib.idle_add, parse callback URL with parse_qs, and strip query strings from logs - Fix Repeat icon lookup and idle crash, Volume None crash, Device Picker close/toggle/GTK-thread bugs, Play/Pause cover-art caching and async fetch, and Shuffle update guard - Handle null item/device in polling, ignore timestamp-only updates, use weakref callbacks, fix 401/403 token invalidation, accept 2xx playback responses, sync plugin_version to 0.3.0, and remove dead code
yukifolf
force-pushed
the
auth-issues
branch
from
November 22, 2026 15:33
cc89938 to
9f43005
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed & fixed
show_dialog=true), and attach the login window to the active parent window.KeyErrorwhen no refresh token existed yet, triggeredexchange_code_for_tokenafter callback, kept both fields saved, synced both UI rows on the GTK main thread, parsed callback URLs withparse_qs, and stopped logging OAuth codes in URLs.None) and fixed icon lookup (was indexing a string instead of the icon list).Nonevolume.Adw.Dialog.destroy()), and stopped sending duplicate device-switch requests on toggle.item: null/device: nullwithout killing the polling thread, stopped re-rendering ontimestamp-only updates, paused polling when logged out or unused, prevented callback leaks with weak references, fixed401/403token invalidation, and accepted any2xxresponse for playback controls.plugin_versionto0.3.0, removed dead code (VolumeMute,DeviceType, unused helpers/imports), and added 10 unit tests (tests/test_auth.py,tests/test_controller_and_actions.py).Testing
python3 -B -m unittest discover -s tests -v— 10/10 passed.