Playlist, empty streams

Discuss your Lua playlist, album art and interface scripts.
Norbert
New Cone
New Cone
Posts: 2
Joined: 06 Sep 2018 14:38

Playlist, empty streams

Postby Norbert » 06 Sep 2018 15:12

Code: Select all

s, e = vlc.stream("https://www.cda.pl/video/1806023b5?wersja=720p"); if(s) then l = s:readline(); -- always nil if(l) then vlc.msg.dbg(l); end else vlc.msg.dbg(e); end

Code: Select all

main debug: VLC media player - 3.0.4 Vetinari main debug: Copyright © 1996-2018 the VideoLAN team main debug: revision 3.0.4-0-gf615db6332 main debug: configured with ../extras/package/win32/../../../configure '--enable-update-check' '--enable-lua' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-avcodec' '--enable-merge-ffmpeg' '--enable-dca' '--enable-mpc' '--enable-libass' '--enable-schroedinger' '--enable-realrtsp' '--enable-live555' '--enable-dvdread' '--enable-shout' '--enable-goom' '--enable-caca' '--enable-qt' '--enable-skins2' '--enable-sse' '--enable-mmx' '--enable-libcddb' '--enable-zvbi' '--disable-telx' '--enable-nls' '--host=x86_64-w64-mingw32' '--with-breakpad=https://win.crashes.videolan.org' 'host_alias=x86_64-w64-mingw32' 'PKG_CONFIG_LIBDIR=/home/jenkins/workspace/vlc-release/windows/vlc-release-win32-x64/contrib/x86_64-w64-mingw32/lib/pkgconfig' main debug: processing request item: 1806023b5, node: Lista odtwarzania, skip: 0 main debug: rebuilding array of current - root Lista odtwarzania main debug: rebuild done - 1 items, index 0 main debug: starting playback of new item main debug: resyncing on 1806023b5 main debug: 1806023b5 is at 0 main debug: creating new input thread main debug: Creating an input for '1806023b5' main debug: requesting art for new input thread main debug: using timeshift granularity of 50 MiB main debug: using timeshift path: C:\Users\Norbert\AppData\Local\Temp main debug: `https://www.cda.pl/video/1806023b5' gives access `https' demux `any' path `www.cda.pl/video/1806023b5' main debug: creating demux: access='https' demux='any' location='www.cda.pl/video/1806023b5' file='\\www.cda.pl\video\1806023b5' main debug: looking for access_demux module matching "https": 15 candidates main debug: no access_demux modules matched main debug: creating access: https://www.cda.pl/video/1806023b5 main debug: (path: \\www.cda.pl\video\1806023b5) main debug: looking for access module matching "https": 26 candidates main debug: looking for tls client module matching "any": 1 candidates qt debug: IM: Setting an input gnutls debug: using GnuTLS version 3.5.18 main debug: looking for meta fetcher module matching "any": 1 candidates lua debug: Trying Lua scripts in C:\Users\Norbert\AppData\Roaming\vlc\lua\meta\fetcher lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\fetcher gnutls debug: loaded 125 trusted CAs from system main debug: using tls client module "gnutls" main debug: resolving www.cda.pl ... main debug: no meta fetcher modules matched main debug: looking for art finder module matching "any": 2 candidates lua debug: Trying Lua scripts in C:\Users\Norbert\AppData\Roaming\vlc\lua\meta\art lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\art lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac main debug: no art finder modules matched main debug: looking for meta fetcher module matching "any": 1 candidates lua debug: Trying Lua scripts in C:\Users\Norbert\AppData\Roaming\vlc\lua\meta\fetcher lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\fetcher main debug: no meta fetcher modules matched main debug: looking for art finder module matching "any": 2 candidates lua debug: Trying Lua scripts in C:\Users\Norbert\AppData\Roaming\vlc\lua\meta\art lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\art lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac main debug: no art finder modules matched gnutls debug: TLS handshake: Resource temporarily unavailable, try again. gnutls debug: TLS handshake: Resource temporarily unavailable, try again. gnutls debug: TLS handshake: Resource temporarily unavailable, try again. gnutls debug: TLS handshake: Success. gnutls debug: - safe renegotiation (RFC5746) enabled gnutls debug: - extended master secret (RFC7627) enabled gnutls debug: - false start (RFC7918) enabled http debug: out SETTINGS (0x04) frame of 30 bytes, flags 0x00, global http debug: out HEADERS (0x01) frame of 158 bytes, flags 0x05, stream 1 http debug: in SETTINGS (0x04) frame of 18 bytes, flags 0x00, global http debug: setting: Concurrent streams (0x0003): 256 http debug: setting: Initial window size (0x0004): 65536 http debug: setting: Frame size (0x0005): 16777215 http debug: out SETTINGS (0x04) frame of 0 bytes, flags 0x01, global http debug: in WINDOW_UPDATE (0x08) frame of 4 bytes, flags 0x00, global http debug: in SETTINGS (0x04) frame of 0 bytes, flags 0x01, global http debug: in HEADERS (0x01) frame of 623 bytes, flags 0x04, stream 1 http debug: stream 1 16 headers: http debug: :status: "200" http debug: date: "Thu, 06 Sep 2018 13:09:16 GMT" http debug: content-type: "text/html; charset=UTF-8" http debug: set-cookie: "__cfduid=df4834a8bcbaa6c9a20fd0410b531deb71536239355; expires=Fri, 06-Sep-19 13:09:15 GMT; path=/; domain=.cda.pl; HttpOnly" http debug: set-cookie: "PHPSESSID=2qolQuFQX3zU50e9MXGJU%2CIm1ic; expires=Sat, 06-Oct-2018 13:09:16 GMT; Max-Age=2592000; path=/; domain=.cda.pl" http debug: expires: "Thu, 19 Nov 1981 08:52:00 GMT" http debug: pragma: "no-cache" http debug: cache-control: "max-age=600" http debug: set-cookie: "vasty=1; expires=Fri, 07-Sep-2018 13:09:16 GMT; Max-Age=86400; path=/; domain=cda.pl" http debug: access-control-allow-origin: "https://www.cda.pl" http debug: access-control-allow-credentials: "true" http debug: access-control-allow-headers: "Origin, X-Requested-With, Content-Type, Accept, soapaction" http debug: link: "; rel=preload;" http debug: expect-ct: "max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"" http debug: server: "cloudflare" http debug: cf-ray: "45612b46bb932f47-MAD" main debug: using access module "access" main debug: looking for stream_filter module matching "prefetch,cache_block": 24 candidates prefetch debug: using 16777216 bytes buffer, 16384 bytes read main debug: using stream_filter module "prefetch" main debug: looking for stream_filter module matching "any": 24 candidates http debug: in DATA (0x00) frame of 8192 bytes, flags 0x00, stream 1 http debug: out (priority) WINDOW_UPDATE (0x08) frame of 4 bytes, flags 0x00, global lua debug: Trying Lua scripts in C:\Users\Norbert\AppData\Roaming\vlc\lua\playlist lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\playlist lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\anevia_streams.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\anevia_xml.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\appletrailers.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\bbc_co_uk.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\cue.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\dailymotion.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\jamendo.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\koreus.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\liveleak.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\newgrounds.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\rockbox_fm_presets.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\soundcloud.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\test.lua lua debug: Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\test.lua's probe() function was successful main debug: using stream_filter module "lua" main debug: stream filter added to 00000019cde291f0 main debug: looking for stream_filter module matching "any": 24 candidates main debug: no stream_filter modules matched main debug: looking for stream_directory module matching "any": 1 candidates main debug: no stream_directory modules matched main debug: attachment of directory-extractor failed for https://www.cda.pl/video/1806023b5 main debug: looking for stream_filter module matching "record": 24 candidates main debug: using stream_filter module "record" main debug: creating demux: access='https' demux='any' location='www.cda.pl/video/1806023b5' file='\\www.cda.pl\video\1806023b5' main debug: looking for demux module matching "any": 55 candidates es debug: cannot peek es debug: cannot peek es debug: cannot peek es debug: cannot peek es debug: cannot peek http debug: in DATA (0x00) frame of 8192 bytes, flags 0x00, stream 1 main debug: using demux module "directory" main debug: looking for meta reader module matching "any": 2 candidates lua debug: Trying Lua scripts in C:\Users\Norbert\AppData\Roaming\vlc\lua\meta\reader lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\reader lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\reader\filename.luac main debug: no meta reader modules matched main debug: `https://www.cda.pl/video/1806023b5' successfully opened main debug: creating access: https://www.cda.pl/video/1806023b5?wersja=720p main debug: (path: \\www.cda.pl\video\1806023b5) main debug: looking for access module matching "https": 26 candidates main debug: looking for tls client module matching "any": 1 candidates gnutls debug: using GnuTLS version 3.5.18 http debug: in DATA (0x00) frame of 8192 bytes, flags 0x00, stream 1 gnutls debug: loaded 125 trusted CAs from system main debug: using tls client module "gnutls" main debug: resolving www.cda.pl ... http debug: in DATA (0x00) frame of 7165 bytes, flags 0x00, stream 1 http debug: in DATA (0x00) frame of 8192 bytes, flags 0x00, stream 1 http debug: in DATA (0x00) frame of 8192 bytes, flags 0x00, stream 1 http debug: in DATA (0x00) frame of 8192 bytes, flags 0x00, stream 1 http debug: in DATA (0x00) frame of 8184 bytes, flags 0x00, stream 1 http debug: in DATA (0x00) frame of 1034 bytes, flags 0x00, stream 1 http debug: in DATA (0x00) frame of 8192 bytes, flags 0x00, stream 1 http debug: out (priority) WINDOW_UPDATE (0x08) frame of 4 bytes, flags 0x00, global http debug: in DATA (0x00) frame of 8192 bytes, flags 0x00, stream 1 gnutls debug: TLS handshake: Resource temporarily unavailable, try again. http debug: in DATA (0x00) frame of 8192 bytes, flags 0x00, stream 1 http debug: in DATA (0x00) frame of 7142 bytes, flags 0x00, stream 1 http debug: in DATA (0x00) frame of 8192 bytes, flags 0x00, stream 1 http debug: in DATA (0x00) frame of 8192 bytes, flags 0x00, stream 1 http debug: in DATA (0x00) frame of 8192 bytes, flags 0x00, stream 1 http debug: in DATA (0x00) frame of 8176 bytes, flags 0x00, stream 1 http debug: in DATA (0x00) frame of 8192 bytes, flags 0x00, stream 1 http debug: in DATA (0x00) frame of 8192 bytes, flags 0x00, stream 1 http debug: in DATA (0x00) frame of 8192 bytes, flags 0x00, stream 1 http debug: in DATA (0x00) frame of 8184 bytes, flags 0x00, stream 1 gnutls debug: TLS handshake: Resource temporarily unavailable, try again. gnutls debug: TLS handshake: Resource temporarily unavailable, try again. gnutls debug: TLS handshake: Success. gnutls debug: - safe renegotiation (RFC5746) enabled gnutls debug: - extended master secret (RFC7627) enabled gnutls debug: - false start (RFC7918) enabled http debug: out SETTINGS (0x04) frame of 30 bytes, flags 0x00, global http debug: out HEADERS (0x01) frame of 281 bytes, flags 0x05, stream 1 http debug: in DATA (0x00) frame of 8192 bytes, flags 0x00, stream 1 http debug: in DATA (0x00) frame of 8192 bytes, flags 0x00, stream 1 http debug: in DATA (0x00) frame of 8192 bytes, flags 0x00, stream 1 http debug: in DATA (0x00) frame of 492 bytes, flags 0x00, stream 1 http debug: in DATA (0x00) frame of 0 bytes, flags 0x01, stream 1 http debug: stream 1 closed by peer prefetch debug: end of stream http debug: in SETTINGS (0x04) frame of 18 bytes, flags 0x00, global http debug: setting: Concurrent streams (0x0003): 256 http debug: setting: Initial window size (0x0004): 65536 http debug: setting: Frame size (0x0005): 16777215 http debug: out SETTINGS (0x04) frame of 0 bytes, flags 0x01, global http debug: in WINDOW_UPDATE (0x08) frame of 4 bytes, flags 0x00, global http debug: in SETTINGS (0x04) frame of 0 bytes, flags 0x01, global http debug: in HEADERS (0x01) frame of 437 bytes, flags 0x04, stream 1 http debug: stream 1 14 headers: http debug: :status: "200" http debug: date: "Thu, 06 Sep 2018 13:09:17 GMT" http debug: content-type: "text/html; charset=UTF-8" http debug: expires: "Thu, 19 Nov 1981 08:52:00 GMT" http debug: pragma: "no-cache" http debug: cache-control: "max-age=600" http debug: set-cookie: "vasty=2; expires=Fri, 07-Sep-2018 13:09:16 GMT; Max-Age=86400; path=/; domain=cda.pl" http debug: access-control-allow-origin: "https://www.cda.pl" http debug: access-control-allow-credentials: "true" http debug: access-control-allow-headers: "Origin, X-Requested-With, Content-Type, Accept, soapaction" http debug: link: "; rel=preload;" http debug: expect-ct: "max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"" http debug: server: "cloudflare" http debug: cf-ray: "45612b4b98332f41-MAD" main debug: using access module "access" main debug: looking for stream_filter module matching "prefetch,cache_block": 24 candidates prefetch debug: using 16777216 bytes buffer, 16384 bytes read main debug: using stream_filter module "prefetch" main debug: looking for stream_filter module matching "any": 24 candidates http debug: in DATA (0x00) frame of 8192 bytes, flags 0x00, stream 1 http debug: out (priority) WINDOW_UPDATE (0x08) frame of 4 bytes, flags 0x00, global lua debug: Trying Lua scripts in C:\Users\Norbert\AppData\Roaming\vlc\lua\playlist lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\playlist lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\anevia_streams.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\anevia_xml.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\appletrailers.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\bbc_co_uk.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\cue.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\dailymotion.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\jamendo.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\koreus.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\liveleak.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\newgrounds.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\rockbox_fm_presets.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\soundcloud.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\test.lua lua debug: Lua playlist script C:\Program Files\VideoLAN\VLC\lua\playlist\test.lua's probe() function was successful main debug: using stream_filter module "lua" main debug: stream filter added to 00000019d0963380 main debug: looking for stream_filter module matching "any": 24 candidates main debug: no stream_filter modules matched lua debug: nil lua warning: Playlist should be a table. directory warning: unable to read directory main debug: removing module "directory" main debug: removing module "record" main debug: removing module "lua" main debug: removing module "lua" main debug: removing module "prefetch" prefetch debug: end of stream main debug: removing module "access" http error: local stream 1 error: Cancellation (0x8) http debug: out RST_STREAM (0x03) frame of 4 bytes, flags 0x00, stream 1 http debug: local shutdown http debug: out GOAWAY (0x07) frame of 8 bytes, flags 0x00, global main debug: removing module "prefetch" main debug: removing module "access" http debug: local stream 1 shut down http debug: out RST_STREAM (0x03) frame of 4 bytes, flags 0x00, stream 1 http debug: local shutdown http debug: out GOAWAY (0x07) frame of 8 bytes, flags 0x00, global main debug: dead input main debug: changing item without a request (current 0/1) main debug: nothing to play qt debug: IM: Deleting the input
Windows 8.1 x64
VLC 3.0.4 x64

It is possible to open every remote file with the extension, but page html not. Some idea?

Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 4 guests