From 9f5a605e8f3f12fc686f4504120a1db4e54bd8da Mon Sep 17 00:00:00 2001 From: Brahim Hadriche Date: Mon, 13 Nov 2023 22:00:25 -0500 Subject: [PATCH] Small cleanup on content nodes --- .../components/ContentNode/ChannelContentNode.xml | 12 ++++++------ .../components/ContentNode/PlaylistContentNode.xml | 10 +++++----- .../src/components/ContentNode/VideoContentNode.xml | 7 +++---- .../Services/Invidious/InvidiousToContentNode.bs | 1 - 4 files changed, 14 insertions(+), 16 deletions(-) diff --git a/playlet-lib/src/components/ContentNode/ChannelContentNode.xml b/playlet-lib/src/components/ContentNode/ChannelContentNode.xml index f0e52d93..db39423d 100644 --- a/playlet-lib/src/components/ContentNode/ChannelContentNode.xml +++ b/playlet-lib/src/components/ContentNode/ChannelContentNode.xml @@ -1,23 +1,23 @@ + + - + + \ No newline at end of file diff --git a/playlet-lib/src/components/ContentNode/PlaylistContentNode.xml b/playlet-lib/src/components/ContentNode/PlaylistContentNode.xml index 5de485c1..e26a5124 100644 --- a/playlet-lib/src/components/ContentNode/PlaylistContentNode.xml +++ b/playlet-lib/src/components/ContentNode/PlaylistContentNode.xml @@ -4,9 +4,7 @@ - + + - - \ No newline at end of file diff --git a/playlet-lib/src/components/ContentNode/VideoContentNode.xml b/playlet-lib/src/components/ContentNode/VideoContentNode.xml index 925352ca..fe82985b 100644 --- a/playlet-lib/src/components/ContentNode/VideoContentNode.xml +++ b/playlet-lib/src/components/ContentNode/VideoContentNode.xml @@ -1,14 +1,13 @@ - - - - + + + diff --git a/playlet-lib/src/components/Services/Invidious/InvidiousToContentNode.bs b/playlet-lib/src/components/Services/Invidious/InvidiousToContentNode.bs index 5197b5a3..6efc5617 100644 --- a/playlet-lib/src/components/Services/Invidious/InvidiousToContentNode.bs +++ b/playlet-lib/src/components/Services/Invidious/InvidiousToContentNode.bs @@ -35,7 +35,6 @@ namespace InvidiousContent SetIfExists(node, "author", item, "author") SetIfExists(node, "authorId", item, "authorId") - SetIfExists(node, "hlsUrl", item, "hlsUrl") SetIfExists(node, "lengthSeconds", item, "lengthSeconds") node.lengthText = TimeUtils.GetFormattedTime(item.lengthSeconds) node.liveNow = VideoIsLive(item)