diff --git a/src/components/imageDownloader/imageDownloader.template.html b/src/components/imageDownloader/imageDownloader.template.html
index ba760567d..eb460d06d 100644
--- a/src/components/imageDownloader/imageDownloader.template.html
+++ b/src/components/imageDownloader/imageDownloader.template.html
@@ -29,7 +29,6 @@
${Disc}
${Logo}
${Menu}
- ${Screenshot}
${Thumb}
diff --git a/src/components/imageOptionsEditor/imageOptionsEditor.js b/src/components/imageOptionsEditor/imageOptionsEditor.js
index fb3a72b85..39d2e69df 100644
--- a/src/components/imageOptionsEditor/imageOptionsEditor.js
+++ b/src/components/imageOptionsEditor/imageOptionsEditor.js
@@ -45,7 +45,6 @@ import template from './imageOptionsEditor.template.html';
function loadValues(context, itemType, options, availableOptions) {
const supportedImageTypes = availableOptions.SupportedImageTypes || [];
setVisibilityOfBackdrops(context.querySelector('.backdropFields'), supportedImageTypes.includes('Backdrop'));
- setVisibilityOfBackdrops(context.querySelector('.screenshotFields'), supportedImageTypes.includes('Screenshot'));
Array.prototype.forEach.call(context.querySelectorAll('.imageType'), i => {
const imageType = i.getAttribute('data-imagetype');
const container = dom.parentWithTag(i, 'LABEL');
@@ -65,9 +64,6 @@ import template from './imageOptionsEditor.template.html';
const backdropConfig = getImageConfig(options, availableOptions, 'Backdrop', itemType);
context.querySelector('#txtMaxBackdrops').value = backdropConfig.Limit;
context.querySelector('#txtMinBackdropDownloadWidth').value = backdropConfig.MinWidth;
- const screenshotConfig = getImageConfig(options, availableOptions, 'Screenshot', itemType);
- context.querySelector('#txtMaxScreenshots').value = screenshotConfig.Limit;
- context.querySelector('#txtMinScreenshotDownloadWidth').value = screenshotConfig.MinWidth;
}
function saveValues(context, options) {
@@ -83,11 +79,6 @@ import template from './imageOptionsEditor.template.html';
Limit: context.querySelector('#txtMaxBackdrops').value,
MinWidth: context.querySelector('#txtMinBackdropDownloadWidth').value
});
- options.ImageOptions.push({
- Type: 'Screenshot',
- Limit: context.querySelector('#txtMaxScreenshots').value,
- MinWidth: context.querySelector('#txtMinScreenshotDownloadWidth').value
- });
}
function showEditor(itemType, options, availableOptions) {
diff --git a/src/components/imageOptionsEditor/imageOptionsEditor.template.html b/src/components/imageOptionsEditor/imageOptionsEditor.template.html
index d3b1957e4..79c884516 100644
--- a/src/components/imageOptionsEditor/imageOptionsEditor.template.html
+++ b/src/components/imageOptionsEditor/imageOptionsEditor.template.html
@@ -62,17 +62,6 @@
-
-
-
diff --git a/src/components/imageUploader/imageUploader.template.html b/src/components/imageUploader/imageUploader.template.html
index 4ae178fe7..8903aa010 100644
--- a/src/components/imageUploader/imageUploader.template.html
+++ b/src/components/imageUploader/imageUploader.template.html
@@ -38,7 +38,6 @@
${Disc}
${Logo}
${Menu}
- ${Screenshot}
${Thumb}
diff --git a/src/components/imageeditor/imageeditor.js b/src/components/imageeditor/imageeditor.js
index 3a7fad5ed..509fe0278 100644
--- a/src/components/imageeditor/imageeditor.js
+++ b/src/components/imageeditor/imageeditor.js
@@ -74,7 +74,6 @@ import template from './imageeditor.template.html';
apiClient.getItemImageInfos(currentItem.Id).then(function (imageInfos) {
renderStandardImages(page, apiClient, item, imageInfos, providers);
renderBackdrops(page, apiClient, item, imageInfos, providers);
- renderScreenshots(page, apiClient, item, imageInfos, providers);
loading.hide();
if (layoutManager.tv) {
@@ -91,8 +90,6 @@ import template from './imageeditor.template.html';
if (type === 'Backdrop') {
options.tag = item.BackdropImageTags[index];
- } else if (type === 'Screenshot') {
- options.tag = item.ScreenshotImageTags[index];
} else if (type === 'Primary') {
options.tag = item.PrimaryImageTag || item.ImageTags[type];
} else {
@@ -161,7 +158,7 @@ import template from './imageeditor.template.html';
if (enableFooterButtons) {
html += '';
- if (image.ImageType === 'Backdrop' || image.ImageType === 'Screenshot') {
+ if (image.ImageType === 'Backdrop') {
if (index > 0) {
html += ' ';
} else {
@@ -242,7 +239,7 @@ import template from './imageeditor.template.html';
function renderStandardImages(page, apiClient, item, imageInfos, imageProviders) {
const images = imageInfos.filter(function (i) {
- return i.ImageType !== 'Screenshot' && i.ImageType !== 'Backdrop' && i.ImageType !== 'Chapter';
+ return i.ImageType !== 'Backdrop' && i.ImageType !== 'Chapter';
});
renderImages(page, item, apiClient, images, imageProviders, page.querySelector('#images'));
@@ -263,21 +260,6 @@ import template from './imageeditor.template.html';
}
}
- function renderScreenshots(page, apiClient, item, imageInfos, imageProviders) {
- const images = imageInfos.filter(function (i) {
- return i.ImageType === 'Screenshot';
- }).sort(function (a, b) {
- return a.ImageIndex - b.ImageIndex;
- });
-
- if (images.length) {
- page.querySelector('#screenshotsContainer', page).classList.remove('hide');
- renderImages(page, item, apiClient, images, imageProviders, page.querySelector('#screenshots'));
- } else {
- page.querySelector('#screenshotsContainer', page).classList.add('hide');
- }
- }
-
function showImageDownloader(page, imageType) {
import('../imageDownloader/imageDownloader').then((ImageDownloader) => {
ImageDownloader.show(
@@ -311,7 +293,7 @@ import template from './imageeditor.template.html';
id: 'delete'
});
- if (type === 'Backdrop' || type === 'Screenshot') {
+ if (type === 'Backdrop') {
if (index > 0) {
commands.push({
name: globalize.translate('MoveLeft'),
diff --git a/src/components/imageeditor/imageeditor.template.html b/src/components/imageeditor/imageeditor.template.html
index 32e42bbef..f878bf9e7 100644
--- a/src/components/imageeditor/imageeditor.template.html
+++ b/src/components/imageeditor/imageeditor.template.html
@@ -37,20 +37,6 @@
-
-
-
-
${Screenshots}
-
-
-
-
-
-
-
-
diff --git a/src/scripts/serverNotifications.js b/src/scripts/serverNotifications.js
index e4395c9c2..73a10bcbd 100644
--- a/src/scripts/serverNotifications.js
+++ b/src/scripts/serverNotifications.js
@@ -128,9 +128,6 @@ function processGeneralCommand(cmd, apiClient) {
case 'ToggleContextMenu':
// todo
break;
- case 'TakeScreenShot':
- // todo
- break;
case 'SendKey':
// todo
break;
diff --git a/src/strings/en-us.json b/src/strings/en-us.json
index bf7b67b14..b7d58832d 100644
--- a/src/strings/en-us.json
+++ b/src/strings/en-us.json
@@ -729,7 +729,6 @@
"LabelMaxParentalRating": "Maximum allowed parental rating:",
"LabelMaxResumePercentage": "Maximum resume percentage:",
"LabelMaxResumePercentageHelp": "Titles are assumed fully played if stopped after this time.",
- "LabelMaxScreenshotsPerItem": "Maximum number of screenshots per item:",
"LabelMaxStreamingBitrate": "Maximum streaming quality:",
"LabelMaxStreamingBitrateHelp": "Specify a maximum bitrate when streaming.",
"LabelMessageText": "Message text:",
@@ -751,7 +750,6 @@
"LabelMinResumeDurationHelp": "The shortest video length in seconds that will save playback location and let you resume.",
"LabelMinResumePercentage": "Minimum resume percentage:",
"LabelMinResumePercentageHelp": "Titles are assumed unplayed if stopped before this time.",
- "LabelMinScreenshotDownloadWidth": "Minimum screenshot download width:",
"LabelModelDescription": "Model description:",
"LabelModelName": "Model name:",
"LabelModelNumber": "Model number:",
@@ -1380,8 +1378,6 @@
"ScanForNewAndUpdatedFiles": "Scan for new and updated files",
"ScanLibrary": "Scan library",
"Schedule": "Schedule",
- "Screenshot": "Screenshot",
- "Screenshots": "Screenshots",
"Search": "Search",
"SearchForCollectionInternetMetadata": "Search the internet for artwork and metadata",
"SearchForMissingMetadata": "Search for missing metadata",