a second instance on one machine: its own data, its own peer port, and a join that says itself again when it was never seated

This commit is contained in:
KeelrLeek committed 2026-09-03 13:39:06 -05:00
1 parent 67e52697b2
commit 6f7452c803
17 files changed
+125 -56

No files matched your search

+5 -1
View File
@@ -15,6 +15,7 @@ mod loudness;
mod lyric_align;
mod lyric_prep;
mod lyrics;
mod paths;
mod pipeline;
mod playback;
mod profile;
@@ -344,7 +345,10 @@ pub fn run() {
--enable-smooth-scrolling \
--force-color-profile=srgb";
#[cfg(debug_assertions)]
let args = format!("{base} --remote-debugging-port=9222");
// A second instance needs its own CDP port, or it silently fails
// to bind and cannot be driven at all.
let cdp = std::env::var("SOULSTREAM_CDP_PORT").unwrap_or_else(|_| "9222".into());
let args = format!("{base} --remote-debugging-port={cdp}");
#[cfg(not(debug_assertions))]
let args = base.to_string();
for window in &mut context.config_mut().app.windows {