[Extension] Show Stream Title

Discuss your Lua playlist, album art and interface scripts.
Dae
New Cone
New Cone
Posts: 6
Joined: 25 Jul 2018 23:59
Contact:

[Extension] Show Stream Title

Postby Dae » 19 Sep 2018 18:36

A tiny extension that makes VLC show the title of the currently playing video stream, like so:

Image

It might come in handy if you have a TV in a public place which switches between live streaming web cameras, and you want the public to know what’s on the screen right now. The extension also allows you to set custom titles even for those streams that you don’t own (e.g. from YouTube), via XSPF playlists.

Unfortunately, VLC on Windows keeps resetting its extraintf setting (extraintf=luaintf changes to extrainf=lua), without which the extension doesn't work. For this reason, I recommend to activate the extension using the command:

Code: Select all

C:\Program Files\VideoLAN\VLC\vlc.exe --extraintf=luaintf --lua-intf=show-stream-title
On macOS everything works as intended.

For more information, see:
https://github.com/EugeneDae/VLC-Show-Stream-Title


Special thanks to mederi, a contributor to this community, whose code helped me get started.

Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 3 guests