Seand headers with vlc.stream?

Discuss your Lua playlist, album art and interface scripts.
ParadoxImmobilizer
New Cone
New Cone
Posts: 4
Joined: 08 Mar 2022 00:51
Operating System: Win11/Linux/Android

Seand headers with vlc.stream?

Postby ParadoxImmobilizer » 02 Jun 2023 11:19

I am writing an extension using Lua that interacts with an API that requires HTTP headers for authentication. I have been using vlc.stream(url) for my HTTP requests, but I don't see any way to attach headers using this function. Is there a way to attach headers to vlc.stream, or is there another Lua module in VLC for making these kind of requests?

Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 6 guests