"Speed Selector"_Add 0.1 Steps_Customize Tool Bar

Discuss your Lua playlist, album art and interface scripts.
VLbug
New Cone
New Cone
Posts: 2
Joined: 08 Oct 2019 03:49

"Speed Selector"_Add 0.1 Steps_Customize Tool Bar

Postby VLbug » 08 Oct 2019 04:44

Sorry if this Question/Post is in the wrong place, it is my 1st post.
VLAN version 3.0.7.1

Subject = Tools---> Customize Interface ---> Speed Selector.

Question1: Is there a way to edit the file that creates the "speed selector control buttons",
so that pushing the buttons will increment the speed by 0.1 instead of by 0.5?

Question2: What is LUA? Some kind of editing language?

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: "Speed Selector"_Add 0.1 Steps_Customize Tool Bar

Postby mederi » 09 Oct 2019 17:41

https://forum.videolan.org/viewtopic.php?f=29&t=137618
Lua is a programming language https://en.wikipedia.org/wiki/Lua_(programming_language)
It is a tiny helper used in various programs. VLC developers have created/defined a Lua interface for VLC addons - Lua scripts of several types (Extension script like VLSub, Playlist script like YouTube, ...). Then it is easier to add and maintain enhancements.

VLbug
New Cone
New Cone
Posts: 2
Joined: 08 Oct 2019 03:49

Re: "Speed Selector"_Add 0.1 Steps_Customize Tool Bar

Postby VLbug » 12 Oct 2019 20:22

mederi,
Thanks for the answering.
But I'm having trouble getting the lua file to work.
I read the link/threads and created the "faps.lua" file.
I copied the lua file to the directory, ===> C:\Program Files\VideoLAN\VLC\lua\extensions
Then opened VLC - View, but I don't see anything listed there.

My VLC version is 3.0.7.1. Should this lua file work with this version?

Any ideas?

Note: The only other file in that directory is VLSub.luac.

VLbug

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: "Speed Selector"_Add 0.1 Steps_Customize Tool Bar

Postby mederi » 14 Oct 2019 23:53

Everything is correct and the script should work. The extension contains a dialog box window with input field for custom step, and 2 buttons to increase/decrease the speed. You can check encoding of the saved script file (ANSI/UTF-8 without BOM) or you can download&extract the script file from WIP collection https://addons.videolan.org/p/1167844/ Try to check file/dir properties (right-click) or try different location: %APPDATA%\VLC\lua\extensions\
There are [] hotkeys for Slower/Faster (fine) with the 0.1 step in VLC.


Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 1 guest