diff --git a/html/channel.ejs b/html/channel.ejs index 37651166..24c64161 100644 --- a/html/channel.ejs +++ b/html/channel.ejs @@ -453,9 +453,7 @@ <% } %> - <% if (!Array.isArray(tj.Channel.Contents)) { %> -See https://codeberg.org/Ashley/poketube/issues/14#issuecomment-663938 - <% } %> +
<% if (!tab) { %> @@ -464,21 +462,24 @@ See https://codeberg.org/Ashley/poketube/issues/14#issuecomment-663938
- <% if (Array.isArray(tj.Channel.Contents)) { %> - +
<% if (!continuation) { %> - <% tj.Channel.Contents.ItemSection.ItemSection.Video.forEach(x => { %> + <% tj.Channel.Contents.ItemSection[2].Shelf.Items.Video.forEach(x => { %>
<%- x.duration %>
- <%- x.Title %> + <%- x.Title %>
<% }) %> <% } %> + +

+ continuations are broken on channels atm +

<% if (continuation) { %> <% tj.Channel.Contents.Video.forEach(x => { %> @@ -490,8 +491,7 @@ See https://codeberg.org/Ashley/poketube/issues/14#issuecomment-663938
<% }) %> - <% } %> - +
<% if (!continuation) { %>