Search found 21 matches

Go to advanced search

by NoMoreNicksLeft
10 Aug 2013 17:09
Forum: Scripting VLC in lua
Topic: The metadata columns displayed in the playlist...
Replies: 0
Views: 782

The metadata columns displayed in the playlist...

Can these be changed from within an SD script? In Windows, I think I've figured out which file they are stored in (since the columns chosen are persistent across VLC restart), but changing the file contents while it is running doesn't affect VLC until the next restart. OS X, on the other hand, I can...
by NoMoreNicksLeft
01 Aug 2013 17:22
Forum: General VLC media player Troubleshooting
Topic: What is the status of RTMP support?
Replies: 7
Views: 6863

What is the status of RTMP support?

I'm reading many contradictory things on various forums and blog posts. One post on Superuser.com suggests that this has worked since 1.1, other places suggest using third party tools to pipe rtmp into VLC. My own experiments either show I'm screwing up how to load the URLs, or that it isn't support...
by NoMoreNicksLeft
18 Jun 2013 02:55
Forum: Scripting VLC in lua
Topic: VLC interface script for Syncplay 1.2.6
Replies: 15
Views: 68353

Re: VLC interface script for Syncplay 1.2.6

The Mac OSX directory is wrong, every time they upgrade to the latest version, anything in /Applications/VLC.app will be blown away.

They should install it in ~/Library/Application Support/org.videolan.vlc/lua/intf/ instead.
by NoMoreNicksLeft
14 Jun 2013 14:54
Forum: Scripting VLC in lua
Topic: Trying to invoke httpd() in an interface script...
Replies: 2
Views: 1131

Re: Trying to invoke httpd() in an interface script...

I've *never* been able to get an interface to start from the preferences dialog. The dialog makes it seem like it should be possible (and it needs to be, there's no way to set it to do so automatically in OS X where a new version won't blow it away), but it never works no matter what I try.
by NoMoreNicksLeft
14 Jun 2013 06:20
Forum: Scripting VLC in lua
Topic: Trying to invoke httpd() in an interface script...
Replies: 2
Views: 1131

Trying to invoke httpd() in an interface script...

I start VLC with the following command: /Applications/VLC.app/Contents/MacOS/VLC -vvv --extraintf=luaintf --lua-intf rest This seems to find the rest.lua script located in ~/Library/Application\ Support/org.videolan.vlc/lua/intf directory (and boy was it tough figuring out the correct parameters... ...
by NoMoreNicksLeft
14 Jun 2013 05:55
Forum: Scripting VLC in lua
Topic: User-agent in http header
Replies: 2
Views: 4405

Re: User-agent in http header

I thought I saw a user-agent snippet in the appletrailers script, might want to check that. Ah, found it: table.insert( playlist, { path = urlline, name = description .. '(' .. resolution .. ')', arturl = art_url, options = {":http-user-agent=QuickTime/7.5", ":play-and-pause"} } ...
by NoMoreNicksLeft
22 Aug 2012 06:51
Forum: Scripting VLC in lua
Topic: I'm trying to clear the playlist from a playlist script...
Replies: 2
Views: 1862

Re: I'm trying to clear the playlist from a playlist script.

You guys closed the bug, said it was invalid ( 7370 ). Then left snooty comments that I shouldn't want such a thing. And yet, when I show what I have to developers on IRC, you didn't even understand it... you thought you were watching a stream. I've got something really cool going. Though no one who...
by NoMoreNicksLeft
20 Aug 2012 00:21
Forum: Scripting VLC in lua
Topic: I'm trying to clear the playlist from a playlist script...
Replies: 2
Views: 1862

I'm trying to clear the playlist from a playlist script...

I'd like to do this before my script adds to the playlist. I've tried doing: vlc.playlist.clear() But I get the following error: 0x14caead8] lua demux warning: Error while running script /Applications/VLC.app/Contents/MacOS/share/lua/playlist/spacepotato.lua, function parse(): ...pp/Contents/MacOS/s...
by NoMoreNicksLeft
16 Aug 2012 15:39
Forum: Scripting VLC in lua
Topic: Is it possible to write to the filesystem from a lua script?
Replies: 3
Views: 2181

Re: Is it possible to write to the filesystem from a lua scr

Mark, Turns out you were right. I can write to the filesystem... it's just that when I run it from the term it was writing to my home directory. When running from the dock, it'd drop things in root. So I have to qualify the filename with an absolute path, but I've yet to figure out how to determine ...
by NoMoreNicksLeft
16 Aug 2012 02:26
Forum: Scripting VLC in lua
Topic: Is it possible to write to the filesystem from a lua script?
Replies: 3
Views: 2181

Re: Is it possible to write to the filesystem from a lua scr

I'm having no luck with that. I've tried the following code inside of a playlist script: fh = io.open('test.txt', "w") fh:write("test is a test") fh:flush() fh:close() I was expecting it to attempt to create a file somewhere within VLC's own directory tree, but it's nowhere to be...
by NoMoreNicksLeft
15 Aug 2012 03:24
Forum: Scripting VLC in lua
Topic: Possible to start in middle of videos from playlist scripts?
Replies: 4
Views: 2690

Re: Possible to start in middle of videos from playlist scri

For those curious about the answer, here goes nothing: return { { path = path; name = name; description = description; artist = artist; arturl = arturl; options = { ':start-time=' .. stime } } } Of course, figuring out how to get the start time of a Youtube URL is a bit difficult, since it's embedde...
by NoMoreNicksLeft
14 Aug 2012 02:48
Forum: Scripting VLC in lua
Topic: Possible to start in middle of videos from playlist scripts?
Replies: 4
Views: 2690

Re: Possible to start in middle of videos from playlist scri

I tried to set start-time to an integer value, but no luck. t[i] = { path = link; name = title; duration = duration; start-time = 60 } return t The above just gives me the following error: [0x171db3c8] lua demux warning: Error loading script /Applications/VLC.app/Contents/MacOS/share/lua/playlist/sp...
by NoMoreNicksLeft
13 Aug 2012 22:33
Forum: Scripting VLC in lua
Topic: Possible to start in middle of videos from playlist scripts?
Replies: 4
Views: 2690

Possible to start in middle of videos from playlist scripts?

I've been reading through everything I can find, but it doesn't seem possible to start a video a minute in from a playlist script. Is this possible? I'd like to modify the youtube.lua script so that it correctly parses URLs with the &start=30 query string parameter. If this isn't possible, what ...
by NoMoreNicksLeft
11 Aug 2012 09:50
Forum: Scripting VLC in lua
Topic: Proposal for a standard-included playlist script...
Replies: 1
Views: 1928

Proposal for a standard-included playlist script...

This playlist script would be named zzzzzzzz.lua. As I understand it, this would force it to be run last... so if there is a more relevant playlist script, that one would take over and this ignored. Furthermore, assuming it hits a webpage at all, its probe() would return true. This means it will att...
by NoMoreNicksLeft
11 Aug 2012 06:55
Forum: Scripting VLC in lua
Topic: Possible to force a jpg to display >10 secs from a playlist?
Replies: 3
Views: 1931

Re: Possible to force a jpg to display >10 secs from a playl

Jean-Baptiste, I have the php page I'm pointing VLC at continue to tell it to load the image for however long I want it displayed... and it doesn't even seem to stop playing, loading it again instantly. Do you know whether it caches the image, or is it doing a http get every time? Other than the pos...
by NoMoreNicksLeft
10 Aug 2012 07:44
Forum: Scripting VLC in lua
Topic: Has anyone considered...
Replies: 2
Views: 2109

Re: Has anyone considered...

Well, I've tinkered a bit since my initial post. I have the following lua playlist script installed: -- Probe function. function probe() if vlc.access ~= "http" and vlc.access ~= "https" then return false end site = string.find( vlc.path, "spacepotato" ) if site == nil ...
by NoMoreNicksLeft
10 Aug 2012 01:27
Forum: Scripting VLC in lua
Topic: Possible to force a jpg to display >10 secs from a playlist?
Replies: 3
Views: 1931

Possible to force a jpg to display >10 secs from a playlist?

I'm loading the old RCA test pattern image before I load other videos on the page, but it defaults to 10 seconds. I can't get access to the config object to change it, but even if I could... I wouldn't have a chance to clean up after myself so until the user went in and manually fixed it it'd be stu...
by NoMoreNicksLeft
08 Aug 2012 23:35
Forum: Scripting VLC in lua
Topic: Is it possible to write to the filesystem from a lua script?
Replies: 3
Views: 2181

Is it possible to write to the filesystem from a lua script?

What I had in mind was writing a playlist script named something like zzzzzzzzzz.lua. As I understand it, since it would come last (alphabetical order) it would be ignored if any other scripts matched. If all the others failed to match, this script would be written to return true on the probe no mat...
by NoMoreNicksLeft
08 Aug 2012 18:10
Forum: Scripting VLC in lua
Topic: Has anyone considered...
Replies: 2
Views: 2109

Has anyone considered...

That VLC has (most of) the features to allow the creation of what you might call "virtual television channels"? You can add permanent items to the playlist sidebar (service discovery modules). And you can add playlist scripts capable of parsing html/xml/rss for video files. If you created ...
by NoMoreNicksLeft
07 Aug 2012 00:01
Forum: General VLC media player Troubleshooting
Topic: Some questions about the 2.0.3 interface...
Replies: 1
Views: 1147

Some questions about the 2.0.3 interface...

I'm pretty sure these questions are OS agnostic. Please forgive me if they aren't but a quick double-check on the work Windows computer makes it look like it's similar to OSX at home. Is there any way to add the other metadata columns to the playlist? I only see name, author, and duration. Is there ...
by NoMoreNicksLeft
06 Aug 2012 23:51
Forum: Scripting VLC in lua
Topic: I'm having a little trouble with SDs.
Replies: 0
Views: 1078

I'm having a little trouble with SDs.

I've managed to figure out how to do playlist parsers, and have added support for a video website that no one seems to have bothered with. In addition to playing the video at any specific url, it also will load all the videos off the front page (or search results page) along with the "next page...

Go to advanced search