jellyfin / mopidy-jellyfin

Jellyfin Extension for Mopidy
https://jellyfin.org
Apache License 2.0
93 stars 16 forks source link

Cast/Remote Control Functionality? #112

Closed seniorm0ment closed 2 years ago

seniorm0ment commented 2 years ago

Are Jellyfin clients able to "cast" to Mopidy-Jellyfin? I know they can recognize Kodi, and it can be remote controlled from a device like this.

If not, is this something that can be added? Or is this an issue with Jellyfin server itself and not Mopidy-Jellyfin plugin?

Planning on using this with a raspberry pi so remote control would be huge to be able to just cast instead of needing to feed it through something like mpd then use a seperate app just to control it.

mcarlton00 commented 2 years ago

That feature is already present and you can cast/control it from a web browser or mobile app. This is assuming that you're connecting to your server via a method that supports websocket communication. Going directly to the server via ip:port will work, as well as going through a reverse proxy. Some reverse proxies need extra options in the config to enable websockets properly, others will handle it implicitly.

2021-07-27-214222_272x299_scrot

seniorm0ment commented 2 years ago

connecting to your server

To be clear, you mean connecting to the Jellyfin server? or the phone connecting to the Raspberry running Mopidy?

Also I am using NGINX as my Jellyfin server reverse proxy.

mcarlton00 commented 2 years ago

Connecting to the Jellyfin server. How you connect to the device running Mopidy doesn't matter.

nginx works fine, that's what I'm using too. If you've set it up following our docs, then you should be all good to go. If not, there's a location block for websockets that will help things along if you have issues.

seniorm0ment commented 2 years ago

Thank you!