Update kill_trans_pause.py
This commit is contained in:
parent
e1f2768de6
commit
71055fe367
@ -70,5 +70,6 @@ if __name__ == '__main__':
|
|||||||
and s['Player']['state'] == 'paused':
|
and s['Player']['state'] == 'paused':
|
||||||
print("Killing {}'s stream for pausing a transcode stream of {}".format(s['User']['title'], s['title']))
|
print("Killing {}'s stream for pausing a transcode stream of {}".format(s['User']['title'], s['title']))
|
||||||
kill_stream(s['Session']['id'], MESSAGE)
|
kill_stream(s['Session']['id'], MESSAGE)
|
||||||
except Exception:
|
except Exception as e:
|
||||||
|
print('Session error: {}'.format(e))
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user