Add options to plex_update script
This commit is contained in:
@@ -4,7 +4,12 @@
|
||||
# When zurg detects changes, it can trigger this script IF your config.yml contains
|
||||
# on_library_update: sh plex_update.sh "$@"
|
||||
|
||||
plexip=$(/sbin/ip route|awk '/default/ { print $3 }')
|
||||
dockerip=$(/sbin/ip route|awk '/default/ { print $3 }') # if zurg is running inside a Docker container
|
||||
localip="localhost" # if zurg is running on the host machine, and Plex is running on the same machine
|
||||
external="plexdomain.com" # if Plex is running on a different machine
|
||||
|
||||
plexip=$localip # replace with your Plex IP
|
||||
|
||||
plex_url="http://$plexip:32400" # If you're using zurg inside a Docker container, by default it is 172.17.0.1:32400
|
||||
echo "Detected Plex URL inside Docker container: $plex_url"
|
||||
token="yourplextoken" # open Plex in a browser, open dev console and copy-paste this: window.localStorage.getItem("myPlexAccessToken")
|
||||
|
||||
Reference in New Issue
Block a user