|
|
@ -29,7 +29,7 @@ module Invidious::Routes::Channels
|
|
|
|
item.author
|
|
|
|
item.author
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
items = items.select(&.is_a?(SearchPlaylist)).map(&.as(SearchPlaylist))
|
|
|
|
items = items.select(SearchPlaylist).map(&.as(SearchPlaylist))
|
|
|
|
items.each(&.author=(""))
|
|
|
|
items.each(&.author=(""))
|
|
|
|
else
|
|
|
|
else
|
|
|
|
sort_options = {"newest", "oldest", "popular"}
|
|
|
|
sort_options = {"newest", "oldest", "popular"}
|
|
|
@ -57,7 +57,7 @@ module Invidious::Routes::Channels
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
items, continuation = fetch_channel_playlists(channel.ucid, channel.author, continuation, sort_by)
|
|
|
|
items, continuation = fetch_channel_playlists(channel.ucid, channel.author, continuation, sort_by)
|
|
|
|
items = items.select { |item| item.is_a?(SearchPlaylist) }.map { |item| item.as(SearchPlaylist) }
|
|
|
|
items = items.select(SearchPlaylist).map { |item| item.as(SearchPlaylist) }
|
|
|
|
items.each(&.author=(""))
|
|
|
|
items.each(&.author=(""))
|
|
|
|
|
|
|
|
|
|
|
|
templated "playlists"
|
|
|
|
templated "playlists"
|
|
|
|