diff --git a/killstream/kill_trans_exp_audio.py b/killstream/kill_trans_exp_audio.py index 1bf0044..d9892c9 100644 --- a/killstream/kill_trans_exp_audio.py +++ b/killstream/kill_trans_exp_audio.py @@ -40,7 +40,7 @@ def kill_session(): if user in USER_IGNORE or media_type == 'track': print('Ignoring {}\'s {} stream.'.format(user, media_type)) exit() - trans_dec = session.trancodeSessions[0].videoDecision + trans_dec = session.transcodeSessions[0].videoDecision if trans_dec == 'transcode': platform = session.players[0].platform MESSAGE = DEVICES.get(platform, DEFAULT_REASON)