PlexAPI PlexServer.myPlexUsername returns server owner's email? Bug? Security/Privacy issue?

I’m trying to pull the logged in account’s username, and the field I expected it to be returns something entirely difference…

The code:

	account = MyPlexAccount('USERNAME', 'PASSWORD')
	plex = account.resource('SERVERNAME').connect()
	name = plex.myPlexUsername

ends up with name as the email address of the server owner, when I would expect it to be the same as 'USERNAME'. (Same issue if we log in via plex = PlexServer(os.getenv('PLEX_BASEURL'), os.getenv('PLEX_TOKEN'))

Shouldn’t myPlexUsername be the logged in username? Why not? And, if not a bug, how do I actually get the logged in username?

There are so many different PlexAPI's out there, and all 3.Party

Strongly suggest, that you visit the git for the one you are using, and create an issue there

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.