dchurch24
October 1st, 2009, 03:11 PM
Hi,
I've been developing a complete 'home automation/entertainment' system for a few months now, and having got the doors lights etc... all wired up and working through touchscreens/phone/Internet etc... I've got to the point where I am trying to implement my 'whole house audio' part of the system.
So far I have a telnet server (written by me in c#/gtk#) that checks a centralised 'playlist' (mysql), when there is something to play it stops listening and plays. When the process ends, it asks for another song to play and if that song should be played by itself (each entry in the playlist has a room number next to it to determine which room (or listener) should play it), if there's anything in the playlist it shells VLC and plays the next one in sequence.
However, while developing this I have run across websites claiming that VLC can run as a telnet server.
Is it possible to telnet into VLC and remotely tell it which song/movie file to play? Would it return a code of some sort when it's finished playing?
I've been developing a complete 'home automation/entertainment' system for a few months now, and having got the doors lights etc... all wired up and working through touchscreens/phone/Internet etc... I've got to the point where I am trying to implement my 'whole house audio' part of the system.
So far I have a telnet server (written by me in c#/gtk#) that checks a centralised 'playlist' (mysql), when there is something to play it stops listening and plays. When the process ends, it asks for another song to play and if that song should be played by itself (each entry in the playlist has a room number next to it to determine which room (or listener) should play it), if there's anything in the playlist it shells VLC and plays the next one in sequence.
However, while developing this I have run across websites claiming that VLC can run as a telnet server.
Is it possible to telnet into VLC and remotely tell it which song/movie file to play? Would it return a code of some sort when it's finished playing?