diff --git a/plex-token.sh b/plex-token.sh index a46a2b2..eef60ac 100644 --- a/plex-token.sh +++ b/plex-token.sh @@ -3,7 +3,7 @@ # ChuckPa already wrote a great function for getting host info #source ./DBRepair.sh show exit >/dev/null 2>&1 -PLEX_PREFERENCES_XML="/opt/plex/Library/Application Support/Plex Media Server/Preferences.xml" +PLEX_PREFERENCES_XML="/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Preferences.xml" # get token LOCAL_PLEX_TOKEN=`cat "${PREF}" | sed -e 's;^.* PlexOnlineToken=";;' | sed -e 's;".*$;;' | tail -1`