This commit is contained in:
deathbybandaid 2023-03-14 09:43:17 -04:00
parent 321a366f5e
commit d75f7261af

View File

@ -3,7 +3,7 @@
# ChuckPa already wrote a great function for getting host info # ChuckPa already wrote a great function for getting host info
#source ./DBRepair.sh show exit >/dev/null 2>&1 #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 # get token
LOCAL_PLEX_TOKEN=`cat "${PREF}" | sed -e 's;^.* PlexOnlineToken=";;' | sed -e 's;".*$;;' | tail -1` LOCAL_PLEX_TOKEN=`cat "${PREF}" | sed -e 's;^.* PlexOnlineToken=";;' | sed -e 's;".*$;;' | tail -1`