Mopidy Discourse

How does the browser work?

Ok, this may be a real dumb question but I would like to know how it works. How is the browser that pops up when you open http://musicbox.local/ generated? Is it a website on the internet or is it generated by the code in the application or what? Thanks.

The pimusicbox image includes a webserver that runs on the raspberry pi and serves that page. Port 80 is redirected to that webserver. The hostname is configurable but in this case is ‘musicbox’. Your computer uses mDNS to find the webserver on your local network with the special .local top level domain. networking - What does ".local" do? - Ask Ubuntu

Feel free to browse the repository and see the config.

kingosticks Thanks for the reply, that helps and I’ll check out the link you provided. So I’d like to be able to use musicbox when I’m camping and away from my network and also likely with no internet service, ideally using my iphone for the browser. Is there a way to accomplish this? Thanks again.

Maybe if your phone could create a wifi hotspot for the pi to connect to. Or vice versa, but there’s nothing in pimusicbox that supports that and you’d have to figure it out.