mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-14 10:36:57 -07:00
Remove speed from activity when transcode throttled
This commit is contained in:
parent
b66018a5c3
commit
21309ba280
2 changed files with 6 additions and 5 deletions
|
@ -140,13 +140,14 @@ DOCUMENTATION :: END
|
|||
</div>
|
||||
<div class="dashboard-activity-info-details-transcode-state" id="transcode-state-${data['session_key']}">
|
||||
% if data['video_decision'] == 'transcode' or data['audio_decision'] == 'transcode':
|
||||
Stream <strong>Transcode
|
||||
% if data['transcode_hardware'] == '1':
|
||||
Stream <strong>Transcode (HW) (Speed: ${data['transcode_speed']})
|
||||
% else:
|
||||
Stream <strong>Transcode (Speed: ${data['transcode_speed']})
|
||||
(HW)
|
||||
% endif
|
||||
% if data['transcode_throttled'] == '1':
|
||||
(Throttled)
|
||||
% else:
|
||||
(Speed: ${data['transcode_speed']})
|
||||
% endif
|
||||
</strong>
|
||||
% elif data['video_decision'] == 'copy' or data['audio_decision'] == 'copy':
|
||||
|
|
|
@ -284,9 +284,9 @@
|
|||
// if transcoding, update the transcode state
|
||||
var ts = '';
|
||||
if (s.video_decision == 'transcode' || s.audio_decision == 'transcode') {
|
||||
var throttled = (s.throttled == '1') ? ' (Throttled)' : '';
|
||||
var throttled = (s.throttled == '1') ? ' (Throttled)' : ' (Speed: ' + s.transcode_speed + ')';
|
||||
var hw = (s.transcode_hardware == '1') ? ' (HW)' : '';
|
||||
ts += 'Stream <strong>Transcode' + hw + ' (Speed: ' + s.transcode_speed + ')' + throttled + '</strong><br>';
|
||||
ts += 'Stream <strong>Transcode' + hw + throttled + '</strong><br>';
|
||||
} else if (s.video_decision == 'copy' || s.audio_decision == 'copy') {
|
||||
ts += 'Stream <strong>Direct Stream</strong><br>';
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue