Page 1 of 1

Cannot Stream a LUA Playlist

Posted: 17 Jun 2010 13:40
by ginster
I have created a playlist lua script that reads a custom playlist of type *.mpl
The playlist runs fine in VLC as expected, probe()ing and parse()ing correctly.

Problem occurs when I try to stream said playlist (File > Streaming). Playlist items run in VLC but refuses to stream.
Is there something I need to include in the lua script to help it along or is this functionality not available in VLC?

Example values returning to VLC in parse function:

Code: Select all

table.insert( p, { path = path; name = ' '; description = ' ' } )
Where path is C:/_VLC/TestPlaylists/gallery.mp3

VLC Version 1.0.5. running on Windows XP

Re: Cannot Stream a LUA Playlist

Posted: 17 Jun 2010 22:21
by ginster
Hope this helps somebody - You can only stream .xspf playlists from VLC.

Re: Cannot Stream a LUA Playlist

Posted: 09 Jul 2010 14:55
by ILEoo
File > Streaming creates sout-line with :sout, that means its applied only that one item, if you change that to --sout (so : -> -- ) it should work with your lua playlist.