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:
- Install VLC on the “Host machine”, the computer from which you want to play music (whichever computer is wired to your speakers!)
- Go into the “Preferences” (or “Options” depending on your platform) in VLC and click the “All” (or “Advanced”) radio button in the bottom left
- 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)
- Again in “Preferences” (“Options”) select “Interfaces” > “Control interfaces” from the left-hand menu and select “Web interface”
- “OK” the changes to preferences
- 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!
|This entry was posted by Neil Craig on September 13, 2010 at 4:55 pm, and is filed under General Web-Development. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site.|
No comments yet.
about 2 years ago - 9 comments
about 2 years ago - No comments
If like me, you have to transfer websites between servers from time to time and you use an Apple Mac, you’ll probably need to know how to flush your DNS on Mac OSX (flushing is the term used for removing of all records to force an update). For all versions of OSX, the simplest way More >
about 3 years ago - 2 comments
HTML 5 offers 13 new form input element types but Browser support for these new input types is very scant at present. However, with JSH5F, you can use the new HTML 5 form elements right now in supporting Browsers without causing problems for people using non-supporting browsers.