You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is Explo able to create playlists as a non-admin Plex user? I was planning to run separate Explo instances for a few of my Plex users (each instance would be tied to their listenbrainz user as well as their Plex user) in order to support music discovery for each of them. However, I receive Plex authentication errors when I attempted to use a non-admin username/password. Explo began to work once I used the X-Plex-Token, but this is an admin-level API key and therefore the playlists were created within the admin account.
For additional context, and to help explain why this matters to me: If you aren't familiar, Plex does not currently share playlists between users efficiently...only admin users can share playlists, and those shared playlists then show up in a separate library which makes finding them cumbersome.
Yes it does, you have to use the Admin credentials in the ADMIN_SYSTEM_USERNAME and ADMIN_SYSTEM_PASSWORD, i built this functionality myself for the exact same case, the people who you share with use SYSTEM_USERNAME and SYSTEM_PASSWORD and your creds go in the admin one. It Works Great.
I finally had some time to try out the :dev image and implement the changes you both recommended, but I now receive a sign-in error with Plex ERROR setup failed: got 401 from https://plex.tv/api/v2/users/signin.json. Both my Plex admin and user accounts have MFA enabled (which is why I was using the API key originally). NOTE: now, I receive the same sign-in error whether I use the API key or not.
if you want to ensure this works, i would really love it if you could test it out (i dont have family who use mfa on plex), i have it packaged at ghcr.io/dannytheheretic/explo:dev
or ghcr.io/dannytheheretic/explo:0.5.17
update for tracking, added webui portions for it,
now its version
ghcr.io/dannytheheretic/explo:0.5.21
ghcr.io/dannytheheretic/explo:dev
or
ghcr.io/dannytheheretic/explo:latest
Ok, I finally got some free time to sit down and look at this again - and I still seem to be doing something wrong :(
I confirmed I'm running Explo v.1.2.0, which should include this fix.
Explo connects to Plex if I use the ADMIN_API_KEY but it doesn't work with just the API_KEY env variable. Interestingly, it also doesn't work if I use both the ADMIN_API_KEY and the API_KEY specific to the user for whom I want Explo to build the listenbrainz playlist.
Based on the updated docs my assumption was that I needed to include both the ADMIN_API_KEY (which should be the X-Plex-Token for my server) and the API_KEY (which should be the user-specific access token). For background, I followed the following post on Reddit to find the correct user-specific token for my non-admin plex user.
Here is the error (ok, warning) I receive when I configure just the API_KEY: WARN [plex] failed to delete playlist: got 403 from http://192.168.1.60:32400/playlists/Notify: true WARN [plex] failed to schedule a library scan: refreshPlexLibrary(): got 403 from http://192.168.1.60:32400/library/sections/7/refresh
Even stranger, Explo claims it finished successfully, but the playlist is never created (for any user: target, admin, or otherwise).
Here is the error I receive when I configure both the API_ADMIN_KEY and the API_KEY: ERROR setup failed: failed to make request to plex: got 401 from http://192.168.1.60:32400/library/sections/allNotify: true
Hmmm, I tried it and it doesn't work for me either (API_KEY with admin account alone does though). I will try to troubleshoot it further later
@DannyTheHeretic maybe you can also take a look, if you have the time?
I have a test instance with only 1 account, so I just tried to run it with the same API key defined in API_KEY and ADMIN_API_KEY
I also tried with admin/regular username and password, but the admin client won't let me authenticate (this could be an issue with testing with a singular account).
Activity
DannyTheHeretic commentedon May 30, 2026
Yes it does, you have to use the Admin credentials in the ADMIN_SYSTEM_USERNAME and ADMIN_SYSTEM_PASSWORD, i built this functionality myself for the exact same case, the people who you share with use SYSTEM_USERNAME and SYSTEM_PASSWORD and your creds go in the admin one. It Works Great.
DannyTheHeretic commentedon May 30, 2026
Also, I personally, wouldnt use an API KEY for Plex, it creates more headaches than it solves, i would just comment it out of your .env if you can.
LumePart commentedon May 30, 2026
It isn't released yet though, you can try it with the
:devimage (instead of:latest)sameleff commentedon Jun 10, 2026
I finally had some time to try out the :dev image and implement the changes you both recommended, but I now receive a sign-in error with Plex
ERROR setup failed: got 401 from https://plex.tv/api/v2/users/signin.json. Both my Plex admin and user accounts have MFA enabled (which is why I was using the API key originally). NOTE: now, I receive the same sign-in error whether I use the API key or not.DannyTheHeretic commentedon Jun 10, 2026
currently tracking this in #172.
if you want to ensure this works, i would really love it if you could test it out (i dont have family who use mfa on plex), i have it packaged at
ghcr.io/dannytheheretic/explo:devor
ghcr.io/dannytheheretic/explo:0.5.17DannyTheHeretic commentedon Jun 11, 2026
update for tracking, added webui portions for it,
now its version
ghcr.io/dannytheheretic/explo:0.5.21
ghcr.io/dannytheheretic/explo:dev
or
ghcr.io/dannytheheretic/explo:latest
LumePart commentedon Jun 12, 2026
Released in v1.1.0
sameleff commentedon Sep 10, 2026
Ok, I finally got some free time to sit down and look at this again - and I still seem to be doing something wrong :(
I confirmed I'm running Explo v.1.2.0, which should include this fix.
Explo connects to Plex if I use the ADMIN_API_KEY but it doesn't work with just the API_KEY env variable. Interestingly, it also doesn't work if I use both the ADMIN_API_KEY and the API_KEY specific to the user for whom I want Explo to build the listenbrainz playlist.
Based on the updated docs my assumption was that I needed to include both the ADMIN_API_KEY (which should be the X-Plex-Token for my server) and the API_KEY (which should be the user-specific access token). For background, I followed the following post on Reddit to find the correct user-specific token for my non-admin plex user.
What am I doing wrong?
sameleff commentedon Sep 10, 2026
If it helps:
Here is the error (ok, warning) I receive when I configure just the API_KEY:
WARN [plex] failed to delete playlist: got 403 from http://192.168.1.60:32400/playlists/Notify: trueWARN [plex] failed to schedule a library scan: refreshPlexLibrary(): got 403 from http://192.168.1.60:32400/library/sections/7/refreshEven stranger, Explo claims it finished successfully, but the playlist is never created (for any user: target, admin, or otherwise).
Here is the error I receive when I configure both the API_ADMIN_KEY and the API_KEY:
ERROR setup failed: failed to make request to plex: got 401 from http://192.168.1.60:32400/library/sections/allNotify: trueLumePart commentedon Sep 10, 2026
Hmmm, I tried it and it doesn't work for me either (
API_KEYwith admin account alone does though). I will try to troubleshoot it further later@DannyTheHeretic maybe you can also take a look, if you have the time?
I have a test instance with only 1 account, so I just tried to run it with the same API key defined in
API_KEYandADMIN_API_KEYI also tried with admin/regular username and password, but the admin client won't let me authenticate (this could be an issue with testing with a singular account).
sameleff commentedon Sep 21, 2026
I'm not sure if any of these links help, but a similar (same?) issue cropped up in Music Assistant recently. Here's the proposed fix