From 3ccf4cf5fa14bccefa585f77a769114dc18afb87 Mon Sep 17 00:00:00 2001 From: xingluo Date: Mon, 26 Jan 2026 18:34:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20play.lua?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- play.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/play.lua b/play.lua index f7b75fe..25b378a 100644 --- a/play.lua +++ b/play.lua @@ -186,7 +186,8 @@ for startIdx = 1, totalFrames, BATCH_SIZE do local resp,err = http.post( server_url .. "/api/framepack", textutils.serializeJSON({ urls = urls }), - { ["Content-Type"] = "application/json" } + { ["Content-Type"] = "application/json" }, + true ) @@ -316,7 +317,8 @@ local function cacheAhead() url = server_url .. "/api/framepack?"..batch.urls[1], headers = { ["Content-Type"] = "application/json" }, body = textutils.serializeJSON({ urls = batch.urls } ), - timeout = 3 + timeout = 3, + binary = true } )