fixed condition in which if user streams is set to more than one, it
would try to kill and notify x times more
This commit is contained in:
parent
79088cf6ce
commit
a27056a11f
@ -629,6 +629,7 @@ if __name__ == "__main__":
|
|||||||
if a_stream.ip_address != tautulli_stream.ip_address:
|
if a_stream.ip_address != tautulli_stream.ip_address:
|
||||||
tautulli_stream.terminate(kill_message)
|
tautulli_stream.terminate(kill_message)
|
||||||
notify(opts, kill_message, 'Multiple IP Streams', tautulli_stream, tautulli_server)
|
notify(opts, kill_message, 'Multiple IP Streams', tautulli_stream, tautulli_server)
|
||||||
|
exit(0)
|
||||||
|
|
||||||
elif opts.jbop == 'paused':
|
elif opts.jbop == 'paused':
|
||||||
killed_stream = tautulli_stream.terminate_long_pause(kill_message, opts.limit, opts.interval)
|
killed_stream = tautulli_stream.terminate_long_pause(kill_message, opts.limit, opts.interval)
|
||||||
|
Loading…
Reference in New Issue
Block a user