Skip to content

Latest commit

 

History

History
68 lines (50 loc) · 1.13 KB

index.md

File metadata and controls

68 lines (50 loc) · 1.13 KB
title project
Miscellaneous Module
vlc-lua-docs

Disparate assortment of VLC utilities only available in Interface scripts.

Availability

Script Types
Interface

version()

Get the VLC version string.

Return value

The VLC version string


copyright()

Get the VLC copyright statement.

Return value

String containing the VLC copyright statement


license()

Get the VLC license.

Return value

String containing the VLC license


action_id()

Get the ID of an action.

Parameters

  • action String containing the name of an action

Return value

Number indicating the ID of the given action


mdate()

Get the current date.

Return value

Number representing the current date in microseconds


mwait()

Causes the script to wait until the given date

Usage

function Sleep(st) -- seconds
	vlc.misc.mwait(vlc.misc.mdate() + st*1000000)
end

Parameters


quit()

Quit VLC