Skip to content

Does --extraintf=http work on android?

I'm trying to connect to the VLC player on Android to get the current media position and the name of a file that is playing (and later tell VLC to open that file too, but I'm at least starting with getting the needed information).

After a long search, I've come up with an idea of using --extra-intf=http for this. It allows to connect to the VLC via a browser. On the Desktop VLC player (Desktop(browser) <-> Desktop(player)), it works (that player is connectable via a browser), However, on Android when I go to Setting -> Advanced -> Custom libVLC options and put there:

--http-host=192.168.1.100
--http-port=8080
--extraintf=http
--http-password=abc

I can't connect in neither of those ways:

  1. Desktop(browser) <-> Android(player)
  2. Android(browser) <-> Android(player) (using localhost --http-host=127.0.0.1)

Do those interfaces simply not work on Android?

If so and anybody can suggest some other solution that I can use instead (even if that solution involves having to develop an android app which talks locally to VLC on the same android), I would be extremely grateful. So far, I wasn't able to find what kind of interfaces are even available for automation on android if I want to control the VLC Android player through a script.

Edited by James Smith