1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

support sending channel paging direct to the provider

This commit is contained in:
Luke Pulverenti 2014-05-19 15:51:56 -04:00
parent 704fa77349
commit 88bcd847e2
7 changed files with 44 additions and 13 deletions

View file

@ -186,6 +186,9 @@
if (item.Type == "ChannelVideoItem" || item.Type == "ChannelAudioItem" || item.Type == "ChannelCategoryItem") {
$('#channelTabs', page).show();
$('.channelHeader', page).show().html('<a href="channelitems.html?id=' + item.ChannelId + '">' + item.ChannelName + '</a>').trigger('create');
} else {
$('.channelHeader', page).hide();
}
if (item.Type == "BoxSet") {
@ -350,7 +353,7 @@
tabsHtml += '<label for="radioDetails" class="lblDetailTab">Details</label>';
}
if (item.MediaSources && item.MediaSources.length) {
if (item.MediaSources && item.MediaSources.length && item.Path) {
tabsHtml += '<input type="radio" name="radioDetailTab" class="radioDetailTab" id="radioMediaInfo" value="tabMediaInfo">';
tabsHtml += '<label for="radioMediaInfo" class="lblDetailTab">Media Info</label>';
}