Remote control interface oldrc not functional
The remote control interface "oldrc" no longer seems to be functional in VLC v3.0.0. The settings do not appear to have changed in the settings dialog.
Tested with v2.2.8 and v3.0.0 to verify the issue.
Also tested with nightly builds vlc-3.0.1-20180212-1126-win32 and vlc-4.0.0-20180212-0311-dev-win32.
Steps to Reproduce:
-
Install VLC (clear preferences and cache)
-
Tools -> Preferences
-
Show Settings -> Select "All"
-
Interface -> Main interfaces -> Select "Web" and "Remote control interface"
-
Interface -> Main interfaces -> Lua -> Lua HTTP -> Configure "password"
-
Interface -> Main interfaces -> Lua -> Lua CLI -> Configure "TCP command input" -> ":8081"
-
Save
-
Verify that on restart, VLC is listening on port 8081
- Note that port 8080 is the http ("web") interface and is not necessary to reproduce the issue.
OS:
Tested on Windows 7 SP1
Relevant Config (same for both versions):
- This is the configuration after making the changes in the setup steps above.
[oldrc] # Remote control interface
[lua] # Lua interpreter
Password (string)
http-password=
TCP command input (string)
rc-host=:8081
[core]
extraintf=http:oldrc
Listening Ports (v2.2.8):
TCP :8080 LISTENING
TCP :8081 LISTENING
Results (v2.2.8):
-
Shows main video window
-
Shows DOS box window with status changes on demand
-
On main window close, the DOS box is automatically dismissed without error
Listening Ports (v3.0.0):
TCP :8080 LISTENING
Results (v3.0.0):
- Shows main video window only, oldrc DOS box is missing
Things Tried (manual config edits):
- Using the host configuration setting in the "[oldrc]" section of the config file didn't help.
[oldrc] # Remote control interface
TCP command input (string)
rc-host=:8081
-
Changing rc-host to cli-host in the "[lua]" section causes the DOS box to open, but no port 8081 listener is created.
-
In this case, closing the main application window causes the DOS box to stay open, at which point no further instances of VLC can be started.
[lua] # Lua interpreter
CLI input (string)
cli-host=:8081
-
Changing the rc-host to telnet behaves the same as cli-host above
-
Various combinations of , localhost, port, no-port don't seem to make any difference.
-
Trying without the http interface doesn't seem to make any difference. The oldrc interface always fails to start.
Logs (2.2.8):
- There don't appear to be any log messages (at any level) for either oldrc or http interfaces.
Logs (>= 3.0.0):
...
main debug: using interface module "lua"
main debug: looking for interface module matching "oldrc,none": 16 candidates
lua: Lua HTTP interface
main debug: creating VLM
lua debug: Loaded C:\Program Files (x86)\VideoLAN\VLC\lua\http/custom.lua
oldrc debug: base: (null), port: 0
main debug: net: listening to * port 0
main debug: net: listening to * port 8080
main error: Cannot resolve port 0 : No such host is known.
oldrc warning: can't listen to (null) port 0
main debug: no interface modules matched
main error: no suitable interface module
main error: interface "oldrc,none" initialization failed
...