mrworf / plexupdate

Plex Update script to simplify the life of Linux Plex Media Server users.
GNU General Public License v2.0
1.77k stars 146 forks source link

Fix Plex token regex matching #271

Closed mrtumnus closed 4 years ago

mrtumnus commented 4 years ago

The current regex expression for matching the Plex token within Preferences.xml is restricted to alphanumeric characters only. At some point, this must have changed, because my current token contains dashes, and I have seen web tokens contain underscores. These have been added to the expression to correctly match the entire token.

mrtumnus commented 4 years ago

This patch appears to fix #270. I have tested on my personal Plex installation.

jwaltrip4 commented 4 years ago

How do I get the update for 271?

mrtumnus commented 4 years ago

How do I get the update for 271?

You can either wait for the author to accept my pull request, or you can use my forked version of the project: https://github.com/mrtumnus/plexupdate

iceman73 commented 4 years ago

Your fix worked for me