Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] [API] Show channel avatars in search results #4986

Open
DarkCat09 opened this issue Oct 7, 2024 · 2 comments · May be fixed by #5072
Open

[Feature request] [API] Show channel avatars in search results #4986

DarkCat09 opened this issue Oct 7, 2024 · 2 comments · May be fixed by #5072
Labels
feature-request Request of a new feature type:api

Comments

@DarkCat09
Copy link

Is your feature request related to a problem? Please describe.

I'm writing a proxy translating Invidious API into Piped API schema, and have noticed that Invidious doesn't provide channel avatars in search results (neither in API nor official frontend), so, if I wanted to get them, I would need to make a lot of requests on /api/v1/channels/:id.

Also, I think this will be useful to (many?) people, logos/avatars are remembered very well, and firstly we look at the avatar instead of a channel name.

Describe the solution you'd like

  1. Send authorAvatar field in API
  2. Add optional avatar-showing feature to frontend

Describe alternatives you've considered

--

Additional context

--

@DarkCat09 DarkCat09 added the feature-request Request of a new feature label Oct 7, 2024
@unixfox unixfox changed the title [Feature request] Show channel avatars in search results [Feature request] [API] Show channel avatars in search results Oct 7, 2024
@aarcex3
Copy link

aarcex3 commented Oct 16, 2024

Hi @unixfox,

I would like to work on this, but I’m a bit lost after reading the code. Correct me if I’m wrong, but the way Invidious works is by consuming the YouTube API, right? After looking into it, it seems that the endpoint /youtubei/v1/search does not return the author's avatar.

So, my question is: is this feature achievable? If so, how? Should I make a separate call (per item) when parsing the results from /youtubei/v1/search to retrieve the authorAvatar?

What do you suggest?

Thanks!

@unixfox
Copy link
Member

unixfox commented Oct 16, 2024

hey @aarcex3 you should ask this kind of question on matrix: https://matrix.to/#/#invidious:matrix.org. More developers will be able to help you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request of a new feature type:api
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants