`;
return (
diff --git a/src/components/directorybrowser/directorybrowser.js b/src/components/directorybrowser/directorybrowser.js
index 2577c9fc92..5f5acc5c21 100644
--- a/src/components/directorybrowser/directorybrowser.js
+++ b/src/components/directorybrowser/directorybrowser.js
@@ -77,7 +77,7 @@ function getItem(cssClass, type, path, name) {
html += name;
html += '
';
html += '
';
- html += '';
+ html += '';
html += '
';
return html;
}
@@ -116,7 +116,7 @@ function getEditorHtml(options, systemInfo) {
html += ``;
html += '
';
if (!readOnlyAttribute) {
- html += ``;
+ html += ``;
}
html += '';
if (!readOnlyAttribute) {
@@ -264,7 +264,7 @@ class DirectoryBrowser {
let html = '';
html += '
';
- html += '';
+ html += '';
html += '
';
html += options.header || globalize.translate('HeaderSelectPath');
html += '
';
@@ -567,7 +567,7 @@ import ServerConnections from '../ServerConnections';
html += '
';
html += globalize.translate('HeaderOnNow');
html += '
';
- html += '';
+ html += '';
html += '';
} else {
html += '
' + globalize.translate('HeaderOnNow') + '
';
@@ -654,7 +654,7 @@ import ServerConnections from '../ServerConnections';
html += globalize.translate('NextUp');
}
html += '';
- html += '';
+ html += '';
html += '';
} else {
html += '
';
diff --git a/src/components/imageDownloader/imageDownloader.js b/src/components/imageDownloader/imageDownloader.js
index 01ff77013a..5f3eb50ced 100644
--- a/src/components/imageDownloader/imageDownloader.js
+++ b/src/components/imageDownloader/imageDownloader.js
@@ -129,8 +129,8 @@ import template from './imageDownloader.template.html';
if (showControls) {
html += '
';
- html += '';
- html += '';
+ html += ``;
+ html += ``;
html += '
';
}
@@ -264,7 +264,7 @@ import template from './imageDownloader.template.html';
if (enableFooterButtons) {
html += '
diff --git a/src/components/libraryoptionseditor/libraryoptionseditor.js b/src/components/libraryoptionseditor/libraryoptionseditor.js
index b8950ebed0..f57e6e1b65 100644
--- a/src/components/libraryoptionseditor/libraryoptionseditor.js
+++ b/src/components/libraryoptionseditor/libraryoptionseditor.js
@@ -69,16 +69,16 @@ import template from './libraryoptionseditor.template.html';
for (let i = 0; i < plugins.length; i++) {
const plugin = plugins[i];
html += `
`;
- html += '';
+ html += '';
html += '
';
html += '
';
html += plugin.Name;
html += '
';
html += '
';
if (i > 0) {
- html += ``;
+ html += ``;
} else if (plugins.length > 1) {
- html += ``;
+ html += ``;
}
html += '
';
}
@@ -132,9 +132,9 @@ import template from './libraryoptionseditor.template.html';
html += '';
html += '
';
if (index > 0) {
- html += '';
+ html += '';
} else if (plugins.length > 1) {
- html += '';
+ html += '';
}
html += '
';
});
@@ -198,9 +198,9 @@ import template from './libraryoptionseditor.template.html';
html += '';
html += '
';
if (i > 0) {
- html += ``;
+ html += ``;
} else if (plugins.length > 1) {
- html += ``;
+ html += ``;
}
html += '
';
}
@@ -237,9 +237,9 @@ import template from './libraryoptionseditor.template.html';
html += '';
html += '
';
if (i > 0) {
- html += '';
+ html += '';
} else if (plugins.length > 1) {
- html += '';
+ html += '';
}
html += '
';
}
diff --git a/src/components/listview/listview.js b/src/components/listview/listview.js
index 037d75de90..e6a6767e8a 100644
--- a/src/components/listview/listview.js
+++ b/src/components/listview/listview.js
@@ -166,7 +166,7 @@ import ServerConnections from '../ServerConnections';
for (let i = 0, length = options.rightButtons.length; i < length; i++) {
const button = options.rightButtons[i];
- html += ``;
+ html += ``;
}
return html;
@@ -257,7 +257,7 @@ import ServerConnections from '../ServerConnections';
}
if (!clickEntireItem && options.dragHandle) {
- html += '';
+ html += '';
}
if (options.image !== false) {
@@ -295,7 +295,7 @@ import ServerConnections from '../ServerConnections';
}
if (playOnImageClick) {
- html += '';
+ html += '';
}
const progressHtml = indicators.getProgressBarHtml(item, {
@@ -455,11 +455,11 @@ import ServerConnections from '../ServerConnections';
if (!clickEntireItem) {
if (options.addToListButton) {
- html += '';
+ html += '';
}
if (options.infoButton) {
- html += '';
+ html += '';
}
if (options.rightButtons) {
@@ -471,16 +471,16 @@ import ServerConnections from '../ServerConnections';
const likes = userData.Likes == null ? '' : userData.Likes;
if (itemHelper.canMarkPlayed(item) && options.enablePlayedButton !== false) {
- html += '';
+ html += '';
}
if (itemHelper.canRate(item) && options.enableRatingButton !== false) {
- html += '';
+ html += '';
}
}
if (options.moreButton !== false) {
- html += '';
+ html += '';
}
}
html += '
';
diff --git a/src/components/mediaLibraryCreator/mediaLibraryCreator.js b/src/components/mediaLibraryCreator/mediaLibraryCreator.js
index 86369b853e..889804bc9d 100644
--- a/src/components/mediaLibraryCreator/mediaLibraryCreator.js
+++ b/src/components/mediaLibraryCreator/mediaLibraryCreator.js
@@ -127,7 +127,7 @@ import template from './mediaLibraryCreator.template.html';
}
html += '';
- html += ``;
+ html += ``;
html += '';
return html;
}
diff --git a/src/components/mediaLibraryCreator/mediaLibraryCreator.template.html b/src/components/mediaLibraryCreator/mediaLibraryCreator.template.html
index c5571b54d2..27567590c9 100644
--- a/src/components/mediaLibraryCreator/mediaLibraryCreator.template.html
+++ b/src/components/mediaLibraryCreator/mediaLibraryCreator.template.html
@@ -1,5 +1,5 @@
-
+
${ButtonAddMediaLibrary}
@@ -20,7 +20,7 @@
${Folders}
diff --git a/src/components/mediaLibraryEditor/mediaLibraryEditor.js b/src/components/mediaLibraryEditor/mediaLibraryEditor.js
index dcb418f806..aaf0c1e550 100644
--- a/src/components/mediaLibraryEditor/mediaLibraryEditor.js
+++ b/src/components/mediaLibraryEditor/mediaLibraryEditor.js
@@ -119,7 +119,7 @@ import template from './mediaLibraryEditor.template.html';
}
html += '';
- html += ``;
+ html += ``;
html += '';
return html;
}
diff --git a/src/components/mediaLibraryEditor/mediaLibraryEditor.template.html b/src/components/mediaLibraryEditor/mediaLibraryEditor.template.html
index 732851d4af..22267e1c9c 100644
--- a/src/components/mediaLibraryEditor/mediaLibraryEditor.template.html
+++ b/src/components/mediaLibraryEditor/mediaLibraryEditor.template.html
@@ -1,5 +1,5 @@
-
+
@@ -13,7 +13,7 @@
${Folders}
diff --git a/src/components/mediainfo/mediainfo.js b/src/components/mediainfo/mediainfo.js
index 72255530b2..737d8a4624 100644
--- a/src/components/mediainfo/mediainfo.js
+++ b/src/components/mediainfo/mediainfo.js
@@ -13,7 +13,7 @@ import '../../elements/emby-button/emby-button';
let status;
if (item.Type === 'SeriesTimer') {
- return '';
+ return '';
} else if (item.TimerId || item.SeriesTimerId) {
status = item.Status || 'Cancelled';
} else if (item.Type === 'Timer') {
@@ -24,13 +24,13 @@ import '../../elements/emby-button/emby-button';
if (item.SeriesTimerId) {
if (status !== 'Cancelled') {
- return '';
+ return '';
}
- return '';
+ return '';
}
- return '';
+ return '';
}
function getProgramInfoHtml(item, options) {
@@ -358,7 +358,7 @@ import '../../elements/emby-button/emby-button';
if (item.CommunityRating) {
html += '
';
- html += '';
+ html += '';
html += item.CommunityRating.toFixed(1);
html += '
';
}
diff --git a/src/components/metadataEditor/metadataEditor.js b/src/components/metadataEditor/metadataEditor.js
index 10f2ae6cd2..ce2f27faad 100644
--- a/src/components/metadataEditor/metadataEditor.js
+++ b/src/components/metadataEditor/metadataEditor.js
@@ -460,7 +460,7 @@ import template from './metadataEditor.template.html';
html += '';
if (formatString) {
- html += '';
+ html += '';
}
html += '';
@@ -888,7 +888,7 @@ import template from './metadataEditor.template.html';
for (let i = 0; i < items.length; i++) {
html += '
';
- html += '';
+ html += '';
html += '
';
@@ -898,7 +898,7 @@ import template from './metadataEditor.template.html';
html += '
';
- html += '';
+ html += '';
html += '
';
}
@@ -935,7 +935,7 @@ import template from './metadataEditor.template.html';
html += '';
html += '';
- html += '';
+ html += '';
html += '';
}
diff --git a/src/components/metadataEditor/metadataEditor.template.html b/src/components/metadataEditor/metadataEditor.template.html
index 0f9c4516f7..a4a2413a07 100644
--- a/src/components/metadataEditor/metadataEditor.template.html
+++ b/src/components/metadataEditor/metadataEditor.template.html
@@ -1,18 +1,18 @@
diff --git a/src/components/multiSelect/multiSelect.js b/src/components/multiSelect/multiSelect.js
index e199fa7968..fe82788f6d 100644
--- a/src/components/multiSelect/multiSelect.js
+++ b/src/components/multiSelect/multiSelect.js
@@ -125,11 +125,11 @@ import itemHelper from '../itemHelper';
let html = '';
- html += '';
+ html += '';
html += '';
const moreIcon = 'more_vert';
- html += ``;
+ html += ``;
selectionCommandsPanel.innerHTML = html;
diff --git a/src/components/nowPlayingBar/nowPlayingBar.js b/src/components/nowPlayingBar/nowPlayingBar.js
index 3de6b6ec37..4277100168 100644
--- a/src/components/nowPlayingBar/nowPlayingBar.js
+++ b/src/components/nowPlayingBar/nowPlayingBar.js
@@ -59,13 +59,13 @@ import { appRouter } from '../appRouter';
// The onclicks are needed due to the return false above
html += '
';
- html += '';
+ html += '';
- html += '';
+ html += '';
- html += '';
+ html += '';
if (!layoutManager.mobile) {
- html += '';
+ html += '';
}
html += '';
@@ -73,23 +73,23 @@ import { appRouter } from '../appRouter';
html += '
';
- html += '';
+ html += '';
html += '
';
html += '';
html += '
';
- html += '';
- html += '';
+ html += '';
+ html += '';
html += '
';
html += '
';
- html += '';
+ html += '';
if (layoutManager.mobile) {
- html += '';
+ html += '';
} else {
- html += '';
+ html += '';
}
html += '
';
@@ -569,7 +569,7 @@ import { appRouter } from '../appRouter';
});
});
}
- nowPlayingUserData.innerHTML = '';
+ nowPlayingUserData.innerHTML = '';
});
}
} else {
diff --git a/src/components/playback/brightnessosd.js b/src/components/playback/brightnessosd.js
index a23fdc0b18..d3678ac3f4 100644
--- a/src/components/playback/brightnessosd.js
+++ b/src/components/playback/brightnessosd.js
@@ -15,7 +15,7 @@ let enableAnimation;
function getOsdElementHtml() {
let html = '';
- html += '';
+ html += '';
html += '
';
diff --git a/src/components/playback/volumeosd.js b/src/components/playback/volumeosd.js
index 6412a6e9a5..1c958a4225 100644
--- a/src/components/playback/volumeosd.js
+++ b/src/components/playback/volumeosd.js
@@ -16,7 +16,7 @@ let enableAnimation;
function getOsdElementHtml() {
let html = '';
- html += '';
+ html += '';
html += '
';
diff --git a/src/scripts/libraryBrowser.js b/src/scripts/libraryBrowser.js
index a928902cb4..7f9480ddae 100644
--- a/src/scripts/libraryBrowser.js
+++ b/src/scripts/libraryBrowser.js
@@ -96,20 +96,20 @@ export function getQueryPagingHtml (options) {
html += '
';
if (showControls) {
- html += '';
- html += '= totalRecordCount ? 'disabled' : '') + '>';
+ html += '';
+ html += '= totalRecordCount ? 'disabled' : '') + '>';
}
if (options.addLayoutButton) {
- html += '';
+ html += '';
}
if (options.sortButton) {
- html += '';
+ html += '';
}
if (options.filterButton) {
- html += '';
+ html += '';
}
html += '
';
diff --git a/src/scripts/libraryMenu.js b/src/scripts/libraryMenu.js
index ea74637839..f1146e4e5d 100644
--- a/src/scripts/libraryMenu.js
+++ b/src/scripts/libraryMenu.js
@@ -25,18 +25,18 @@ import Headroom from 'headroom.js';
let html = '';
html += '
';
html += '
';
- html += '';
- html += '';
- html += '';
+ html += '';
+ html += '';
+ html += '';
html += '';
html += '
';
html += '
';
- html += '';
+ html += '';
html += '';
- html += '';
- html += '';
- html += '';
- html += '';
+ html += '';
+ html += '';
+ html += '';
+ html += '';
html += '
';
html += '
';
html += '
';
@@ -156,7 +156,7 @@ import Headroom from 'headroom.js';
headerUserButton.innerHTML = '";
} else {
headerUserButton.classList.remove('headerUserButtonRound');
- headerUserButton.innerHTML = '';
+ headerUserButton.innerHTML = '';
}
}
@@ -272,7 +272,7 @@ import Headroom from 'headroom.js';
function refreshLibraryInfoInDrawer(user) {
let html = '';
html += '';
- html += '' + globalize.translate('Home') + '';
+ html += `${globalize.translate('Home')}`;
// placeholder for custom menu links
html += '';
@@ -285,8 +285,8 @@ import Headroom from 'headroom.js';
html += '
';
html += globalize.translate('HeaderAdmin');
html += '