Use http remote to quit VLC instance

Discuss your Lua playlist, album art and interface scripts.
peter-stein
New Cone
New Cone
Posts: 1
Joined: 16 Apr 2020 18:20

Use http remote to quit VLC instance

Postby peter-stein » 16 Apr 2020 18:31

I am sure, I do overlook something... however I can’t locate a hint on how I could possibly send a “quit” command to a running VLC instance over http
I’m perfectly able to send commands like ‘add to playlist’, ‘start playing file’, ‘stop playing current item’ and so on. However, I can’t find any command causing VLC to gracefully exit.

Any help is appreciated.
Best regards

Etoh
Blank Cone
Blank Cone
Posts: 60
Joined: 12 Jan 2013 16:33

Re: Use http remote to quit VLC instance

Postby Etoh » 18 May 2020 00:02

The scripting command for quit is vlc.misc.quit(). You might be able to add this functionality by modifying vlc/share/lua/intf/http.lua but I've not tried.


Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 3 guests