Update kill_trans_pause.py

This commit is contained in:
blacktwin 2017-07-31 07:48:28 -04:00 committed by GitHub
parent e1f2768de6
commit 71055fe367

View File

@ -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