From 17dc0aa1acba072beb01b6cbfd5be804a6ed5ceb Mon Sep 17 00:00:00 2001 From: FireMasterK <20838718+FireMasterK@users.noreply.github.com> Date: Wed, 28 Jul 2021 13:33:39 +0530 Subject: [PATCH] Fix LBRY stream extraction. --- src/main/java/me/kavin/piped/utils/ResponseHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/kavin/piped/utils/ResponseHelper.java b/src/main/java/me/kavin/piped/utils/ResponseHelper.java index f6d78ea..1854527 100644 --- a/src/main/java/me/kavin/piped/utils/ResponseHelper.java +++ b/src/main/java/me/kavin/piped/utils/ResponseHelper.java @@ -908,7 +908,7 @@ public class ResponseHelper { .getJSONObject("data").getJSONObject("videos").optString(videoId); if (!lbryId.isEmpty()) - new JSONObject(Constants.h2client.send(HttpRequest + return new JSONObject(Constants.h2client.send(HttpRequest .newBuilder(URI.create("https://api.lbry.tv/api/v1/proxy?m=get")) .POST(BodyPublishers.ofString( String.valueOf(new JSONObject().put("jsonrpc", "2.0").put("method", "get").put("params",