Skip to content

Web interface to detect and allow easy use of multiple Mopidy HTTP servers on the network.

License

Notifications You must be signed in to change notification settings

sirscratchalot/mopidy-web-browse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mopidy Server Browser

Do you have a lot of Raspberry Pis with Mopidy on them? I do.
Keeeping track of URLs for multiple playback locations can be a bit annoying. Mopidy server browser discovers Mopidy-servers with a HTTP GUI on your network and allows you to use the web interfaces without leaving the page.

Mopidy Server Browser detects any Mopidy HTTP server and scans it for set up Web GUIs. You can then browse the Web-Guis on the page.
Running this on my network means no longer having to keep track of URLs, and more importantly neither does anyone else.

Running Mopidy-web-browse:

Needs JRE 1.8 minimum. Download mopidy-web-browse.1.0.zip from releases.

unzip mopidy-web-browse-1.0.zip
mopidy-web-browse-1.0-SNAPSHOT/bin/mopidy-web-browse -Dplay.crypto.secret=anythingReally-sinceNotSensitive -Dhttp.port=8080

This will start the server on port 8080. Go to 'http://localhost:8080' to browse your mopidy servers.

On windows, unzip and then start from CMD:
'mopidy-web-browse-1.0-SNAPSHOT/bin/mopidy-web-browse.bat -Dplay.crypto.secret=anythingReally-sinceNotSensitive -Dhttp.port=8080'

If for any reason the app fails to start, you may need to remove the current PID file before trying again:
rm mopidy-web-browse/RUNNING_PID

Tech stack:

  • ZeroConf / Bonjour is used to detect services via the JmDNS library Link
  • The server part of Mopidy Web Browse is implemented in Play Framework 2.5 using Scala.
  • Detected services are streamed to the front-end via WebSockets implemented via akka flows and actors .
  • The frontend is implemented as a ReactJS single page app, a minified version is included with the server.
  • The source for the front-end is available in a separate repository: Mopidy-Web-Browse-Frontend

About

Web interface to detect and allow easy use of multiple Mopidy HTTP servers on the network.

Resources

License

Stars

Watchers

Forks

Packages

No packages published