Plex Pass holder. I’ve searched online and seen some other posts how Apple TV seems to ignore kill stream requests, mostly on Reddit. I can confirm this is happening to me as well.
I have my server set to kill any paused streams longer than 15 minutes. I have a backup Tautulli script set to check again at 20 minutes. Apple TV streams always seem to be able to pause for unlimited durations and ignore any kill stream requests.
+1 request to have Plex for tvOS updated to accept kill/terminate stream requests.
Can you provide logs from Tautulli ? Might be helpful.
kill_stream.py, conditions = stream local is not 1. Maybe this is my error?
2020-02-21 11:13:58 DEBUG Tautulli NotificationHandler :: Custom notification conditions not satisfied, skipping notifier_id 11.
2020-02-21 11:13:58 DEBUG Tautulli NotificationHandler :: Custom conditions evaluated to 'False'. Conditions: [False].
2020-02-21 11:13:58 DEBUG Tautulli NotificationHandler :: Condition logic [blank]: {1} > False
2020-02-21 11:13:58 DEBUG Tautulli NotificationHandler :: {1} stream_local | is not | '1' > '1' > False
2020-02-21 11:13:58 DEBUG Tautulli NotificationHandler :: Checking custom notification conditions for notifier_id 11.
2020-02-21 11:13:58 DEBUG Tautulli NotificationHandler :: Global notification conditions evaluated to 'True'.
2020-02-21 11:13:58 DEBUG Tautulli NotificationHandler :: Checking global notification conditions.
2020-02-21 11:13:58 DEBUG Tautulli NotificationHandler :: Notifiers enabled for notify_action 'on_pause'.
2020-02-21 11:13:58 DEBUG Tautulli ActivityHandler :: Session 1 paused.
Just tried this again with a 30 second interval. Removed the conditions.
2020-02-21 17:31:00 INFO Tautulli Config :: Writing configuration to file
2020-02-21 17:28:14 INFO Tautulli Notifiers :: Script notification sent.
2020-02-21 17:28:13 ERROR Tautulli Notifiers :: Script error:
usage: kill_stream.py [-h] --jbop {stream,allStreams,paused} [--userId USERID]
[--username USERNAME] [--sessionId SESSIONID]
[--notify NOTIFY] [--limit LIMIT] [--interval INTERVAL]
[--killMessage KILLMESSAGE [KILLMESSAGE ...]]
[--richMessage {discord,slack}]
[--serverName SERVERNAME] [--plexUrl PLEXURL]
[--posterUrl POSTERURL] [--richColor RICHCOLOR]
[--debug]
kill_stream.py: error: the following arguments are required: --jbop
2020-02-21 17:28:13 DEBUG Tautulli Notifiers :: Subprocess returned with status code 2.
2020-02-21 17:28:12 DEBUG Tautulli Notifiers :: Executing script in a new thread.
2020-02-21 17:28:12 DEBUG Tautulli Notifiers :: Full script is: ['python', u'/config/scripts/JBOPS-master/killstream/kill_stream.py']
2020-02-21 17:28:12 DEBUG Tautulli Notifiers :: Trying to run notify script, action: pause, arguments: []
2020-02-21 17:28:12 ERROR Tautulli NotificationHandler :: Unable to parse custom script arguments: No closing quotation. Using fallback.
2020-02-21 17:28:11 INFO Tautulli NotificationHandler :: Preparing notification for notifier_id 11.
2020-02-21 17:28:11 DEBUG Tautulli NotificationHandler :: Global notification conditions evaluated to 'True'.
2020-02-21 17:28:11 DEBUG Tautulli NotificationHandler :: Checking global notification conditions.
2020-02-21 17:28:11 DEBUG Tautulli NotificationHandler :: Notifiers enabled for notify_action 'on_pause'.
2020-02-21 17:28:11 DEBUG Tautulli ActivityHandler :: Session 3 paused.
However, still doesn’t explain why Plex doesn’t seem to be able to kill the stream at the specified time natively.
Please follow the example in the readme to setup the required arguments. Once it’s setup correctly either Tautulli will or the stream or it may provide some insight as to why Plex isn’t kill it as well.
system
Closed
May 22, 2020, 2:25am
6
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.