H
Homarrโ€ข2y ago
Bon

Plex Integration Setup

Is there anything specific that needs to be done in order to connect Homarr to Plex? I'd assume an area to place the Plex instance URL, or some sort of API key field? I've enabled the Plex & Jellyfin widget but it doesn't seem to do anything. Thank you in advance!
41 Replies
Manicraft1001
Manicraft1001โ€ข2y ago
Yes, for Plex you need to do the following: https://support.plex.tv/articles/204059436-finding-an-authentication-token-x-plex-token/ @๐Ÿ“ Documentation author can anyone add this do the documentation?
Plex Support
Finding an authentication token / X-Plex-Token | Plex Support
While not something most users will need to worry about, sometimes you may need to find the value for an...
Manicraft1001
Manicraft1001โ€ข2y ago
For Jellyfin, you can use username and password of an account.
Bon
BonOPโ€ข2y ago
Where do you place this authentication token?
Unknown User
Unknown Userโ€ข2y ago
Message Not Public
Sign In & Join Server To View
Manicraft1001
Manicraft1001โ€ข2y ago
In the integration configuration of your Plex app - edit app - click on integration tab - update secret - save - exit edit mode You may need to refresh the page after configuring the app.
Unknown User
Unknown Userโ€ข2y ago
Message Not Public
Sign In & Join Server To View
Bon
BonOPโ€ข2y ago
Ahh I see. You set the config in the Plex app. What is the Media Server widget for then? Do you need the Plex app setup in order to enable the Media Server widget?
Manicraft1001
Manicraft1001โ€ข2y ago
For integrating and displaying data. The configuration on the app is only for configuring tha access. No. But if you want to display data, you need Jellyfin or Plex
Unknown User
Unknown Userโ€ข2y ago
Message Not Public
Sign In & Join Server To View
Bon
BonOPโ€ข2y ago
I understand. I was just confused as to why my Media Server integration isn't working. You guys mentioned that you need to input the secret, but that's on the Plex app, not the Media Server widget Didn't realize the Plex app had to be configured in order to get the Media Server widget working
Manicraft1001
Manicraft1001โ€ข2y ago
Yes. Since you can have multiple Plex instances, you must configure this per app. @lassley7 can you maybe add this and other related information to the documentation?
Unknown User
Unknown Userโ€ข2y ago
Message Not Public
Sign In & Join Server To View
Manicraft1001
Manicraft1001โ€ข2y ago
Yes, I can do that tomorrow. It's 1 AM. I need a break ๐Ÿ˜…
Unknown User
Unknown Userโ€ข2y ago
Message Not Public
Sign In & Join Server To View
Bon
BonOPโ€ข2y ago
Appreciate the help guys. I'll see if I can get the widget working ๐Ÿ™‚
Manicraft1001
Manicraft1001โ€ข2y ago
Sure, no problem. Let us know if you habe trouble
Unknown User
Unknown Userโ€ข2y ago
Message Not Public
Sign In & Join Server To View
Bon
BonOPโ€ข2y ago
A-ha, realized why I was having issues. It's exactly as you said Lassley. The "Internal address" set in the Plex app must be the exact IP address to the plex instance. I usually did ${plexIP}/web/ so that the ping setting could actually ping a web address. But doing so broke the Media Server widget since the widget would try to check ${plexIP}/web/status/sessions instead of the correct ${plexIP}/status/sessions Maybe the Media Server widget should only take the protocol, IP, and port of whatever is set under "Internal address" in the app? Instead of taking the protocol, IP, port, and path?
Manicraft1001
Manicraft1001โ€ข2y ago
No, because some people have their Plex exposed to: http://example/plex Then, the widget would completely not work
Bon
BonOPโ€ข2y ago
Then perhaps a setting on the Media Server widget where the user inputs the IP to use? What do people usually do for their Plex app? Since putting the exact IP will cause the ping to 401
Manicraft1001
Manicraft1001โ€ข2y ago
No. As I already mentioned, this wouldn't solve the problem of having multiple servers. I think something like /web . But I can't recall exactly, since I use Jellyfin myself ๐Ÿ™‚
Bon
BonOPโ€ข2y ago
That fixes the ping, but breaks the Media Server widget ๐Ÿ™ƒ Guess I'll just disable the ping setting Oh wait, I can just set the "up" status to 401
Manicraft1001
Manicraft1001โ€ข2y ago
I know. But we can't do anything about that for now. I guess the only option is to allow the status code in the ping Yes, exactly this
Unknown User
Unknown Userโ€ข2y ago
Message Not Public
Sign In & Join Server To View
Manicraft1001
Manicraft1001โ€ข2y ago
Remove/web
Unknown User
Unknown Userโ€ข2y ago
Message Not Public
Sign In & Join Server To View
Manicraft1001
Manicraft1001โ€ข2y ago
Note that you also must refresh the page after saving or wait 30 seconds
Unknown User
Unknown Userโ€ข2y ago
Message Not Public
Sign In & Join Server To View
Bon
BonOPโ€ข2y ago
Nope, I think there's a bug with status codes other than 200
Bon
BonOPโ€ข2y ago
GitHub
Allowing any status other than 200 for ping doesn't work ยท Issue #7...
Adding status codes to the list in the network tab doesn't seem to do anything. If you add a tile pointing to https://httpstat.us/401 and add 401 to the list of online statuses, you still g...
Bon
BonOPโ€ข2y ago
Will have to wait for that to be fixed, then we should be good ๐Ÿ‘
Manicraft1001
Manicraft1001โ€ข2y ago
I'll assign it to ajnart I don't have enough time to work on Homarr rn, sorry
Unknown User
Unknown Userโ€ข2y ago
Message Not Public
Sign In & Join Server To View
Manicraft1001
Manicraft1001โ€ข2y ago
Yes, allow the returned status code in the network tab There is no other wait as far as I know
Unknown User
Unknown Userโ€ข2y ago
Message Not Public
Sign In & Join Server To View
Manicraft1001
Manicraft1001โ€ข2y ago
Manicraft1001
Manicraft1001โ€ข2y ago
Add the status code here By default, only 200 is allowed If 404 or 403 is being returned from Plex, add it there
Unknown User
Unknown Userโ€ข2y ago
Message Not Public
Sign In & Join Server To View
Manicraft1001
Manicraft1001โ€ข2y ago
I think it's broken on 0.11.5 Can you check the dev image? Don't forget to make a backup before switching image ๐Ÿ™‚
Unknown User
Unknown Userโ€ข2y ago
Message Not Public
Sign In & Join Server To View
Manicraft1001
Manicraft1001โ€ข2y ago
Ok no problem
Want results from more Discord servers?
Add your server