Search found 9 matches

Go to advanced search

by Riley
07 Jul 2010 21:32
Forum: Scripting VLC in lua
Topic: Lua extensions and Hotkeys?
Replies: 12
Views: 23182

Re: Lua extensions and Hotkeys?

What would be cool would be to file those request to the trac.videolan.org/vlc website.
Good idea. I just submitted it.

Thanks.
by Riley
03 Jul 2010 23:50
Forum: Scripting VLC in lua
Topic: Lua extensions and Hotkeys?
Replies: 12
Views: 23182

Re: Lua extensions and Hotkeys?

I think it would be great if extensions automatically showed up in the Hotkey preferences page. So you can assign a hotkey for opening and closing an extension just like any other action. And once an extension is open and has focus it would be nice to accept key presses in the .lua code, instead of ...
by Riley
03 Jul 2010 20:41
Forum: Scripting VLC in lua
Topic: Lua extensions and Hotkeys?
Replies: 12
Views: 23182

Lua extensions and Hotkeys?

Is it possible to open a Lua extension with a hotkey? Is there any other way to open an extension besides using the mouse to open the "View" menu and clicking on the extension name? And what about using key commands to trigger actions in the extension? I've been looking through the documen...
by Riley
01 Jul 2010 21:45
Forum: Scripting VLC in lua
Topic: Using playlist.add in a Lua extension
Replies: 9
Views: 3960

Re: Using playlist.add in a Lua extension

Code: Select all

mytable = {} mytable.path = "file:///C:\\myvideo.avi" vlc.playlist.add({mytable})
You are awesome ivoire. That totally works. I think I tried every other variation except for that one with the brackets moved. :D

Thank you very much.
by Riley
01 Jul 2010 19:35
Forum: Scripting VLC in lua
Topic: Using playlist.add in a Lua extension
Replies: 9
Views: 3960

Re: Using playlist.add in a Lua extension

I tried that syntax too, and got a similar error. I've been reading up on the documentation, but haven't found any working full examples.

Also, the goal is to be able load multiple files into the current playlist, so please tell me if you know a better way to do this.

Thanks.
by Riley
01 Jul 2010 17:38
Forum: Scripting VLC in lua
Topic: Using playlist.add in a Lua extension
Replies: 9
Views: 3960

Re: Using playlist.add in a Lua extension

Thanks, but that syntax just gives me the "Playlist item should be a table" error.
by Riley
01 Jul 2010 07:17
Forum: Scripting VLC in lua
Topic: Using playlist.add in a Lua extension
Replies: 9
Views: 3960

Using playlist.add in a Lua extension

I'm working on a custom extension for changing playlists, and I can't seem to work out how exactly to get playlist.add or playlist.enqueue working in a Lua file. mytable = {} mytable.path = { "file:///C:\\myvideo.avi" } vlc.playlist.add(mytable) I've tried a few variations, and I keep gett...
by Riley
30 Aug 2008 00:00
Forum: VLC media player Feature Requests
Topic: Remember last playlist
Replies: 5
Views: 3289

Re: Remember last playlist

Yes, I second this request. I'd really like to have VLC remember playlist and start with the last file played.

I have some really long playlists and it would be great if I could easily start up again after a restart.

Go to advanced search