From 79088cf6ce1021db26633565896409a9f98421e6 Mon Sep 17 00:00:00 2001 From: dirtycajunrice Date: Wed, 19 Dec 2018 23:47:08 -0600 Subject: [PATCH] added readme and snuck my name in >.< --- killstream/kill_stream.py | 2 +- killstream/readme.md | 22 +++++++++++++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/killstream/kill_stream.py b/killstream/kill_stream.py index 1891de7..d4b5a27 100644 --- a/killstream/kill_stream.py +++ b/killstream/kill_stream.py @@ -1,6 +1,6 @@ """ Description: Use conditions to kill a stream -Author: Blacktwin, Arcanemagus, Samwiseg0, JonnyWong16 +Author: Blacktwin, Arcanemagus, Samwiseg0, JonnyWong16, DirtyCajunRice Adding the script to Tautulli: Tautulli > Settings > Notification Agents > Add a new notification agent > diff --git a/killstream/readme.md b/killstream/readme.md index 1ca5d65..82931f2 100644 --- a/killstream/readme.md +++ b/killstream/readme.md @@ -62,7 +62,7 @@ Arguments: --jbop stream --username {username} --sessionId {session_id} --killMessage 'You are only allowed 3 streams.' ``` -### Limit User streams to one IP +### Limit User streams to one unique IP Triggers: Playback Start @@ -71,6 +71,26 @@ Arguments: --jbop multiIpStreams --userId {user_id} --username {username} --sessionId {session_id} --killMessage 'You are only allowed to stream from one location at a time.' ``` +### Limit User streams to one unique IP excluding house account + +Triggers: Playback Start +Conditions: \[ `Username` | `is not` | `Bob` \] + +Arguments: +``` +--jbop multiIpStreams --userId {user_id} --username {username} --sessionId {session_id} --killMessage 'You are only allowed to stream from one location at a time.' +``` + +### Limit User streams to 3 unique IPs + +Triggers: Playback Start +Conditions: \[ `User Streams` | `is greater than` | `3` \] + +Arguments: +``` +--jbop multiIpStreams --userId {user_id} --username {username} --sessionId {session_id} --killMessage 'You are only allowed to stream from one location at a time.' +``` + ### IP Whitelist Triggers: Playback Start