]> git.sesse.net Git - vlc/blobdiff - share/lua/extensions/allocine-fr.lua
Lua: Allocine, grow buffer up to 500k
[vlc] / share / lua / extensions / allocine-fr.lua
index e095cda925f56145ce9b1d15eb1cda192dd865d8..e3637c17d3373f3de1fab64188b6ad0007fecb96 100644 (file)
@@ -278,7 +278,8 @@ function open_fiche(url)
 
     -- Open stream
     local s = vlc.stream(url)
-    local data = s:read(65535)
+    -- Read max 500k (Note: 65k is not enough for the average note)
+    local data = s:read(500000)
 
     -- Buffer & temp variables
     local first = nil