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.
Configure VLC
Section titled “Configure VLC”- Open VLC.
- Go to VLC -> Settings (or press
⌘,). - Enable Show All settings in the bottom-left corner.
- Navigate to Interface -> Main Interfaces and tick Web.
- Expand Main Interfaces -> Lua.
- Enter a password in the Lua HTTP field. Remember this, FunPlayer will need it.
- Save and restart VLC. The web server will load on startup.
By default VLC listens on http://127.0.0.1:8080.
Add VLC to FunPlayer
Section titled “Add VLC to FunPlayer”- In the Media Players section, click the plus icon.
- Choose VLC.
- Set a name you like.
- Enter the base URL including scheme and port (in most cases this should work:
http://127.0.0.1:8080). - Enter the same password you configured in VLC.
- 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).
Playback Expectations
Section titled “Playback Expectations”- 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.
Troubleshooting
Section titled “Troubleshooting”- 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.