Skip to content

feat(playback): improve reliability with wedge detector and macOS launch fixes#31

Merged
flexiondotorg merged 3 commits intomainfrom
fixes
Mar 23, 2026
Merged

feat(playback): improve reliability with wedge detector and macOS launch fixes#31
flexiondotorg merged 3 commits intomainfrom
fixes

Conversation

@flexiondotorg
Copy link
Copy Markdown
Member

Summary

Improves playback reliability and macOS launch stability. Adds a wedge detector mechanism to recover from music playback stalls, fixes Discord IPC socket path issues on macOS, and simplifies menu initialization logic based on devtools environment.

Changes

  • Add wedge detector to recover from music playback stalls
  • Set TMPDIR on macOS to resolve Discord IPC socket path issues
  • Simplify menu initialization based on devtools environment

Testing

  • Verify playback stall recovery triggers appropriately
  • Confirm Discord IPC socket connectivity on macOS
  • Test menu initialization with and without devtools enabled

- Create new wedgeDetector module to monitor playback state and position
- Automatically skip forward up to 3 times when playback stalls for >5s
- Skip near track end (within 10s) to prevent false detections
- Integrates with player events and app lifecycle

Signed-off-by: Martin Wimpress <code@wimpress.io>
Signed-off-by: Martin Wimpress <code@wimpress.io>
Restructure menu setup to conditionally display dev tools only when
SIDRA_DEVTOOLS=1 is set; disable menu entirely in production mode.

Signed-off-by: Martin Wimpress <code@wimpress.io>
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

@flexiondotorg flexiondotorg merged commit ab35b00 into main Mar 23, 2026
11 checks passed
@flexiondotorg flexiondotorg deleted the fixes branch March 23, 2026 18:32
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.

1 participant