Automatically Loading a Configuration File in VLM at Startup

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
rossmac
Blank Cone
Blank Cone
Posts: 48
Joined: 06 Mar 2004 18:46

Automatically Loading a Configuration File in VLM at Startup

Postby rossmac » 22 May 2005 08:30

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

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 22 May 2005 15:25

Code: Select all

vlc --vlm-conf <text configuration filename> -I telnet
or

Code: Select all

vlc --vlm-conf <text configuration filename> -I http
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

rossmac
Blank Cone
Blank Cone
Posts: 48
Joined: 06 Mar 2004 18:46

Postby rossmac » 22 May 2005 19:53

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

rossmac
Blank Cone
Blank Cone
Posts: 48
Joined: 06 Mar 2004 18:46

Postby rossmac » 23 May 2005 00:26

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

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 23 May 2005 10:18

what happens if you try to load the file manualy using the load command ?
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

rossmac
Blank Cone
Blank Cone
Posts: 48
Joined: 06 Mar 2004 18:46

Postby rossmac » 23 May 2005 23:42

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


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 25 guests