Skip to content

VLC Player

VLC exposes a HTTP API that let’s FunPlayer talk with it for information. If you prefer using VLC, read below to get setup.

  1. Open VLC.
  2. Go to VLC -> Settings (or press ⌘,).
  3. Enable Show All settings in the bottom-left corner.
  4. Navigate to Interface -> Main Interfaces and tick Web.
  5. Expand Main Interfaces -> Lua.
  6. Enter a password in the Lua HTTP field. Remember this, FunPlayer will need it.
  7. Save and restart VLC. The web server will load on startup.

By default VLC listens on http://127.0.0.1:8080.

  1. In the Media Players section, click the plus icon.
  2. Choose VLC.
  3. Set a name you like.
  4. Enter the base URL including scheme and port (in most cases this should work: http://127.0.0.1:8080).
  5. Enter the same password you configured in VLC.
  6. Save and click Connect.

FunPlayer will make an attempt to talk with VLC’s HTTP API. If it succeeds, you should see Connected. Authentication failures will produce a red badge with one of these reasons:

  • Authentication failed – Password mismatch (HTTP 401).
  • Application not found – VLC not listening on the supplied host/port (HTTP 404 or DNS failure).
  • Connection refused – Firewall or mismatched port (HTTP 403 or socket error).
  • Open a video in VLC. FunPlayer should show the loaded video in VLC as loaded.
  • When you press play/pause in VLC, FunPlayer will coordinate connected devices with the funscript you selected.
  • Seeking and pausing in VLC should reflect in FunPlayer.
  • No response – Open your browser and go to http://127.0.0.1:8080/requests/status.json, see if it loads (should prompt for the password, leave username blank).
  • HTTPS URLs – VLC’s Lua server does not support HTTPS. Use http:// only.