Update kill_trans_library.py

This commit is contained in:
blacktwin 2017-12-13 13:02:37 -05:00 committed by GitHub
parent 3bf0bf270f
commit d229a22b55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,7 @@ if __name__ == '__main__':
for session in plex.sessions():
username = session.usernames[0]
media_type = session.type
if username not in USER_IGNORE or media_type != 'track':
if username not in USER_IGNORE and media_type != 'track':
title = session.title
section_id = session.librarySectionID
trans_dec = session.transcodeSessions[0].videoDecision