Can not load more than one additional interface

macOS specific usage questions
Fredde87
New Cone
New Cone
Posts: 6
Joined: 23 Oct 2011 11:02

Can not load more than one additional interface

Postby Fredde87 » 22 May 2012 16:35

Hi,

I have recently updated to version 2.0.1 and I am having problems getting my usual setup working. I usually have both the http and the rc module loaded to control VLC. Obviously there has been some changes to the http modules since version 2.0 so I am trying to get it to work but I cant get both modules loaded together on startup.

I am launching VLC from a Applescript so I can either pass the parameters there or set it under preference, it doesnt really matter too much to me.

If i just pass --extraintf=rc then the rc module loads correctly and I can control it via telnet. If I pass it --extraintf=http then the http interface works fine and I can control it in my web browser via port 8080 and it works.

However if I pass it --extraintf=rc,http then I only get the rc module loaded. And vice versa if I pass it --extraintf=http,rc then I only get the http module loaded. If I run VLC in verbose (-vvv) then there is no mention at all in the output of the second module. Its as if it only processes the first one and then does not read any other modules after that.

If I start VLC with --extraintf=rc and then open the menu bar and go to Add Interface -> Web then the web module starts and I have both the rc and http module working. However obviously it forgets this as soon as I close VLC.

I have also tried putting rc,http under the perferences and it doesn't work from there either.

Am I missing something stupid or is this a potential bug? I have also tried various random suggestions I have found online including loading the lua module and then listing http and rc under the lua module field but that doesnt work. I also read something about a lrc and lhttp module which I have tried to load but that does nothing at all for me.

Any suggestions are welcome at this stage!


Thanks!

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Can not load more than one additional interface

Postby Jean-Baptiste Kempf » 22 May 2012 17:26

vlc --extraintf=rc -Ihttp
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Fredde87
New Cone
New Cone
Posts: 6
Joined: 23 Oct 2011 11:02

Re: Can not load more than one additional interface

Postby Fredde87 » 23 May 2012 14:04

vlc --extraintf=rc -Ihttp
Thanks! I gave that a try but I get neither the RC or the HTTP module if I start VLC with those parameters. As soon as I remove -Ihttp then the RC modules loads correctly...

Btw I feel like a idiot now as I just realised that some other posts I had read earlier suggested -Ihttp but I read the capital I as a lowercase l (got confused because the post was talking about lua so I assumed it was a l)..

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Can not load more than one additional interface

Postby Jean-Baptiste Kempf » 23 May 2012 14:37

vlc --intf http does not work for you?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Fredde87
New Cone
New Cone
Posts: 6
Joined: 23 Oct 2011 11:02

Re: Can not load more than one additional interface

Postby Fredde87 » 23 May 2012 18:20

vlc --intf http does not work for you?
Ok I was just about to write back and say it doesnt work. I thought I'd give you the verbose output so I put it into a terminal window instead of a Applescript and all of a sudden it worked. So for some reason it doesnt seem to work from a Applescript but the exact same command works from a terminal window.

However obviously using --intf http it will start VLC in the terminal window with ASCII art instead of using the macosx interface. What parameters should I be using to have macosx as the primary interface and rc and http as additional ones? And why do you think Apple script is causing me problems? Here is my Applescript,

Code: Select all

do shell script "playlist_generator.pl" do shell script "/Applications/VLC.app/Contents/MacOS/VLC '/Users/myusername/Public/DropBox/playlist.m3u' --intf http --extraintf=rc --sub-filter=logo --loop --fullscreen > /dev/null 2>&1 &" delay 5 tell application "VLC" to activate tell application "System Events" to keystroke "f" using command down

Thanks!

Fredde87
New Cone
New Cone
Posts: 6
Joined: 23 Oct 2011 11:02

Re: Can not load more than one additional interface

Postby Fredde87 » 03 Jun 2012 08:32

Bump?...


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 21 guests