VLM saving settings

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
Pumar
New Cone
New Cone
Posts: 5
Joined: 22 May 2014 11:02

VLM saving settings

Postby Pumar » 22 May 2014 11:33

Hi everyone:)

I'm setting server that is supposed to playout multicasts. VLM seems perfect for this purpose however I'm struggling with one thing - it will be used by multiple users that don't want to write in command lines. vlm.http looks really nice but it doesn't save settings. If I set multiple streams it works, until restart of VLC. Is it possible for VLM to save settings?

Thank you for any help:)

Edit:
I've forgot to add: I'm using vlc on CentOs.

Pumar
New Cone
New Cone
Posts: 5
Joined: 22 May 2014 11:02

Re: VLM saving settings

Postby Pumar » 03 Jun 2014 09:27

Anyone?
Maybe if automatic saving settings is not possible, I could do some kind of button that would manually save settings. However still loading settings after restart should be automatic.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLM saving settings

Postby Jean-Baptiste Kempf » 05 Jun 2014 14:20

You can export the vlm files.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Pumar
New Cone
New Cone
Posts: 5
Joined: 22 May 2014 11:02

Re: VLM saving settings

Postby Pumar » 05 Jun 2014 16:12

Unfortunately when I try to manually export it I get this error:

Error loading /vlm_export.html

[string "/usr/share/vlc/lua/http/vlm_export.html"]:8: attempt to index field 'vlm' (a function value)

Pumar
New Cone
New Cone
Posts: 5
Joined: 22 May 2014 11:02

Re: VLM saving settings

Postby Pumar » 12 Jun 2014 09:39

I've made a little script that connects by telnet and save settings, maybe someone can use it in the future (as I've just realized that vlc doesn't support KLV...).
It also adds "control broadcastname play" to the end of file so it will automatically play after reboot.

Code: Select all

#! /home/user NOW=$(date +" %M:%H %d-%m-%y") mv "/home/user/Settings/vlm.vlm" "/home/user/Settings/vlm.vlm$NOW" { sleep 1s echo admin sleep 2s echo save /home/user/vlm.vlm sleep 2s echo quit } | telnet localhost 4212 sed -n 's/new \(.*\) broadcast enabled loop/\1/p' /home/user/vlm.vlm > /home/user/temp.temp while read line; do echo control $line play >> /home/user/vlm.vlm done < /home/user/temp.temp rm /home/user/temp.temp mv /home/user/vlm.vlm "/home/user/Settings/vlm.vlm"


Return to “VLM”

Who is online

Users browsing this forum: No registered users and 19 guests