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

increase recording padding limits

This commit is contained in:
Luke Pulverenti 2013-12-22 16:11:32 -05:00
parent dc89e5fb88
commit 5a92d54d0c
7 changed files with 28 additions and 23 deletions

View file

@ -21,7 +21,7 @@
<li>
<input type="checkbox" id="chkEnableTmdbPersonUpdates" name="chkEnableTmdbPersonUpdates" data-mini="true" />
<label for="chkEnableTmdbPersonUpdates">Enable automatic updates from TheMovieDB.org</label>
<div class="fieldDescription">If enabled, movies and people will be updated automatically as they are updated on the TheMovieDB.org. This may replace some existing metadata.</div>
<div class="fieldDescription">If enabled, movies will be updated automatically as they are updated on the TheMovieDB.org. This may replace some existing metadata.</div>
</li>
<li>
<input type="checkbox" id="chkEnableTvdbUpdates" name="chkEnableTvdbUpdates" data-mini="true" />

View file

@ -1,5 +1,5 @@
.posterItem {
margin: 8px 8px 8px 8px;
margin: 7px;
text-shadow: none;
font-weight: normal!important;
display: inline-block;
@ -139,12 +139,12 @@
height: 162px;
}
.smallBackdropPosterItem {
width: 160px;
}
.smallBackdropPosterItem {
width: 192px;
}
.smallBackdropPosterItem .posterItemImage {
height: 90px;
height: 108px;
}
.portraitPosterItem {
@ -221,11 +221,11 @@
}
.smallBackdropPosterItem {
width: 187px;
width: 224px;
}
.smallBackdropPosterItem .posterItemImage {
height: 105px;
height: 126px;
}
.storeItem, .storePosterItem {

View file

@ -16,10 +16,10 @@
<form class="liveTvNewRecordingForm" style="margin: 0 auto;">
<p><span class="itemName inlineItemName"></span><span class="itemMiscInfo" style="display: inline;"></span></p>
<p class="itemEpisodeName"></p>
<p class="itemMiscInfo miscTvProgramInfo"></p>
<p>
<span class="itemCommunityRating"></span>
</p>
<p class="itemChannelNumber"></p>
<p class="itemGenres"></p>
<p class="itemOverview"></p>
@ -81,7 +81,7 @@
<ul data-role="listview" class="ulForm">
<li>
<label for="txtPrePaddingSeconds">Pre-padding minutes: </label>
<input type="number" id="txtPrePaddingSeconds" pattern="[0-9]*" required="required" min="0" max="5" step=".5" />
<input type="number" id="txtPrePaddingSeconds" pattern="[0-9]*" required="required" min="0" max="10" step=".5" />
</li>
<li>
<input type="checkbox" data-mini="true" id="chkPrePaddingRequired" />
@ -92,7 +92,7 @@
</li>
<li>
<label for="txtPostPaddingSeconds">Post-padding minutes: </label>
<input type="number" id="txtPostPaddingSeconds" pattern="[0-9]*" required="required" min="0" max="5" step=".5" />
<input type="number" id="txtPostPaddingSeconds" pattern="[0-9]*" required="required" min="0" max="10" step=".5" />
</li>
<li>
<input type="checkbox" data-mini="true" id="chkPostPaddingRequired" />

View file

@ -73,7 +73,7 @@
<ul data-role="listview" class="ulForm">
<li>
<label for="txtPrePaddingSeconds">Pre-padding seconds: </label>
<input type="number" id="txtPrePaddingSeconds" pattern="[0-9]*" required="required" min="0" max="5" step=".5" />
<input type="number" id="txtPrePaddingSeconds" pattern="[0-9]*" required="required" min="0" max="10" step=".5" />
</li>
<li>
<input type="checkbox" data-mini="true" id="chkPrePaddingRequired" />
@ -84,7 +84,7 @@
</li>
<li>
<label for="txtPostPaddingSeconds">Post-padding minutes: </label>
<input type="number" id="txtPostPaddingSeconds" pattern="[0-9]*" required="required" min="0" max="5" step=".5" />
<input type="number" id="txtPostPaddingSeconds" pattern="[0-9]*" required="required" min="0" max="10" step=".5" />
</li>
<li>
<input type="checkbox" data-mini="true" id="chkPostPaddingRequired" />

View file

@ -37,7 +37,7 @@
<ul data-role="listview" class="ulForm">
<li>
<label for="txtPrePaddingSeconds">Pre-padding seconds: </label>
<input type="number" id="txtPrePaddingSeconds" pattern="[0-9]*" required="required" min="0" max="5" step=".5" />
<input type="number" id="txtPrePaddingSeconds" pattern="[0-9]*" required="required" min="0" max="10" step=".5" />
</li>
<li>
<input type="checkbox" data-mini="true" id="chkPrePaddingRequired" />
@ -48,7 +48,7 @@
</li>
<li>
<label for="txtPostPaddingSeconds">Post-padding minutes: </label>
<input type="number" id="txtPostPaddingSeconds" pattern="[0-9]*" required="required" min="0" max="5" step=".5" />
<input type="number" id="txtPostPaddingSeconds" pattern="[0-9]*" required="required" min="0" max="10" step=".5" />
</li>
<li>
<input type="checkbox" data-mini="true" id="chkPostPaddingRequired" />

View file

@ -183,7 +183,7 @@
$('#scenesCollapsible', page).hide();
} else {
$('#scenesCollapsible', page).show();
renderScenes(page, item, 5);
renderScenes(page, item, 4);
}
if (!item.LocalTrailerCount && !item.RemoteTrailers.length) {
$('#trailersCollapsible', page).addClass('hide');
@ -421,7 +421,7 @@
var options = {
userId: Dashboard.getCurrentUserId(),
limit: item.Type == "MusicAlbum" ? 6 : 6,
limit: item.Type == "MusicAlbum" ? 5 : 5,
fields: "PrimaryImageAspectRatio,DateCreated,UserData"
};
@ -690,7 +690,7 @@
}
if (limit && result.TotalRecordCount > limit) {
html += '<p style="margin: .5em 0 0;padding-left: .5em;"><button class="moreCriticReviews" data-inline="true" data-mini="true">More ...</button></p>';
html += '<p style="margin: 0;padding-left: .5em;"><button class="moreCriticReviews" data-inline="true" data-mini="true">More ...</button></p>';
}
$('#criticReviewsContent', page).html(html).trigger('create');
@ -797,18 +797,20 @@
html += '<div class="posterItemImage" style="background-image:url(\'' + imgUrl + '\');"></div>';
html += '<div class="posterItemTextOverlay">';
html += '<div class="posterItemText">' + chapterName + '</div>';
html += '<div class="posterItemText">';
html += Dashboard.getDisplayTime(chapter.StartPositionTicks);
html += '</div>';
html += '</div>';
html += '</a>';
}
if (limit && chapters.length > limit) {
html += '<p style="margin: .5em 0 0;padding-left: .5em;"><button class="moreScenes" data-inline="true" data-mini="true">More ...</button></p>';
html += '<p style="margin: 0;padding-left: .5em;"><button class="moreScenes" data-inline="true" data-mini="true">More ...</button></p>';
}
$('#scenesContent', page).html(html).trigger('create');
@ -924,6 +926,7 @@
html += '<div class="posterItemImage" style="background-image:url(\'' + imgUrl + '\');"></div>';
html += '<div class="posterItemTextOverlay">';
html += '<div class="posterItemText">' + item.Name + '</div>';
html += '<div class="posterItemText">';
@ -934,13 +937,14 @@
html += "&nbsp;";
}
html += '</div>';
html += '</div>';
html += '</a>';
}
if (limit && items.length > limit) {
html += '<p style="margin: .5em 0 0;padding-left: .5em;"><button class="' + moreButtonClass + '" data-inline="true" data-mini="true">More ...</button></p>';
html += '<p style="margin: 0;padding-left: .5em;"><button class="' + moreButtonClass + '" data-inline="true" data-mini="true">More ...</button></p>';
}
return html;

View file

@ -9,7 +9,6 @@
var context = 'livetv';
$('.itemName', page).html(program.Name);
$('.itemChannelNumber', page).html('Channel:&nbsp;&nbsp;&nbsp;<a href="livetvchannel.html?id=' + program.ChannelId + '">' + program.ChannelName + '</a>').trigger('create');
$('.itemEpisodeName', page).html(program.EpisodeTitle || '');
@ -24,6 +23,8 @@
$('.itemMiscInfo', page).html(LibraryBrowser.getMiscInfoHtml(program));
LiveTvHelpers.renderMiscProgramInfo($('.miscTvProgramInfo', page), program);
$('#chkNewOnly', page).checked(defaultTimer.RecordNewOnly).checkboxradio('refresh');
$('#chkAllChannels', page).checked(defaultTimer.RecordAnyChannel).checkboxradio('refresh');
$('#chkAnyTime', page).checked(defaultTimer.RecordAnyTime).checkboxradio('refresh');