Member


profile-image

mederi

mederi mederi , Slovak Republic

WIP collection

VLC Extensions Feb 19 2017
Score 54%
54.00 Likes
46 Dislikes

Time v2.1

VLC Extensions Oct 24 2016
Score 57%
57.00 Likes
43 Dislikes

Subtitler (lite)

VLC Extensions Nov 02 2014
Score 52%
52.00 Likes
48 Dislikes

Sampler (PG)

VLC Extensions May 22 2014
Score 56%
56.00 Likes
44 Dislikes

Volume Reset to 100%

VLC Extensions May 27 2012
Score 56%
56.00 Likes
44 Dislikes

Time (lite)

VLC Extensions Mar 19 2012
Score 52%
52.00 Likes
48 Dislikes
No supported products.
83 comments
Time2Clipboard VLC Extensions
Mar 14 2017
Time2Clipboard VLC Extensions
Mar 09 2017
VLSub VLC Extensions
Dec 06 2016
Time v2.1 VLC Extensions
Jun 03 2016
Time v2.1 VLC Extensions
Mar 27 2016
Jump to time (Previous frame) v2.1 VLC Extensions
Sep 23 2015
Jump to time (Previous frame) v2.1 VLC Extensions
Thank you for the screenshots. Now I see the difference. VLC for OS X is all different from Windows/Linux. Please can you make 2 more screenshots of 2 different variations for me?
Quote:
-- text_input: col_span=1; button: col=3;
textinput_time = d:add_text_input(Time2string(0), 2,1,1,1) -- "00:00:00,000"
d:add_button(">> &Set time", click_Set_time, 3,1,1,1)
textinput_jump = d:add_text_input(jumps[1][2], 2,3,1,1) -- default jump length (1-st in the list)
d:add_button(">> &Forward", function() click_Jump(1) end, 3,3,1,1)

-- text_input: col_span=2; button: col=4;
textinput_time = d:add_text_input(Time2string(0), 2,1,2,1) -- "00:00:00,000"
d:add_button(">> &Set time", click_Set_time, 4,1,1,1)
textinput_jump = d:add_text_input(jumps[1][2], 2,3,2,1) -- default jump length (1-st in the list)
d:add_button(">> &Forward", function() click_Jump(1) end, 4,3,1,1)
Here is how it looks in my computer:
https://cdn.pbrd.co/images/NYpDsUO.png

I would like to make a different layout for OS X and to keep the compact one for Windows and Linux. I would like to ask you whether you could help me to find out the best way how to distinguish OS X from Linux in VLC Lua. It can be useful for other cases/extensions, too. Perhaps there is an environment variable that is available in all OS X systems and not available in Linux, or they have a different value. According to this link: http://www.cyberciti.biz/faq/set-environment-variable-unix/unix-env-printenv-set-command-to-display-environment-variables/ the OSTYPE could be the one I am looking for. Please check its value in OS X:Quote:
-- some environment variables like "OS" and "windir" on Windows (OS=Windows_NT; windir=C:\WINDOWS). "OSTYPE" on OS X and Linux?
-- word "Application" in userdatadir on OS X, not on Linux?
d:add_html(tostring(os.getenv("OSTYPE")) .."<br />".. vlc.config.userdatadir(), 1,5,3,1)

Do the ampersands "&" in the buttons work as hotkeys (Alt+G, Alt+S, ...)? Probably not as they are not invisible there. I can remove them from OS X layout.
Which of the buttons is the "submit" button? While I am editing a string in a text_input field or selecting an item in the drop-down list on Windows, then the first button in the code "Time format" is automatically focused and ready for action by pressing the Enter key on keyboard.
Sep 21 2015
Jump to time (Previous frame) v2.1 VLC Extensions
Sep 17 2015
Jump to time (Previous frame) v2.1 VLC Extensions
Sep 14 2015
Subtitler (lite) VLC Extensions
Aug 17 2015
Subtitler (lite) VLC Extensions
Aug 16 2015
Click to Play/Pause VLC Extensions
Mar 06 2015
Subtitler (lite) VLC Extensions
Feb 10 2015
xHamster.com VLC Playlist Parsers
Jan 18 2015
VLSub VLC Extensions
Jan 15 2015