There was a question recently about using a computer running MacOS (for example, a MacBook Pro or a Mac Mini) as a UPnP endpoint. At that time I wasn’t aware of a way to run the needed software (a UPnP renderer) on MacOS.
Just within the past few days, the developer of the UPnP renderer software upmpdcli has ported it to the Mac, and I have it installed and running on my MacBook. Installation is perhaps not elementary, but at least currently this is the only way I know of to use a computer running MacOS as a UPnP endpoint. Knowledge of Linux (you won’t have to install Linux, so don’t worry about that) or familiarity with using the terminal on the Mac is probably helpful.
I don’t want to get into more than a general overview in this initial post, but if anyone has questions I’ll try to answer them when and if I can.
In summary, these are the steps:
-
Install Homebrew on the Mac, then install mpd with Homebrew. (It’s also possible with MacPorts AIUI, but the MacPorts version is older, and I like using the current stable version if possible.) Edit the mpd.conf file to configure appropriately for your installation. Start (or restart) mpd to be sure the configuration works and mpd is running.
-
Download and install upmpdcli’s dependencies and upmpdcli from the source files, as outlined at these links:
Upmpdcli on MacOS
Upmpdcli and associated libraries downloads
Upmpdcli
I used the first MacOS installation method (following the Linux meson directions, but installing to /usr/local rather than /usr). Before beginning the build you’ll need to install at least meson and jsoncpp with Homebrew - I think those are all that’s needed IIRC.
After build and install, edit the upmpdcli.conf file as appropriate and type upmpdcli in the terminal to run it.
What can I say, I like playing with this stuff. If there’s anyone who feels like repurposing an Apple computer as a UPnP endpoint, at least now you know it’s possible.