mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-14 02:26:58 -07:00
Add subtitle direct stream to activity
This commit is contained in:
parent
2794a4b550
commit
78fd83746e
2 changed files with 5 additions and 1 deletions
|
@ -173,6 +173,8 @@ DOCUMENTATION :: END
|
|||
% if data['media_type'] in ('movie', 'episode', 'clip') and data['subtitles'] == '1':
|
||||
% if data['subtitle_decision'] == 'transcode':
|
||||
Subtitle <strong>Transcode (${data['subtitle_codec'].upper()} → ${data['stream_subtitle_codec'].upper()})</strong>
|
||||
% elif data['subtitle_decision'] == 'copy':
|
||||
Subtitle <strong>Direct Stream (${data['subtitle_codec'].upper()})</strong>
|
||||
% elif data['subtitle_decision'] == 'burn':
|
||||
Subtitle <strong>Burn (${data['subtitle_codec'].upper()})</strong>
|
||||
% else:
|
||||
|
|
|
@ -227,8 +227,10 @@
|
|||
if (s.subtitles) {
|
||||
if (s.subtitle_decision == 'transcode') {
|
||||
ts += 'Subtitle <strong>Transcode (' + s.subtitle_codec.toUpperCase() + ' → ' + s.stream_subtitle_codec.toUpperCase() + ')</strong>';
|
||||
} else if (s.subtitle_decision == 'copy') {
|
||||
ts += 'Subtitle <strong>Direct Stream (' + s.subtitle_codec.toUpperCase() + ')</strong>';
|
||||
} else if (s.subtitle_decision == 'burn') {
|
||||
ts += 'Subtitle <strong>Burn (' + s.stream_subtitle_codec.toUpperCase() + ')</strong>';
|
||||
ts += 'Subtitle <strong>Burn (' + s.subtitle_codec.toUpperCase() + ')</strong>';
|
||||
} else {
|
||||
ts += 'Subtitle <strong>Direct Play (' + s.subtitle_codec.toUpperCase() + ')</strong>';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue