mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Testing more detailed activity pane
This commit is contained in:
parent
3166b91cb7
commit
83c1ca195f
3 changed files with 55 additions and 21 deletions
|
@ -125,17 +125,21 @@ DOCUMENTATION :: END
|
|||
<strong>${data['player']}</strong><br />
|
||||
<span id="overlay-play-state-${data['session_key']}">
|
||||
% if data['state'] == 'playing':
|
||||
State <strong>Playing</strong>
|
||||
State <strong>Playing</strong> ${'(' + data['quality_profile'] + ')' if data['media_type'] != 'track' else ''}
|
||||
% elif data['state'] == 'paused':
|
||||
State <strong>Paused</strong>
|
||||
State <strong>Paused</strong> ${'(' + data['quality_profile'] + ')' if data['media_type'] != 'track' else ''}
|
||||
% elif data['state'] == 'buffering':
|
||||
State <strong>Buffering</strong>
|
||||
State <strong>Buffering</strong> ${'(' + data['quality_profile'] + ')' if data['media_type'] != 'track' else ''}
|
||||
% endif
|
||||
</span>
|
||||
</div>
|
||||
<span id="transcode-state-${data['session_key']}">
|
||||
<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 (Speed: ${data['transcode_speed']})
|
||||
% if data['transcode_hardware'] == '1':
|
||||
Stream <strong>Transcode (HW) (Speed: ${data['transcode_speed']})
|
||||
% else:
|
||||
Stream <strong>Transcode (Speed: ${data['transcode_speed']})
|
||||
% endif
|
||||
% if data['transcode_throttled'] == '1':
|
||||
(Throttled)
|
||||
% endif
|
||||
|
@ -148,24 +152,36 @@ DOCUMENTATION :: END
|
|||
<br />
|
||||
% if data['media_type'] in ('movie', 'episode', 'clip'):
|
||||
% if data['video_decision'] == 'transcode':
|
||||
Video <strong>Transcode (${data['transcode_video_codec']}) (${data['transcode_width']}x${data['transcode_height']})</strong>
|
||||
Video <strong>Transcode (${data['video_codec']} ${data['video_resolution'].rstrip('p') + ('p' if data['video_resolution'].lower() != 'sd' else '')} → ${data['stream_video_codec']} ${data['stream_video_resolution'].rstrip('p') + ('p' if data['stream_video_resolution'].lower() != 'sd' else '')})</strong>
|
||||
% elif data['video_decision'] == 'copy':
|
||||
Video <strong>Direct Stream (${data['transcode_video_codec']}) (${data['width']}x${data['height']})</strong>
|
||||
Video <strong>Direct Stream (${data['video_codec']} ${data['video_resolution'].rstrip('p') + ('p' if data['video_resolution'].lower() != 'sd' else '')} → ${data['stream_video_codec']} ${data['stream_video_resolution'].rstrip('p') + ('p' if data['stream_video_resolution'].lower() != 'sd' else '')})</strong>
|
||||
% else:
|
||||
Video <strong>Direct Play (${data['video_codec']}) (${data['width']}x${data['height']})</strong>
|
||||
Video <strong>Direct Play (${data['video_codec']} ${data['video_resolution'].rstrip('p') + ('p' if data['video_resolution'].lower() != 'sd' else '')})</strong>
|
||||
% endif
|
||||
<br />
|
||||
% endif
|
||||
% if data['media_type'] in ('movie', 'episode', 'clip', 'track'):
|
||||
% if data['audio_decision'] == 'transcode':
|
||||
Audio <strong>Transcode (${data['transcode_audio_codec']}) (${data['transcode_audio_channels']}ch)</strong>
|
||||
Audio <strong>Transcode (${data['audio_codec']} ${data['audio_channels']}ch → ${data['stream_audio_codec']} ${data['stream_audio_channels']}ch)</strong>
|
||||
% elif data['audio_decision'] == 'copy':
|
||||
Audio <strong>Direct Stream (${data['transcode_audio_codec']}) (${data['transcode_audio_channels']}ch)</strong>
|
||||
Audio <strong>Direct Stream (${data['audio_codec']} ${data['audio_channels']}ch → ${data['stream_audio_codec']} ${data['stream_audio_channels']}ch)</strong>
|
||||
% else:
|
||||
Audio <strong>Direct Play (${data['audio_codec']}) (${data['audio_channels']}ch)</strong>
|
||||
Audio <strong>Direct Play (${data['audio_codec']} ${data['audio_channels']}ch)</strong>
|
||||
% endif
|
||||
<br />
|
||||
% endif
|
||||
</span>
|
||||
% if data['media_type'] in ('movie', 'episode', 'clip') and data['subtitles'] == '1':
|
||||
% if data['subtitle_decision'] == 'transcode':
|
||||
Subtitle <strong>Transcode (${data['subtitle_codec']} → ${data['stream_subtitle_codec']})</strong>
|
||||
% elif data['subtitle_decision'] == 'burn':
|
||||
Subtitle <strong>Burn</strong>
|
||||
% else:
|
||||
Subtitle <strong>Direct Play (${data['subtitle_codec']})</strong>
|
||||
% endif
|
||||
% elif data['media_type'] != 'track':
|
||||
Subtitle <strong>None</strong>
|
||||
% endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
% if data['media_type'] != 'photo':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue