This commit is contained in:
deathbybandaid 2023-03-14 10:25:48 -04:00
parent 89bb42bc3d
commit 411b58340c

View File

@ -5,8 +5,11 @@ source ./HostConfig.sh
HostConfig
echo "$AppSuppDir"
#PLEX_PREFERENCES_XML="/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Preferences.xml"
PLEX_PREFERENCES_XML="/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Preferences.xml"
echo "$PLEX_PREFERENCES_XML"
PLEX_PREFERENCES_XML="$AppSuppDir/Plex Media Server/Preferences.xml"
echo "$PLEX_PREFERENCES_XML"
# get token
#LOCAL_PLEX_TOKEN=`cat "${PLEX_PREFERENCES_XML}" | sed -e 's;^.* PlexOnlineToken=";;' | sed -e 's;".*$;;' | tail -1`