Cannot Stream a LUA Playlist

Discuss your Lua playlist, album art and interface scripts.
ginster
New Cone
New Cone
Posts: 2
Joined: 17 Jun 2010 13:23

Cannot Stream a LUA Playlist

Postby ginster » 17 Jun 2010 13:40

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

ginster
New Cone
New Cone
Posts: 2
Joined: 17 Jun 2010 13:23

Re: Cannot Stream a LUA Playlist

Postby ginster » 17 Jun 2010 22:21

Hope this helps somebody - You can only stream .xspf playlists from VLC.

ILEoo
Developer
Developer
Posts: 91
Joined: 05 Nov 2008 16:29

Re: Cannot Stream a LUA Playlist

Postby ILEoo » 09 Jul 2010 14:55

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.


Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 1 guest