From d3120621256fd29aeb78ac37f87858cb6a47f91d Mon Sep 17 00:00:00 2001 From: Kelvin Date: Tue, 10 Sep 2024 20:40:14 +0200 Subject: [PATCH] Fix content recommendations on offline videos --- .../com/futo/platformplayer/api/media/platforms/js/JSClient.kt | 3 ++- app/src/unstable/assets/sources/youtube | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/futo/platformplayer/api/media/platforms/js/JSClient.kt b/app/src/main/java/com/futo/platformplayer/api/media/platforms/js/JSClient.kt index 8a6b40b0..2b6deaf8 100644 --- a/app/src/main/java/com/futo/platformplayer/api/media/platforms/js/JSClient.kt +++ b/app/src/main/java/com/futo/platformplayer/api/media/platforms/js/JSClient.kt @@ -237,7 +237,8 @@ open class JSClient : IPlatformClient { hasGetLiveChatWindow = plugin.executeBoolean("!!source.getLiveChatWindow") ?: false, hasGetContentChapters = plugin.executeBoolean("!!source.getContentChapters") ?: false, hasPeekChannelContents = plugin.executeBoolean("!!source.peekChannelContents") ?: false, - hasGetChannelPlaylists = plugin.executeBoolean("!!source.getChannelPlaylists") ?: false + hasGetChannelPlaylists = plugin.executeBoolean("!!source.getChannelPlaylists") ?: false, + hasGetContentRecommendations = plugin.executeBoolean("!!source.getContentRecommendations") ?: false ); try { diff --git a/app/src/unstable/assets/sources/youtube b/app/src/unstable/assets/sources/youtube index 4cd358c2..04e1c069 160000 --- a/app/src/unstable/assets/sources/youtube +++ b/app/src/unstable/assets/sources/youtube @@ -1 +1 @@ -Subproject commit 4cd358c2bd11e016bdfe1ed341fd5c7e49219758 +Subproject commit 04e1c0699354b928ea89c628a1cc23c0ca0fd88d