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

add movie metadata support to live tv

This commit is contained in:
Luke Pulverenti 2015-03-14 16:00:32 -04:00
parent d82b5e81ed
commit e46774b7e9
3 changed files with 13 additions and 7 deletions

View file

@ -33,11 +33,11 @@
<fieldset data-role="controlgroup">
<legend>${LabelSelectInternetTrailersForCinemaMode}</legend>
<label for="chkUpcomingTheaterTrailers">${OptionUpcomingMoviesInTheaters}</label>
<input type="checkbox" id="chkUpcomingTheaterTrailers" data-mini="true" />
<input type="checkbox" id="chkUpcomingTheaterTrailers" />
<label for="chkUpcomingDvdTrailers">${OptionUpcomingDvdMovies}</label>
<input type="checkbox" id="chkUpcomingDvdTrailers" data-mini="true" />
<input type="checkbox" id="chkUpcomingDvdTrailers" />
<label for="chkUpcomingStreamingTrailers">${OptionUpcomingStreamingMovies}</label>
<input type="checkbox" id="chkUpcomingStreamingTrailers" data-mini="true" />
<input type="checkbox" id="chkUpcomingStreamingTrailers" />
</fieldset>
<div class="fieldDescription">${LabelTheseFeaturesRequireSupporterHelpAndTrailers}</div>
<div class="fieldDescription"><a href="supporter.html">${ButtonLearnMore}</a></div>

View file

@ -32,6 +32,14 @@
<div class="fieldDescription">${LabelNumberOfGuideDaysHelp}</div>
</li>
</ul>
<div>
<fieldset data-role="controlgroup">
<legend>${LabelEnableInternetMetadataForTvPrograms}</legend>
<label for="chkMovies">${OptionTVMovies}</label>
<input type="checkbox" id="chkMovies" />
</fieldset>
</div>
<br />
<br />
<ul data-role="listview" class="ulForm">
<li>

View file

@ -14,9 +14,7 @@
$('#selectGuideDays', page).val(config.GuideDays || '').selectmenu('refresh');
var serviceOptions = liveTvInfo.Services.map(function (s) {
return '<option value="' + s.Name + '">' + s.Name + '</option>';
});
$('#chkMovies', page).checked(config.EnableMovieProviders).checkboxradio("refresh");
Dashboard.hideLoadingMsg();
}
@ -49,8 +47,8 @@
ApiClient.getNamedConfiguration("livetv").done(function (config) {
config.GuideDays = $('#selectGuideDays', form).val() || null;
config.EnableMovieProviders = $('#chkMovies', form).checked();
ApiClient.updateNamedConfiguration("livetv", config).done(Dashboard.processServerConfigurationUpdateResult);
});