Invidious is an alternative front-end to YouTube
Add fix for unsupported attachment types
Omar Roth47f6fe069ad5
diff --git a/src/invidious/channels.cr b/src/invidious/channels.crindex b5f2eb04..858fbded 100644--- a/src/invidious/channels.cr+++ b/src/invidious/channels.cr@@ -820,8 +820,13 @@ def fetch_channel_community(ucid, continuation, locale, config, kemal_config, foendendend- else# TODO+ # when .has_key?("pollRenderer")+ # attachment = attachment["pollRenderer"]+ # json.field "type", "poll"+ else+ json.field "type", "unknown"+ json.field "error", "Unrecognized attachment type."endendend