diff --git a/.idea/config-update.iml b/.idea/config-update.iml new file mode 100644 index 0000000..4cb138a --- /dev/null +++ b/.idea/config-update.iml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..32b1140 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..6db60de --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/README.md b/README.md index c273fc3..b05741a 100644 --- a/README.md +++ b/README.md @@ -338,21 +338,33 @@ Scripts pulled from my gist profile. #### Enabling Scripts in Tautulli: -Settings > Notification Agents > Click the Scripts gear +Taultulli > Settings > Notification Agents > Add a Notification Agent > Script -- [ ] Set scripts location to location of your scripts +Taultulli > Settings > Notification Agents > New Script > Configuration: +- [ ] Set scripts location to location of your script - [ ] Scroll down to option you want to use and select the script from the drop down menu +- [ ] Set desired Script Timeout value +- [ ] Optional - Add a description of the script for easy reference - [ ] Save -Settings > Notification Agents > Click the Bell next to Scripts +Taultulli > Settings > Notification Agents > New Script > Triggers: - [ ] Check desired trigger -- [ ] Close - -Settings > Notifications > Click Script - -- [ ] Enter in the Script Arguments - [ ] Save + +Taultulli > Settings > Notification Agents > New Script > Conditions: + +- [ ] Set desired conditions +- [ ] Save + +For more information on Tautulli conditions see [here](https://github.com/Tautulli/Tautulli-Wiki/wiki/Custom-Notification-Conditions) + +Taultulli > Settings > Notification Agents > New Script > Script Arguments: + +- [ ] Select desired trigger +- [ ] Input desired notification parameters (List of parameters will likely be found inside script) +- [ ] Save +- [ ] Close @@ -364,17 +376,15 @@ Settings > Notifications > Click Script
Plex -- [ ] PLEX_HOST - Local IP to connect to Plex ('localhost', '192.168.0.x', '127.0.0.1', etc.) -- [ ] PLEX_PORT - Port number used by Plex (default: 32400) -- [ ] PLEX_SSL - http:// or https://? '' if http and 's' if https +- [ ] PLEX_URL - Local/Remote IP to connect to Plex ('http://localhost:32400', 'https://x.x.x.x:32412', etc.) - [ ] PLEX_TOKEN - [Plex](https://support.plex.tv/hc/en-us/articles/204059436-Finding-an-authentication-token-X-Plex-Token) or Tautulli Settings > Plex.tv Account > PMS Token
Tautulli -- [ ] TAUTULLI_URL - Local IP to connect to Tautulli ('localhost', '192.168.0.x', '127.0.0.1', etc.) -- [ ] TAUTULLI_APIKEY - Tautulli Settings > Access Control > Enable API - API Key +- [ ] TAUTULLI_URL - Local/Remote IP to connect to Tautulli ('http://localhost:8181', 'https://x.x.x.x:8182', etc.) +- [ ] TAUTULLI_APIKEY - Tautulli Settings > Access Control > Enable API - API Key
diff --git a/config.ini b/config.ini new file mode 100644 index 0000000..1bce04b --- /dev/null +++ b/config.ini @@ -0,0 +1,9 @@ +# Specify your details to this file and most of the scripts will get it. + +[plex] +url = http://localhost:32400 +token = rFr9327dn1JepuTA5o4U + +[tautulli] +url = http://localhost:8183/ +api = 56953cf8a660652acb20ce40c90f2b19 \ No newline at end of file