Fix direct stream count in current activity header

This commit is contained in:
JonnyWong16 2016-06-18 16:36:13 -07:00
parent 652ca73126
commit 1120aa3841

View file

@ -269,7 +269,7 @@ class WebInterface(object):
else: else:
if s['video_decision'] == 'transcode' or s['audio_decision'] == 'transcode': if s['video_decision'] == 'transcode' or s['audio_decision'] == 'transcode':
data['transcode'] += 1 data['transcode'] += 1
elif s['video_decision'] == 'direct copy' or s['audio_decision'] == 'copy play': elif s['video_decision'] == 'copy' or s['audio_decision'] == 'copy':
data['direct_stream'] += 1 data['direct_stream'] += 1
else: else:
data['direct_play'] += 1 data['direct_play'] += 1