I want to add a new command to the telnet interface. How do you extend the CLI.lua script?
I copied the cli.lua, added my command to the list but on launch of vlc it complained about a nil error on the '?'. I'm guessing that the alias '?' on the help command is an issue when you simply drop a lua in the intf folder. I just copied the seek entry and changed its name. I just wanted to see a new entry when i typed help at the telnet command prompt. I'm guessing I had to compile the lua to luac but the luac.lua instruction didn't work.
When I say extend I'm thinking in terms of Java. I would like to add a new command without editing the existing lua. I realize I may have no choice but wanted to ask.
Thank you