HTTP interface password

Discuss your Lua playlist, album art and interface scripts.
x32
New Cone
New Cone
Posts: 8
Joined: 11 Aug 2017 06:34

HTTP interface password

Postby x32 » 11 Aug 2017 06:48

I'm trying to update my old HTTP interface scripts to work with the latest version of VLC, version 2.26 Umbrella. As I understand it I am required to use a password now.

All my old commands seem to work fine once logged in. Working example.

Code: Select all

http://127.0.0.1:8080/requests/status.xml?command=pl_pause
Is there a way to log in with a url? Here is a non-working example.

Code: Select all

http://127.0.0.1:8080/?username=&password=mypassword

Rémi Denis-Courmont
Developer
Developer
Posts: 15323
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: HTTP interface password

Postby Rémi Denis-Courmont » 11 Aug 2017 14:15

The way to pass HTTP credentials depends on the HTTP client.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

x32
New Cone
New Cone
Posts: 8
Joined: 11 Aug 2017 06:34

Re: HTTP interface password

Postby x32 » 11 Aug 2017 16:11

How would you do it just using Firefox? The commands I've been using for years still work but now it needs to log in every time.
Image


Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 7 guests