Update kill_trans_pause.py
This commit is contained in:
parent
5998395f27
commit
ce252afcb4
@ -31,7 +31,7 @@ plex = PlexServer(PLEX_URL, PLEX_TOKEN, session=sess)
|
||||
|
||||
def kill_session(sess_key):
|
||||
for session in plex.sessions():
|
||||
user = session.username[0]
|
||||
user = session.usernames[0]
|
||||
if user in ignore_lst:
|
||||
print('Ignoring {}\'s paused transcode stream.'.format(user))
|
||||
exit()
|
||||
|
Loading…
Reference in New Issue
Block a user