Page 1 of 1

VLC 3.0.0 bug - socket is not created

Posted: 25 Feb 2018 23:36
by Kuba Marcinkowski
Hi!
I had VLC 2.2.8 32 bit - rc interface through socket worked, in place installed VLC 3.0.0 bit - it is not working anymore.

Example command line:
vlc.exe --extraintf rc --rc-host localhost:8811

Socket is not created in VLC 3. In Process Explorer, vlc.exe properties, under TCP/IP no sockets. In VLC 2 socket is created with LISTENING status. Firewall is not a problem.

Beside installable versions, also checked:

http://download.videolan.org/pub/videolan/vlc/
vlc-2.2.8-win32.7z - Do work
vlc-3.0.0-win32.7z 09-Feb-2018 21:21 - Do not
vlc-3.0.0-win64.7z 09-Feb-2018 20:16 - Do not

https://nightlies.videolan.org/
vlc-3.0.1-20180225-0303-win32.7z - Do not
vlc-4.0.0-20180225-0302-dev-win32.7z - Do not

No change in this behaviour after using "VLC media player - reset preferences and cache files".
All versions of VLC 3 checked also with "portable" folder in them (vlc.exe double-clicked, "portable" folder populated by default settings).

Also checked with QT preferences window. Main interfaces > additional interfaces: oldrc; under RC, TCP parameter: "localhost:8811". After saving, again opened preferences has blank TCP parameter. Tried with and without restarting, in all versions (even 2.2.8), socket is not created and host/port not saved.

I am using this feature to control VLC with some out of QT interface interactions. My Python script can not work when VLC is not creating a socket.
OS: Windows 7 64 bit.

Please fix this or give me a new way of doing this.

Re: VLC 3.0.0 bug - socket is not created

Posted: 26 Feb 2018 03:35
by ejalbos
I'm having the same problem doing similar to what you describe (almost exact same command line with different port).
Thx for your deeper investigations identifying the specifics of the issue.

I'd also like this fixed or be told another way to get the same functionality.
Certainly seems like a bug as I'd expect the interface APIs to seamlessly work across versions.

Re: VLC 3.0.0 bug - socket is not created

Posted: 26 Feb 2018 15:41
by Jean-Baptiste Kempf
Please open a bug report on this. This is an important regression...

Re: VLC 3.0.0 bug - socket is not created

Posted: 27 Feb 2018 03:06
by ejalbos

Re: VLC 3.0.0 bug - socket is not created

Posted: 28 Feb 2018 18:02
by chouquette
The bug is now fixed :) Thanks for your report!

Re: VLC 3.0.0 bug - socket is not created

Posted: 28 Feb 2018 22:41
by ejalbos
I noticed the ticket says fixed in 3.0.2 but the latest on the download site is 3.0.1.
Any feel for when the fix version will be up?

Re: VLC 3.0.0 bug - socket is not created

Posted: 02 Mar 2018 11:46
by chouquette
Hopefully within 2 weeks. You can also use a nightly build: https://nightlies.videolan.org/build/

Re: VLC 3.0.0 bug - socket is not created

Posted: 02 Mar 2018 20:57
by ejalbos
thx!