Page 1 of 1
Automatically Loading a Configuration File in VLM at Startup
Posted: 22 May 2005 08:30
by rossmac
I have VLM (VLC 0.8.2-test1) running as a Service on Windows XP Home SP2 successfully.
One of the new features with VLC 0.8.2-test1 is the ability to load a configuration file into VLM automatically at the startup of VLM.
Can someone describe the method for loading a configuration file in VLM at the startup of VLM. In this case VLM startup will occur when the VLM Service starts up.
/Ross
Posted: 22 May 2005 15:25
by dionoea
Code: Select all
vlc --vlm-conf <text configuration filename> -I telnet
or
Code: Select all
vlc --vlm-conf <text configuration filename> -I http
Posted: 22 May 2005 19:53
by rossmac
Ok, great thanks for the answer. I am assuming that if I am starting VLM as a service the automatic load option has to be included inside the the ntservice options as follows:
c:\program files\videolan\vlc>vlc --ntservice-install --ntservice-name "VLM Server" --ntservice-extraintf telnet --ntservice-options "--rtsp-host 192.168.1.99 --vlm-conf satin.cfg"
/Ross
Posted: 23 May 2005 00:26
by rossmac
I installed VLM (VLC 0.8.2-test1) as a ntservice using the following command line:
C:\Program Files\Videolan\VLC>vlc --extraintf ntservice --ntservice-install --ntservice-name "VLM Server 4" " --ntservice-extraintf telnet --ntservice-options "--rtsp-host 192.168.1.99 --vlm-conf satin.cfg"
The service installs as VLM Server 4.
I can telnet to VLM Server 4, but a show command gives the following result:
Password:
Welcome, Master
> show
show
media : ( 0 broadcast - 0 vod )
schedule
>
No media configuration file is loaded.
The properties for the installed service are as follows:
"C:\Program Files\Videolan\VLC\vlc.exe" -I ntservice --ntservice-extraintf
telnet --rtsp-host 192.168.1.99 --vlm-conf satin.cfg
/Ross
Posted: 23 May 2005 10:18
by dionoea
what happens if you try to load the file manualy using the load command ?
Posted: 23 May 2005 23:42
by rossmac
A manual load of the configuration file also fails.
I also tried entering the "new" and "setup" commands one and a time.
The VLM telnet commands are accepted, but as reported previously the
.mp3 file will not play.
The behaviour when using the "new" and "setup" commands is identical whether VLM is running as a service or as a non-service process.
Commands are accepted, but file will not play.
/Ross