Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpd: support client channels #3291

Open
arcresu opened this issue Jun 3, 2019 · 0 comments
Open

bpd: support client channels #3291

arcresu opened this issue Jun 3, 2019 · 0 comments
Labels
feature features we would like to implement

Comments

@arcresu
Copy link
Member

arcresu commented Jun 3, 2019

The MPD protocol has a client channels feature which allows MPD clients to talk directly to each other. It allows clients to cooperate to implement features that the underlying MPD implementation doesn't support, and can potentially be backed by persistent storage with stickers (#3290).

The mpdscribble client (a client for lastfm scrobbling, maintained by the MPD developer) uses this feature to implement lastfm's "love" action. If a client sends it the appropriate message on its channel then it'll love the currently playing track on lastfm. I don't know whether any clients actually use this feature, but it does show the promise of client channels anyway.

The implementation should be straightforward. The BPD server just needs to track client subscriptions to channels (possible now that we track the list of connected clients) and send them messages as they arrive.

@arcresu arcresu added this to the Modern MPD support milestone Jun 3, 2019
@arcresu arcresu added the feature features we would like to implement label Jun 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature features we would like to implement
Projects
None yet
Development

No branches or pull requests

1 participant