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

Thumbnails not showing in external clients #132

Open
jazzsnobeatcake opened this issue Aug 22, 2023 · 4 comments
Open

Thumbnails not showing in external clients #132

jazzsnobeatcake opened this issue Aug 22, 2023 · 4 comments

Comments

@jazzsnobeatcake
Copy link

jazzsnobeatcake commented Aug 22, 2023

Describe the bug

External clients such as Clipious or this Kodi addon currently cannot load thumbnails via the API if Invidious webclient is protected by SSOwat.

These clients work as expected if the Invidious webclient is accessible to visitors.

Context

Running the latest versions of YNH and the Invidious app on a VPS .
The Invidious webclient is only accessible behind SSOwat, the API allows access by and returns data to unregistered visitors.
host and external_port are set to "host.tld" and "443" in /var/www/invidious/config/config.yml.

Steps to reproduce

Open incognito window
Go to https://host.tld/api/v1/videos/dQw4w9WgXcQ (or any other video ID)
API returns results without asking for a SSOwat login
Try to open one of the thumbnail URIs, i.e. "https://host.tld/vi/dQw4w9WgXcQ/maxres.jpg"
You are now looking at the SSOwat login page instead of the video thumbnail

Expected behavior

Thumbnail should load without getting redirected to SSOwat login page

Possible solution

Make https://host.tld/vi/* follow the configuration for https://host.tld/api/v1

@ericgaspar
Copy link
Member

If you are willing to test a possible fix ->
sudo yunohost app upgrade invidious -u https://github.com/YunoHost-Apps/invidious_ynh/tree/Thumbnails

@jazzsnobeatcake
Copy link
Author

Thanks! Got around to it just now and running it returned

Error: Corrupted TOML read from /var/cache/yunohost/app_tmp_work_dirs/app_8v5h525v/manifest.toml (reason: Duplicate keys! (line 63 column 1 char 1521))

@ericgaspar
Copy link
Member

sorry, my mistake. can you retry?

@jazzsnobeatcake
Copy link
Author

jazzsnobeatcake commented Aug 26, 2023

Upgrading worked and it fixed the issue. Clipious is now loading thumbnails!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants