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

Movies posters missing #59

Open
lemeshovich opened this issue Jan 18, 2025 · 8 comments
Open

Movies posters missing #59

lemeshovich opened this issue Jan 18, 2025 · 8 comments

Comments

@lemeshovich
Copy link
Contributor

Please add an www.themoviedb.org API key to the TorrServer REACT_APP_TMDB_API_KEY= env variable so the posters images automatically appear when adding a new torrent. Or add the ability to manually specify the API key in the addon settings.

Image

@aatrubilin
Copy link
Owner

Unfortunately in the current TorrServer implementation (as far as I understood from the code) TMDB API Key is used at the stage of building the frontend part of the application.
If you are ready to share API key - I can use it in the general build.

I've seen MP with this setting in the interface - maybe we should wait for this functionality - YouROK/TorrServer#421.

@lemeshovich
Copy link
Contributor Author

lemeshovich commented Jan 19, 2025

If you are ready to share API key - I can use it in the general build.

API key

****

@aatrubilin
Copy link
Owner

@lemeshovich I just released 1.2.0-MatriX.134 could you please check it?

Looks like everything works as expected

Image

@lemeshovich
Copy link
Contributor Author

lemeshovich commented Jan 20, 2025

It's now working when accessing TorrServer by ip:port, but it's not from Home Assistant side menu, getting no poster images and this error.

As far i understand its something related to CORS.

@lemeshovich
Copy link
Contributor Author

Also posters from smartphone side menu is not loading

Image

@aatrubilin
Copy link
Owner

@lemeshovich I think it is mixed-content error, not cors.

The cause of this issue is that you access to home-assistant via https but tmdb requests hardcoded with HTTP schema in TorrServer https://github.com/YouROK/TorrServer/blob/master/web/src/components/Add/helpers.js#L6-L7

@lemeshovich
Copy link
Contributor Author

lemeshovich commented Jan 24, 2025

access to home-assistant via https but tmdb requests hardcoded with HTTP schema

yes, you are right my home assistant is secured with ssl, any workaround on this?

Also if a playlist is downloaded from the side menu, it cant be played, the link in the playlist is pointing to Home Assistant port instead of TorrServer port.

VLC

Image

@lemeshovich
Copy link
Contributor Author

@aatrubilin

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