invidious
invidious copied to clipboard
[Bug] Related channels of a channel are empty
Describe the bug It looks like related to the #4238 change, we've lost
- the
relatedChannels
field underapi/v1/channels/ucid
-
api/v1/channels/ucid/channels
also returns{"relatedChannels":[]}
-
channels
is no longer returned in thetabs
- In the front-end, the "channels" link is missing
Steps to Reproduce
API side:
Open api/v1/channels/ucidand
api/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)
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
channels
is no longer returned in thetabs
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.
I've added elements to the OP to better explain that it also impacts the fronend