test
This commit is contained in:
parent
a6b5ce45ae
commit
c7a2032b26
@ -1,11 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
# ChuckPa already wrote a great function for getting host info
|
||||
#source ./DBRepair.sh show exit >/dev/null 2>&1
|
||||
bash ./DBRepair.sh show 99 >/dev/null 2>&1
|
||||
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"
|
||||
|
||||
# get token
|
||||
LOCAL_PLEX_TOKEN=`cat "${PLEX_PREFERENCES_XML}" | sed -e 's;^.* PlexOnlineToken=";;' | sed -e 's;".*$;;' | tail -1`
|
||||
#LOCAL_PLEX_TOKEN=`cat "${PLEX_PREFERENCES_XML}" | sed -e 's;^.* PlexOnlineToken=";;' | sed -e 's;".*$;;' | tail -1`
|
||||
|
||||
echo "Local Token found in $PLEX_PREFERENCES_XML: $LOCAL_PLEX_TOKEN"
|
||||
#echo "Local Token found in $PLEX_PREFERENCES_XML: $LOCAL_PLEX_TOKEN"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user