Mac - Lua: Some VLC Lua Extensions do not work
Subtitler (lite) mod: the VLC Lua Extension contains dialog box with a button and a label widget and reads SRT files. http://addons.videolan.org/content/show.php?content=152364#c465569
Re: Re: Doesn't work in OS X by conehead on: May 31 2014
This is what I've done.
- Put the file 'Subtitler (lite) mod.lua' in /Applications/VLC.app/Contents/MacOS/share/lua/extensions/
- Play a media
- Activate the extension VLC > Extensions > Subtitler (lite) mod
- Don't know what you mean by 'press and hold enter'. Sometimes the extension window shows, sometimes it crashes - here's the report
Process: VLC [51277]
Path: /Applications/VLC.app/Contents/MacOS/VLC
Identifier: org.videolan.vlc
Version: 2.1.4 (2.1.4)
Code Type: X86-64 (Native)
Parent Process: launchd [204]
User ID: 501
Date/Time: 2014-05-31 08:18:37.561 +0200
OS Version: Mac OS X 10.8.5 (12F45)
Report Version: 10
Crashed Thread: 18
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: EXC_I386_GPFLT
Thread 18 Crashed:
0 liblua_plugin.dylib 0x00000001007b740c lua_replace + 204
1 liblua_plugin.dylib 0x00000001007d0a58 gmatch_aux + 168
2 liblua_plugin.dylib 0x00000001007bbda4 luaD_precall + 1316
3 liblua_plugin.dylib 0x00000001007bbe3e luaD_call + 94
4 liblua_plugin.dylib 0x00000001007c6933 luaV_execute + 1139
5 liblua_plugin.dylib 0x00000001007bbe4f luaD_call + 111
6 liblua_plugin.dylib 0x00000001007bb295 luaD_rawrunprotected + 85
7 liblua_plugin.dylib 0x00000001007bb309 luaD_pcall + 73
8 liblua_plugin.dylib 0x00000001007b5b03 lua_pcall + 275
9 liblua_plugin.dylib 0x00000001007a39e1 lua_ExecuteFunctionVa + 417
10 liblua_plugin.dylib 0x00000001007a349d lua_ExecuteFunction + 157
11 liblua_plugin.dylib 0x00000001007a4e9a Run + 314
12 libsystem_c.dylib 0x00007fff91ae2772 _pthread_start + 327
13 libsystem_c.dylib 0x00007fff91acf1a1 thread_start + 13
The extension works under Windows and Linux, but Mac OS X user report disability. It seems that there is a bug somewhere. As a Windows XP user I cannot test it under OS X. Is there anything I should avoid or do a different way when writing Lua scripts to make them work under all 3 major platforms? I would like to know the VLC Lua limitations/differences between OS X and !Windows/Linux. Thanks in advance