mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-12 00:06:07 -07:00
Media type clip fixes
This commit is contained in:
parent
a46b24213b
commit
989ebcd3b7
2 changed files with 5 additions and 3 deletions
|
@ -148,7 +148,7 @@ DOCUMENTATION :: END
|
||||||
Stream <strong>Direct Play</strong>
|
Stream <strong>Direct Play</strong>
|
||||||
% endif
|
% endif
|
||||||
<br />
|
<br />
|
||||||
% if data['media_type'] in ('movie', 'episode'):
|
% if data['media_type'] in ('movie', 'episode', 'clip'):
|
||||||
% if data['video_decision'] == 'transcode':
|
% if data['video_decision'] == 'transcode':
|
||||||
Video <strong>Transcode (${data['transcode_video_codec']}) (${data['transcode_width']}x${data['transcode_height']})</strong>
|
Video <strong>Transcode (${data['transcode_video_codec']}) (${data['transcode_width']}x${data['transcode_height']})</strong>
|
||||||
% elif data['video_decision'] == 'copy':
|
% elif data['video_decision'] == 'copy':
|
||||||
|
@ -158,7 +158,7 @@ DOCUMENTATION :: END
|
||||||
% endif
|
% endif
|
||||||
<br />
|
<br />
|
||||||
% endif
|
% endif
|
||||||
% if data['media_type'] in ('movie', 'episode', 'track'):
|
% if data['media_type'] in ('movie', 'episode', 'clip', 'track'):
|
||||||
% if data['audio_decision'] == 'transcode':
|
% if data['audio_decision'] == 'transcode':
|
||||||
Audio <strong>Transcode (${data['transcode_audio_codec']}) (${data['transcode_audio_channels']}ch)</strong>
|
Audio <strong>Transcode (${data['transcode_audio_codec']}) (${data['transcode_audio_channels']}ch)</strong>
|
||||||
% elif data['audio_decision'] == 'copy':
|
% elif data['audio_decision'] == 'copy':
|
||||||
|
|
|
@ -161,8 +161,10 @@ history_table_options = {
|
||||||
media_type = '<span class="media-type-tooltip" data-toggle="tooltip" title="Track"><i class="fa fa-music fa-fw"></i></span>';
|
media_type = '<span class="media-type-tooltip" data-toggle="tooltip" title="Track"><i class="fa fa-music fa-fw"></i></span>';
|
||||||
thumb_popover = '<span class="thumb-tooltip" data-toggle="popover" data-img="pms_image_proxy?img=' + rowData['thumb'] + '&width=300&height=300&fallback=cover" data-height="80" data-width="80">' + cellData + parent_info + '</span>'
|
thumb_popover = '<span class="thumb-tooltip" data-toggle="popover" data-img="pms_image_proxy?img=' + rowData['thumb'] + '&width=300&height=300&fallback=cover" data-height="80" data-width="80">' + cellData + parent_info + '</span>'
|
||||||
$(td).html('<div class="history-title"><a href="info?' + source + 'rating_key=' + rowData['rating_key'] + '"><div style="float: left;">' + media_type + ' ' + thumb_popover + '</div></a></div>');
|
$(td).html('<div class="history-title"><a href="info?' + source + 'rating_key=' + rowData['rating_key'] + '"><div style="float: left;">' + media_type + ' ' + thumb_popover + '</div></a></div>');
|
||||||
} else {
|
} else if (/^[0-9]+$/.test(rowData['rating_key'])) {
|
||||||
$(td).html('<a href="info?rating_key=' + rowData['rating_key'] + '">' + cellData + '</a>');
|
$(td).html('<a href="info?rating_key=' + rowData['rating_key'] + '">' + cellData + '</a>');
|
||||||
|
} else {
|
||||||
|
$(td).html(cellData);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue