From 484de8c07a1a95c44e5793f2657d6a930879641a Mon Sep 17 00:00:00 2001 From: Brahim Hadriche Date: Sat, 5 Oct 2024 11:22:19 -0400 Subject: [PATCH] live videos fix --- CHANGELOG.md | 4 +++- .../src/components/Services/Innertube/InnertubeService.bs | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 567380db..34fe79c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -- Nothing worth mentioning yet. +### Fixed + +- Live videos playback in Playlet backend ## [0.27.0] - 2024-10-04 diff --git a/playlet-lib/src/components/Services/Innertube/InnertubeService.bs b/playlet-lib/src/components/Services/Innertube/InnertubeService.bs index fa2945cb..4d5c9a4d 100644 --- a/playlet-lib/src/components/Services/Innertube/InnertubeService.bs +++ b/playlet-lib/src/components/Services/Innertube/InnertubeService.bs @@ -155,7 +155,7 @@ namespace InnertubeService "author": videoDetails["author"] "authorId": videoDetails["channelId"] "lengthSeconds": videoDetails["lengthSeconds"].ToInt() - "liveNow": videoDetails["isLiveContent"] + "liveNow": ValidBool(videoDetails["isLive"]) "hlsUrl": streamingData["hlsManifestUrl"] "adaptiveFormats": [] "formatStreams": []