Fix logic to add "Direct Stream" state to current activity
This commit is contained in:
@@ -119,6 +119,8 @@ DOCUMENTATION :: END
|
|||||||
% if a['type'] == 'track':
|
% if a['type'] == 'track':
|
||||||
% if a['audio_decision'] == 'direct play':
|
% if a['audio_decision'] == 'direct play':
|
||||||
Stream <strong>Direct Play</strong>
|
Stream <strong>Direct Play</strong>
|
||||||
|
% elif a['audio_decision'] == 'copy':
|
||||||
|
Stream <strong>Direct Stream</strong>
|
||||||
% else:
|
% else:
|
||||||
Stream <strong>Transcoding
|
Stream <strong>Transcoding
|
||||||
(Speed: ${a['transcode_speed']})
|
(Speed: ${a['transcode_speed']})
|
||||||
@@ -136,8 +138,10 @@ DOCUMENTATION :: END
|
|||||||
Audio <strong>Transcode (${a['transcode_audio_codec']}) (${a['transcode_audio_channels']}ch)</strong>
|
Audio <strong>Transcode (${a['transcode_audio_codec']}) (${a['transcode_audio_channels']}ch)</strong>
|
||||||
% endif
|
% endif
|
||||||
% elif a['type'] == 'episode' or a['type'] == 'movie' or a['type'] == 'clip':
|
% elif a['type'] == 'episode' or a['type'] == 'movie' or a['type'] == 'clip':
|
||||||
% if a['video_decision'] == 'direct play':
|
% if a['video_decision'] == 'direct play' and a['audio_decision'] == 'direct play':
|
||||||
Stream <strong>Direct Play</strong>
|
Stream <strong>Direct Play</strong>
|
||||||
|
% elif a['video_decision'] == 'copy' and a['audio_decision'] == 'copy':
|
||||||
|
Stream <strong>Direct Stream</strong>
|
||||||
% else:
|
% else:
|
||||||
Stream <strong>Transcoding
|
Stream <strong>Transcoding
|
||||||
(Speed: ${a['transcode_speed']})
|
(Speed: ${a['transcode_speed']})
|
||||||
@@ -165,6 +169,8 @@ DOCUMENTATION :: END
|
|||||||
% elif a['type'] == 'photo':
|
% elif a['type'] == 'photo':
|
||||||
% if a['video_decision'] == 'direct play':
|
% if a['video_decision'] == 'direct play':
|
||||||
Stream <strong>Direct Play</strong>
|
Stream <strong>Direct Play</strong>
|
||||||
|
% elif a['video_decision'] == 'copy':
|
||||||
|
Stream <strong>Direct Stream</strong>
|
||||||
% else:
|
% else:
|
||||||
Stream <strong>
|
Stream <strong>
|
||||||
Transcoding
|
Transcoding
|
||||||
|
Reference in New Issue
Block a user