Open jarodwsams opened 5 years ago
Hey, since you already are using this via presumably the generic HTTP module, would it be possible for you the find and post the specific HTTP requests for these commands. then it would be pretty simple to make a simple module for a start.
There's not any built-in HTTP control for Mopidy. On the box, I have a custom python port listener that listens for specific HTTP requests, then issues appropriate mpc commands to the MPD (music player daemon, https://www.musicpd.org/) plugin connected to Mopidy. What I wanted to explore is if there's any way to remotely control an instance of MPD over the network like that. I don't know enough about it at present, but thought that someone in the community might so wanted to put it out there.
From, what I can find on it, then Mopidy supports, both HTTP post, WebSockets and TCP (MPD. https://docs.mopidy.com/en/latest/api/http/#json-rpc
But what commands/functions do you need? then we can start with that and work our way up as we need them.
But I'm not sure if i got time for it, but this is what I found if someone wants to have a go.
Any luck on developing this module? We also use modipy in our environment and would love to have it on companion as well.
https://www.mopidy.com/ I have a device running Mopidy server to play Spotify directly into my venue's audio console. Right now I control it via custom HTTP requests hitting a python-based port listener on the device. It would be awesome, if possible, to have a proper module to control Mopidy.
Version 1 of the module could include commands for: