Closed luckycold closed 5 months ago
Will look into this this evening or tomorrow.
@luckycold Can you confirm your Plex username is correct? I can build in error handling for if the user doesn't exist, but that's not going to solve the problem if your user doesn't exist. Would also be helpful to see your (redacted) env file as well, just so I can see how you're formatting the usernames
Yup, here's an image of my user:
And here's an image of my configured env variables (I use TrueNAS scale which just sends the environment variables to the docker image):
Hmm, I can't seem to replicate this. Are you the only user on this plex server? And is that the user you're authenticating with? i.e. the user you were logged in with when you grabbed the API key?
@luckycold Please try using the :debug tag on the docker image, and set an env variable DEBUG to True. It should output the list of system accounts on your plex server.
Nevermind, we don't need to do all that. Just remove your user from the list. Just tested on my end. The API by default assumes that you want to sync with the user that you are authing with, USERS should only be used if you have other users that you want to sync to as well.
Will fix this in rewrite, should do a check against authing user and userlist.
Describe the bug Try to run the script with all other items working and even creates the playlist within Plex. But leaves an error that I think causes it to not let itself run in the background on docker.
To Reproduce Steps to reproduce the behavior:
Expected behavior Have it run on a regular basis to update a playlist with new songs from Spotify.
Screenshots I have logs here:
Desktop (please complete the following information):