invidious icon indicating copy to clipboard operation
invidious copied to clipboard

[Bug] Related channels of a channel are empty

Open iBicha opened this issue 7 months ago • 3 comments

Describe the bug It looks like related to the #4238 change, we've lost

  • the relatedChannels field under api/v1/channels/ucid
  • api/v1/channels/ucid/channels also returns {"relatedChannels":[]}
  • channels is no longer returned in the tabs
  • In the front-end, the "channels" link is missing

Steps to Reproduce API side: Open api/v1/channels/ucidandapi/v1/channels/ucid/channels`

Frontend:

  • Go to a channel with featured channels, such as Louis Rossmann's
  • There isn't a "Channels" link
  • Open the same channel in Youtube
  • There is a channel under the "Associated channels" section.

Logs N/A

Screenshots N/A

Additional context Affects UI, not just the API Please note that if a channel has related channels, they are now found at the bottom of the page on Youtube (so, new layout)

iBicha avatar Nov 20 '23 03:11 iBicha

Please note that if a channel has related channels, they are now found at the bottom of the page on Youtube (so, new layout)

This is definitely the culprit. Seems like the channels tab has just became another customizable shelf on the home page

syeopite avatar Nov 20 '23 19:11 syeopite

channels is no longer returned in the tabs

That list always matches the tabs available on YouTube for the provided channel, it's there so that you can check if a tab exists before sending a request to the API endpoint for the given tab.

absidue avatar Nov 21 '23 18:11 absidue

I've added elements to the OP to better explain that it also impacts the fronend

SamantazFox avatar Apr 21 '24 19:04 SamantazFox