This package lets you control VLC through the Web Interface's API.
Go to Preferences → HTTP web interface → check "Enable HTTP web interface", and don't forget to set a non-empty password, then restart VLC.
Another choice is simply M-x vlc-start, it will launch VLC for you with this
command:
vlc --extraintf http --http-password secret
There are many commands such as M-x vlc-add to add a file to the playlist and
play it, here's a list of all commands:
- vlc-add
- vlc-clear
- vlc-delete
- vlc-empty
- vlc-enqueue
- vlc-fullscreen
- vlc-key
- vlc-loop
- vlc-next
- vlc-pause
- vlc-play
- vlc-prev
- vlc-random
- vlc-repeat
- vlc-seek
- vlc-snapshot
- vlc-sort
- vlc-stop
- vlc-volume
- Emacs 25.1
- VLC
- HTTP Requests API README
- API source code httprequests.lua
- Racket package https://docs.racket-lang.org/vlc/ for inspiration, it uses RC interface, not the Web Interface