Arlodotexe / strix-music

Combine any music sources into a single library. It's your music. Play it your way.
http://www.strixmusic.com
137 stars 4 forks source link

App crashes when using local Kubo node without pubsub enabled #259

Open Arlodotexe opened 1 year ago

Arlodotexe commented 1 year ago

Describe the bug

When you run a local Kubo node without enabling pubsub, then try to use that node for Strix, it'll cause the app to crash.

Affected area

Regression

No response

Steps to reproduce

1. Run Kubo from the CLI
2. Start the app
3. Enable or start IPFS if needed
4. Observe the crash

Visual repro steps

image

Expected behavior

It should notify the user that they need to enable pubsub. Maybe offer to apply a config command which enables it for you.

Additional context

No response

Help us help you

Yes, but only if others can assist.

Arlodotexe commented 1 year ago

Low priority as local nodes cannot be used in Release mode yet due to sandbox restrictions. Will need to be revisited when we enable that scenario, or when we get IPFS working in Wasm.