FreeTubeApp / FreeTubeApp/FreeTube

[Feature Request]: Fallback to channel playlists if something goes wrong on the channel page

Open
#6,119 1 comment 0 reactions 0 assignees View on GitHub
E: improvement existing feature
Dominant language
Vue
Stars
21.9k
Forks
1.5k
Avg merge
1d 14h
Merged PRs (30d)
62

Description

### Guidelines

- [X] I have searched the issue tracker for [open](https://github.com/FreeTubeApp/FreeTube/issues?q=is%3Aopen+is%3Aissue) and [closed](https://github.com/FreeTubeApp/FreeTube/issues?q=is%3Aissue+is%3Aclosed) issues that are similar to the feature request I want to file, without success.
- [X] I have searched the [documentation](https://docs.freetubeapp.io/) for information that matches the description of the feature request I want to file, without success.
- [X] This issue contains only one feature request.

### Problem Description

We fallback to RSS feeds if something goes wrong on the subscriptions page, it'd be nice if we were to do the same on the channel page (since we can't get continuations for RSS feeds, we should use the playlist api instead)

### Proposed Solution

#### Invidious API/ no backend fallback + Local API/ no backend fallback
- if there's an error, then check if videos is empty. If videos is empty then fetch the videos from autogenerated channel playlist
- repeat for live and shorts (and also check to make sure hideLive/hideShorts isn't enabled)

#### Invidious API/ with backend fallback + Local API/ with backend fallback
- if there's another error then fallback to autogenerated channel playlist of preferred backend
- check if videos is empty. If videos is empty then fetch the videos from autogenerated channel playlist
- repeat for live and shorts (and also check to make sure hideLive/hideShorts isn't enabled)
- if there's an error fallback to the other api

#### Additional
- if we can't find any values in the channel tab array and there's an error then we should automatically add those tabs if the RSS request is successful

### Alternatives Considered

Don't bother since channel page breakages don't happen often.

### Issue Labels

improvement to existing feature

### Additional Information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.