added more control over what items to extract chapter images from

This commit is contained in:
Luke Pulverenti 2013-12-17 23:59:14 -05:00
parent 02cd0a7b6f
commit a3b95de459
3 changed files with 29 additions and 4 deletions

View File

@ -11,8 +11,8 @@
<div class="content-primary">
<div data-role="controlgroup" data-type="horizontal" class="localnav" data-mini="true">
<a href="metadata.html" data-role="button">Basics</a>
<a href="metadataimages.html" data-role="button" class="ui-btn-active">Image Downloading</a>
<a href="metadataimageextraction.html" data-role="button">Image Extraction</a>
<a href="metadataimages.html" data-role="button">Image Downloading</a>
<a href="metadataimageextraction.html" data-role="button" class="ui-btn-active">Image Extraction</a>
<a href="advancedmetadata.html" data-role="button">Advanced</a>
</div>
@ -21,7 +21,24 @@
<li>
<label for="chkVIdeoImages">Enable video image extraction</label>
<input id="chkVIdeoImages" name="chkVIdeoImages" type="checkbox" checked="checked" data-mini="true" />
<div class="fieldDescription">For videos that don't already have images, and that we're uanble to find internet images for. This will add some additional time to the initial library scan but will result in a more pleasing presentation.</div>
<div class="fieldDescription">This is for videos that don't already have images, and that we're uanble to find internet images for. This will add some additional time to the initial library scan but will result in a more pleasing presentation.</div>
</li>
</ul>
<h2>Chapter Images</h2>
<ul data-role="listview" class="ulForm">
<li>
<label>Enable chapter image extraction for:</label>
<div data-role="controlgroup">
<input type="checkbox" data-mini="true" id="chkMovies" name="chkMovies" />
<label for="chkMovies">Movies</label>
<input type="checkbox" data-mini="true" id="chkEpisodes" name="chkEpisodes" />
<label for="chkEpisodes">TV Episodes</label>
<input type="checkbox" data-mini="true" id="chkOtherVideos" name="chkOtherVideos" />
<label for="chkOtherVideos">Other Videos</label>
<div class="fieldDescription">Extracting chapter images will allow clients to display graphical scene selection menus. The process can be slow, cpu-intensive and may require several gigabytes of space. It runs as a nightly scheduled task at 4am, although this is configurable in the scheduled tasks area. It is not recommended to run this task during usage hours.</div>
</div>
</li>
<li>
<button type="submit" data-theme="b" data-icon="ok">

View File

@ -15,6 +15,10 @@
$('#chkVIdeoImages', page).checked(config.EnableVideoImageExtraction).checkboxradio("refresh");
$('#chkMovies', page).checked(config.EnableMovieChapterImageExtraction).checkboxradio("refresh");
$('#chkEpisodes', page).checked(config.EnableEpisodeChapterImageExtraction).checkboxradio("refresh");
$('#chkOtherVideos', page).checked(config.EnableOtherVideoChapterImageExtraction).checkboxradio("refresh");
Dashboard.hideLoadingMsg();
},
@ -27,6 +31,10 @@
config.EnableVideoImageExtraction = $('#chkVIdeoImages', form).checked();
config.EnableMovieChapterImageExtraction = $('#chkMovies', form).checked();
config.EnableEpisodeChapterImageExtraction = $('#chkEpisodes', form).checked();
config.EnableOtherVideoChapterImageExtraction = $('#chkOtherVideos', form).checked();
ApiClient.updateServerConfiguration(config).done(Dashboard.processServerConfigurationUpdateResult);
});

View File

@ -37,7 +37,7 @@
<div style="margin: 2em 0;">
<label for="chkChapters">Enable video chapter image extraction</label>
<input id="chkChapters" name="chkChapters" type="checkbox" checked="checked" />
<div class="fieldDescription">Extracting chapter images will allow clients to display graphical scene selection menus. The process can be cpu-intensive and on average will require 1-2GB of space. It runs as a nightly scheduled task at 4am, although this is configurable in the scheduled tasks area of the Dashboard once the wizard is completed.</div>
<div class="fieldDescription">Extracting chapter images will allow clients to display graphical scene selection menus. The process can be slow, cpu-intensive and may require several gigabytes of space. It runs as a nightly scheduled task at 4am, although this is configurable in the scheduled tasks area. It is not recommended to run this task during usage hours.</div>
</div>
<div class="wizardNavigation">