tidbyt / community

A publishing platform for apps developed by the Tidbyt community 🚀
Apache License 2.0
379 stars 643 forks source link

Plex Recently Added: How to use? #1968

Closed jiznon closed 8 months ago

jiznon commented 10 months ago

Hello, I'm not sure what i'm doing wrong to get this new app working on my tidbyt. What i've set in the tidbyt app for this app:

My Plex server is set to Preferred, not Required. Server IP: the local IP of my plex server: 192.168.0.20 Server port: the local port of my plex server: 32400 Plex Token: my plex token per https://support.plex.tv/articles/204059436-finding-an-authentication-token-x-plex-token/ API Key: blank -- since i'm not using the nodejs route, this isn't used, right?

I save it but it never connects, just the cloud with the line through it in place of the preview.

I'm willing to try the nodeJS route if there were instructions. Any help would be greatly appreciated.

*EDIT: Apparently LAN connection isn't possible. Changed to public IP/port and it now works!

noahpodgurski commented 10 months ago

If you're running this from the tidbyt app, then the script is running on their servers, so your local IP of 192.168.0.20 won't work. You'll need to set Secure Connections: Preferred in your plex settings and use the Plex server's public IP.

I write in the readme this is ill-advised since it is a bit of a security issue. The alternative is to run the nodejs server on the network and proxy the request through that with the API key.

noahpodgurski commented 9 months ago

Also, the instructions for setting up the proxy server are here https://github.com/tidbyt/community/tree/main/apps/plexrecentlyadded

stale[bot] commented 8 months ago

We're automatically closing this issue because it hasn't had any activity in 30 days. If that seems like a mistake, please feel free to re-open. Thanks!