From 89dbfd782618074a2ee4122f0bead8a08917c805 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jean-Philippe=20Andr=C3=A9?= Date: Sun, 6 Jun 2010 18:17:29 +0800 Subject: [PATCH] Lua: Allocine, grow buffer up to 500k This seems a lot, but 65k definitively ain't enough for some movies. --- share/lua/extensions/allocine-fr.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/share/lua/extensions/allocine-fr.lua b/share/lua/extensions/allocine-fr.lua index e095cda925..e3637c17d3 100644 --- a/share/lua/extensions/allocine-fr.lua +++ b/share/lua/extensions/allocine-fr.lua @@ -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 -- 2.39.2