jeffvli / feishin

A modern self-hosted music player.
https://feishin.vercel.app
GNU General Public License v3.0
2.46k stars 103 forks source link

Remote Control API #763

Closed jackmerrill closed 15 hours ago

jackmerrill commented 4 days ago

What do you want to be added?

Allowing external programs / devices to control playback.

Additional context

I know the Remote Control Server exists, however there is no API documentation for interfacing with it.

This would be useful for controlling via a Stream Deck.

Is this a server-specific feature? (e.g. Jellyfin only)

jeffvli commented 4 days ago

You're in luck, someone just built a stream deck plugin: https://github.com/jeffvli/feishin/issues/713

kgarner7 commented 15 hours ago

The types are formally defined in https://github.com/jeffvli/feishin/blob/development/src/remote/types.ts (client requests and server events). The one detail is if you specify username/password, you need to authenticate using authenticate with the header being the value of a Basic Auth header, so Basic base64(username:password)