Skip to content

Commit

Permalink
Update endbanner.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDoobPG authored and MrDoobPG committed Dec 23, 2019
1 parent f42a084 commit d68c656
Showing 1 changed file with 23 additions and 7 deletions.
30 changes: 23 additions & 7 deletions menu/pgscan/scripts/endbanner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,35 @@ PAS_CONFIG="/opt/plex_autoscan/config/config.json"
SERVER_IP=$(ip a | grep glo | awk '{print $2}' | head -1 | cut -f1 -d/)
SERVER_PORT=$(cat ${PAS_CONFIG} | jq -r .SERVER_PORT)
SERVER_PASS=$(cat ${PAS_CONFIG} | jq -r .SERVER_PASS)
domain=$(cat /var/plexguide/server.domain)

tee <<-EOF
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💬 NOTE / INFO MANUAL EDITS IS NEEDED NOW
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1.) Link now PAS to each *arr ( see wiki )
"http://${SERVER_IP}:${SERVER_PORT}/${SERVER_PASS}"
"http://${SERVER_IP}:${SERVER_PORT}/${SERVER_PASS}"
2.) Edit Plex Scan Part ( see wiki )
3.) Restart your Plex Docker
4.) Start Downloading again
5.) Have fun
3.) Open your PAS link in Browser ( see above )
type your Movie Folder or TV Folder in the field
SAMPLE :
/mnt/unionfs/movies
/mnt/unionfs/tv
/mnt/unionfs/musik
4.) open https://plex.${domain}/web
5.) check top right ->
--> Settings --> Activity --> Alerts
and check the running scan
( this can take a long time )
6.) wait until finished
7.) Restart your Plex Docker
( see below )
8.) Start Downloading again
9.) Have fun
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💬 Plex Docker Restart now
Expand All @@ -38,9 +54,9 @@ EOF
case $typed in
Y) docker restart plex && exit ;;
y) docker restart plex && exit ;;
N) exit 0 ;;
n) exit 0 ;;
*) exit 0 ;;
N) exit ;;
n) exit ;;
*) exit ;;
esac
}

Expand Down

0 comments on commit d68c656

Please sign in to comment.