diff --git a/CHANGELOG.md b/CHANGELOG.md index c1b44979..e5144fa6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -83,6 +83,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * **`downscaleCoverBlob`** respects **AbortSignal** through **`canvas.toBlob`**. * **`CachedImage`:** **`fetchQueueBias`** gives **artist** search thumbs **higher network-slot priority** than **album** thumbs when the pool is saturated; **`observeRootMargin`** defaults **wider** so **priority** updates **earlier** ahead of the scroll viewport. +### Settings — adding a server no longer switches to it + +**By [@Psychotoxical](https://github.com/Psychotoxical), PR [#475](https://github.com/Psychotoxical/psysonic/pull/475)** + +* When you add a new server from **Settings → Servers**, the new entry now appears in the server picker but **your current active server stays active** — playback, queue and library view are no longer interrupted. +* The login screen on `/login` is unchanged: signing in there still selects the chosen server. + ## Fixed ### Hot cache, HTTP streaming replay, and queue source indicator diff --git a/src/pages/Settings.tsx b/src/pages/Settings.tsx index 814304f1..7e27a6b5 100644 --- a/src/pages/Settings.tsx +++ b/src/pages/Settings.tsx @@ -362,6 +362,7 @@ const CONTRIBUTORS = [ 'Random Mix: playlist-size picker (50/75/100/125/150) and filter-panel layout cleanup (PR #445)', 'Queue: optional "Preserve Play Next order" toggle — multiple Play Next inserts queue up behind each other instead of latest-on-top (PR #464)', 'Library: "favorites only" filter on Albums, Artists and Advanced Search — toolbar toggle reading star overrides live (PR #466)', + 'Settings: keep current active server when adding a new one — no more auto-switch interrupting playback or library context (PR #475)', ], }, ] as const; @@ -2067,8 +2068,6 @@ export default function Settings() { }; auth.setSubsonicServerIdentity(id, identity); scheduleInstantMixProbeForServer(id, data.url, data.username, data.password, identity); - auth.setActiveServer(id); - auth.setLoggedIn(true); setConnStatus(s => ({ ...s, [id]: 'ok' })); } else { setConnStatus(s => ({ ...s, [tempId]: 'error' }));