How to open VLC wit JAVA and later play a file with it..?

Hi,

I do it if I want to Play a file with VLC:

Runtime rt = Runtime.getRuntime();

try {

rt.exec("C:\\Program Files\\VideoLAN\\VLC\\vlc " + "C:\\songs\\llarala.mp3");

} catch (IOException e) {

// TODO Auto-generated catch block

e.printStackTrace();

}

but I want to Open VLC and later work with this VLC opend, for example to Play a file with it. Anyone knows how to do it? Thanks.. I' m new about that..

[465 byte] By [berlinerwurma] at [2007-11-27 10:43:33]
# 1

Keep working as you are is the simplest way. The VLC client (and server) has a pretty rich command-line interface, you can do pretty much anything through the command-line that you can with any other interface. Or there's the telnet interface, if all those processes are too much

georgemca at 2007-7-28 20:01:04 > top of Java-index,Java Essentials,Java Programming...