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]: TMDB proxying #92

Open
asakura42 opened this issue Sep 4, 2024 · 3 comments
Open

[Feature]: TMDB proxying #92

asakura42 opened this issue Sep 4, 2024 · 3 comments
Labels

Comments

@asakura42
Copy link

What feature do you want to add?

It's not the sudo-flix issue, but maybe you can do anything.

It seems TMDB blocks some countries/zones/dunno with some DNS-based thing. So if my friend from that country uses Cloudflare DNS server or provider's default DNS server TMDB block these requests. But if he uses Quad9 DNS all works fine.

Can you add some workaround for TMDB proxying through, for example, worker? Or anything else.

Why do you want to have this feature?

To make sudo-flix work in all countries.

Any other details to share?

No response

@ztpn
Copy link
Member

ztpn commented Sep 5, 2024

we already fallback to tmdb.org when themoviedb.org is blocked
if that's blocked as well you can setup a tmdb proxy and just change the base here
https://github.com/sussy-code/smov/blob/main/src/backend/metadata/tmdb.ts#L147
so it will fallback to using the proxy if themoviedb.org is blocked

@asakura42
Copy link
Author

I propose to create some textbox in settings to paste this mirror. Because hosting own instance became painful.

@ztpn
Copy link
Member

ztpn commented Sep 9, 2024

Sounds good

@ztpn ztpn added the Approved label Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants