FreeTube icon indicating copy to clipboard operation
FreeTube copied to clipboard

Some channels unable to load with local API

Open Winterhuman opened this issue 5 years ago • 10 comments

Some channels seem to be completely unable to load with the local API, when it fallbacks to invidious the channel will have no videos, searching for the channel's videos in the search bar and watching them works completely fine however.

Vsauce3 use to load, albeit after falling back to invidious, and would show videos on the channel completely fine. I think the YouTube Premium-only videos might be the cause of videos not being loaded for the channel.

To Reproduce:

  1. Go to Vsauce3's channel
  2. The channel will fallback to invidious saying "This channel does not exist"

Link to channel: https://invidious.snopyta.org/channel/UCwmFOfFuvRPI112vR5DNnrA

Environment Information:

  • OS: Arch Linux
  • FreeTube version: 0.13.2 beta
  • Installation Method: FlatHub
  • Primary API Used: Local API

Error log: (Sorry if this information is vague, not sure how to gather the error logs) Local API Error: TypeError: Cannot read property 'simpleText' of undefined Local API Error: [object Object] Invidious API Error: This channel does not exist

Winterhuman avatar Jul 21 '21 11:07 Winterhuman

Just tried viewing the channel today, apparently it's still falling back to invidious, but, the videos are showing again. The behaviour where the channel "doesn't exist" seems to be inconsistent, it also seems to go against my original guess that it's because of YouTube Premium exclusives since videos are showing despite them still being there.

Winterhuman avatar Jul 22 '21 17:07 Winterhuman

Just tried viewing the channel today, apparently it's still falling back to invidious, but, the videos are showing again. The behaviour where the channel "doesn't exist" seems to be inconsistent, it also seems to go against my original guess that it's because of YouTube Premium exclusives since videos are showing despite them still being there.

I could reproduce the error for this channel. A specific youtube-premium video causes this issue for me. I made a simple pull request that fixes this issue for me but definitely needs more insight.

Imaskiller avatar Jul 22 '21 21:07 Imaskiller

Yes, there seems to be a problem

GilgusMaximus avatar Jul 23 '21 16:07 GilgusMaximus

Should I close this issue given the pull request exists or should I leave this open until the pull request is merged with mainline?

Winterhuman avatar Jul 23 '21 19:07 Winterhuman

Just leave this open until the PR is merged.

Yes please leave it open. Especially due to the huge number of pr's being open at the moment, we will get duplicates if the issues are closed prematurely

GilgusMaximus avatar Jul 26 '21 18:07 GilgusMaximus

Given that the PR has been merged and no further reports of this issue have arisen, I will close this issue.

kommunarr avatar Aug 25 '21 23:08 kommunarr

@jasonhenriquez Might need to reopen this issue. The channel UCfYRNVPQLq-8dGPf5qIWU8w (channel name: Discordian) isn't loading for FreeTube v0.16.0 Beta, using an Invidious instance like https://yewtu.be shows the channel does exist and can be loaded. The errors I see are:

Falling back to Invidious API
TypeError: Cannot read properties of undefined (reading 'response')

It's a different error compared to what this issue observed though, maybe this needs to be a separate issue, please say if it should be.

Winterhuman avatar Apr 07 '22 13:04 Winterhuman

Already fixed in the latest nightly build

Oh nice, I didn't think there would of been any more patches from when this issue was opened, thanks!

Winterhuman avatar Apr 07 '22 13:04 Winterhuman