How ryzetech/cider4obs works
Key Components to Include:
Main Components
• Cider Client (Music Player)
• Browser Source (OBS Integration)
• WebSocket Connection Layer
Architecture Overview
[Cider Client (Apple Music)] <---> [WebSocket Connection] <---> [OBS Browser Source]
Client Side (OBS)
• Inside it, show a "Browser Source" component
• HTML/CSS rendering component (index.html, style.css)
Connection Layer
• Reconnection logic (5-second intervals)
Music Player Side
• Apple Music integration
• WebSocket API endpoint
Visual Styling Guidelines:
Data Flow Indicators
• Music metadata flow
• Status updates
• Reconnection attempts
Important Features to Highlight:
Real-time Components
• WebSocket connection status
• Music playback status
• Progress bar updates
Configuration Options
• Custom CSS injection points
• Behavior settings
• Appearance customization
State Management
• Connection states
• Playback states
• Fade animations
Technical Details to Include:
Browser Source Properties
• Default dimensions (800x170)
• CSS customization point
• Real-time updates
Connection Details
• WebSocket protocol
• Reconnection logic
• Error handling
UI Components
• Progress bar
• Text elements (title, artist, album)
• Background container
• Component relationships
• Data flow direction
• Configuration points
• State changes
• User customization options
• Connection types
• State indicators