TheDotProduct

Web-tech nerd stuff

How to create a cross-platform network controlled jukebox system using VLC

For ages now we’ve been trying to find a solution to our music needs in the office at work…

We have Windows, Mac and Linux computers and wanted to be able to use one computer to play music but we wanted each of our staff to be able to control (pause, skip track etc) the music, in case the phone rings etc. At last, we found the solution…and it’s very simple indeed!

VLC – a multimedia app (which is available for a lot of different platforms) has an option allowing network control via a web-browser interface. Granted, it’s not the prettiest of interfaces but it works well so we are very happy.

Please note that the computers which will control VLC must be on the same network as the “Host machine” (the computer running VLC). Computer with which you want to control VLC do NOT need to have VLC installed.

To get the whole thing to work, we simply did the following:

  1. Install VLC on the “Host machine”, the computer from which you want to play music (whichever computer is wired to your speakers!)
  2. Go into the “Preferences” (or “Options” depending on your platform) in VLC and click the “All” (or “Advanced”) radio button in the bottom left
  3. Still in “Preferences” (“Options”) select “Interfaces” from the left-hand menu check “Run as daemon process” (most instructions do not mention this setting but ours wouldn’t work without it)
  4. Again in “Preferences” (“Options”) select “Interfaces” > “Control interfaces” from the left-hand menu and select “Web interface”
  5. “OK” the changes to preferences
  6. Start up a web-browser on another computer on the same network and go to http://HOST-MACHINE-IP:8080 and you should see the VLC network control interface!
    NOTE: If you don’t – please check the firewall settings on the host computer

There are some instructions on the VLC website which discuss the various options to achieve the above also – http://wiki.videolan.org/Control_VLC_via_a_browser

I hope that helps!

Created: Mon, 13 Sep 2010 13:00:00 GMT
Last modified: Mon, 13 Sep 2010 13:00:00 GMT