You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I understand this is a newer project since librespot-java is no longer in active development. But for the fun of it I’d like to propose a very low priority (potentially large sized?) enhancement:
a new module, cmd/streamer, that outputs PCM data to a WebSocket instead of the system's audio output. The server would announce itself on the local network, similar to the existing daemon. When a user selects the go-librespot device from any Spotify client and plays a track, the streamer module would decode the audio and stream the raw PCM data in real-time via the WebSocket connection.
Use Case:
This could enable Spotify streaming on older devices that cannot run librespot. I’m particularly interested in implementing this to create a Spotify client for older PowerPC Macs. While go-librespot cannot run on these older machines, the proposed streamer module would allow a client on such devices to connect and retrieve the raw PCM audio data via the websocket connection, which could then be output via an appropriate audio library.
This type of functionality may not belong in go-librespot and could very well be a separate application. I'm open to feedback here, but I believe it could potentially complement the existing project and broaden its use case.
The initial prototype / POC would involve the WebSocket server receiving a Spotify track ID and beginning to stream the raw PCM data.
I understand this is a newer project since librespot-java is no longer in active development. But for the fun of it I’d like to propose a very low priority (potentially large sized?) enhancement:
Use Case:
This could enable Spotify streaming on older devices that cannot run librespot. I’m particularly interested in implementing this to create a Spotify client for older PowerPC Macs. While go-librespot cannot run on these older machines, the proposed streamer module would allow a client on such devices to connect and retrieve the raw PCM audio data via the websocket connection, which could then be output via an appropriate audio library.
This type of functionality may not belong in go-librespot and could very well be a separate application. I'm open to feedback here, but I believe it could potentially complement the existing project and broaden its use case.
The initial prototype / POC would involve the WebSocket server receiving a Spotify track ID and beginning to stream the raw PCM data.
Librespot-python did something similar
I'll be working on this on my own fork.
The text was updated successfully, but these errors were encountered: