Skip to content

Instantly share code, notes, and snippets.

View ynikitenko's full-sized avatar

Yaroslav Nikitenko ynikitenko

View GitHub Profile
@dsferruzza
dsferruzza / stop-after-this-track.lua
Created June 8, 2014 21:12
This is a Proof Of Concept of a feature I miss in VLC: "stop after this track"
--[[
This is a Proof Of Concept of a feature I miss in VLC: "stop after this track"
This is my first time hacking VLC, so I have some questions:
1) Is "descriptor().description" useful? (I can't find how it is used by VLC)
2) When is "meta_changed()" called and what is it supposed to return?
3) Is there a VLC Lua API's documentation? (I read https://www.videolan.org/developers/vlc/share/lua/README.txt but I had to pick up some stuff from existing extensions on GitHub to get this done)
4) Is there a "standard" way to handle localization?
5) Is it possible to add an entry to the tray icon's context menu? (How?)