SrGooglo a478432d61 Implement music sync room and refine related features
- Add WebSocket-based sync room for real-time music playback sync.
- Expand music exploration search to include albums and artists.
- Adjust track and release data fetching and deletion on server.
- Enhance DASH segmentation job with codec overrides and MPD updates.
- Update music service configuration for websockets and middlewares.
- Make minor UI adjustments to the search component.
2025-05-21 19:04:59 +00:00

8 lines
230 B
JavaScript

export default async (client, payload) => {
console.log(`[SYNC-ROOM] Pushing to sync ${client.userId}`, payload)
const roomId = `syncroom/${client.userId}`
global.websockets.senders.toTopic(roomId, "sync:receive", payload)
}