diff --git a/src/appservices.html b/src/appservices.html deleted file mode 100644 index 43f37a0980..0000000000 --- a/src/appservices.html +++ /dev/null @@ -1,21 +0,0 @@ -
- -
-
- -
- -
-

${HeaderInstalledServices}

- ${Help} -
- -
-
-
-

${HeaderAvailableServices}

-
-
-
-
-
\ No newline at end of file diff --git a/src/dashboard/livetvtuner.js b/src/dashboard/livetvtuner.js index b32e01b2d2..5ded7e6bf4 100644 --- a/src/dashboard/livetvtuner.js +++ b/src/dashboard/livetvtuner.js @@ -74,16 +74,6 @@ define(["globalize", "loading", "libraryMenu", "dom", "emby-input", "emby-button }) } - function getTabs() { - return [{ - href: "livetvstatus.html", - name: globalize.translate("TabDevices") - }, { - href: "appservices.html?context=livetv", - name: globalize.translate("TabServices") - }] - } - function onTypeChange() { var value = this.value, view = dom.parentWithClass(this, "page"), diff --git a/src/livetvstatus.html b/src/livetvstatus.html index 281c1e7a97..f6a0c8aeb2 100644 --- a/src/livetvstatus.html +++ b/src/livetvstatus.html @@ -1,11 +1,7 @@ -
- +
- -
-

@@ -31,8 +27,8 @@
-
+
diff --git a/src/livetvtuner.html b/src/livetvtuner.html index 47fd5e2b26..71ddde77d7 100644 --- a/src/livetvtuner.html +++ b/src/livetvtuner.html @@ -1,8 +1,6 @@ -
- +
-
@@ -47,6 +45,7 @@
${ImportFavoriteChannelsHelp}
+
${AllowHWTranscodingHelp}
+
${EnableStreamLoopingHelp}
+

${DrmChannelsNotImported}

${ForAdditionalLiveTvOptions}


diff --git a/src/notificationsettings.html b/src/notificationsettings.html index 279e1bc565..e0747c34b3 100644 --- a/src/notificationsettings.html +++ b/src/notificationsettings.html @@ -1,13 +1,9 @@ -
- +
-
-
-
diff --git a/src/scripts/appservices.js b/src/scripts/appservices.js deleted file mode 100644 index 03ec8225bf..0000000000 --- a/src/scripts/appservices.js +++ /dev/null @@ -1,56 +0,0 @@ -define(["loading", "libraryMenu"], function(loading, libraryMenu) { - "use strict"; - - function reloadList(page) { - loading.show(); - var promise1 = ApiClient.getAvailablePlugins({ - TargetSystems: "Server" - }), - promise2 = ApiClient.getInstalledPlugins(); - Promise.all([promise1, promise2]).then(function(responses) { - renderInstalled(page, responses[0], responses[1]), renderCatalog(page, responses[0], responses[1]) - }) - } - - function getCategories() { - var context = getParameterByName("context"), - categories = []; - return "sync" == context ? categories.push("Sync") : "livetv" == context ? categories.push("Live TV") : "notifications" == context && categories.push("Notifications"), categories - } - - function renderInstalled(page, availablePlugins, installedPlugins) { - requirejs(["scripts/pluginspage"], function() { - var category = getCategories()[0]; - installedPlugins = installedPlugins.filter(function(i) { - var catalogEntry = availablePlugins.filter(function(a) { - return (a.guid || "").toLowerCase() == (i.Id || "").toLowerCase() - })[0]; - return !!catalogEntry && catalogEntry.category == category - }), PluginsPage.renderPlugins(page, installedPlugins) - }) - } - - function renderCatalog(page, availablePlugins, installedPlugins) { - requirejs(["scripts/plugincatalogpage"], function() { - var categories = getCategories(); - PluginCatalog.renderCatalog({ - catalogElement: page.querySelector(".catalog"), - availablePlugins: availablePlugins, - installedPlugins: installedPlugins, - categories: categories, - showCategory: !1, - context: getParameterByName("context"), - targetSystem: "Server" - }) - }) - } - - function onPageShow() { - var page = this, - context = getParameterByName("context"); - "sync" == context ? (libraryMenu.setTitle(Globalize.translate("TitleSync")), page.querySelector(".headerHelpButton").setAttribute("href", "https://web.archive.org/web/20181216120305/https://github.com/MediaBrowser/Wiki/wiki/Sync")) : "livetv" == context ? (libraryMenu.setTitle(Globalize.translate("TitleLiveTV")), page.querySelector(".headerHelpButton").setAttribute("href", "https://web.archive.org/web/20181216120305/https://github.com/MediaBrowser/Wiki/wiki/Live-TV")) : "notifications" == context && (libraryMenu.setTitle(Globalize.translate("TitleNotifications")), page.querySelector(".headerHelpButton").setAttribute("href", "https://web.archive.org/web/20181216120305/https://github.com/MediaBrowser/Wiki/wiki/Notifications")) - } - pageIdOn("pagebeforeshow", "appServicesPage", onPageShow), pageIdOn("pageshow", "appServicesPage", onPageShow), pageIdOn("pageshow", "appServicesPage", function() { - reloadList(this) - }) -}); \ No newline at end of file diff --git a/src/scripts/livetvstatus.js b/src/scripts/livetvstatus.js index 96f7b3dd91..1beb1a9c69 100644 --- a/src/scripts/livetvstatus.js +++ b/src/scripts/livetvstatus.js @@ -188,16 +188,6 @@ define(["jQuery", "globalize", "scripts/taskbutton", "dom", "libraryMenu", "layo Dashboard.navigate("livetvtuner.html") } - function getTabs() { - return [{ - href: "livetvstatus.html", - name: globalize.translate("TabDevices") - }, { - href: "appservices.html?context=livetv", - name: globalize.translate("TabServices") - }] - } - function showDeviceMenu(button, tunerDeviceId) { var items = []; items.push({ diff --git a/src/scripts/notificationsettings.js b/src/scripts/notificationsettings.js index b0c8bfe573..173db03bca 100644 --- a/src/scripts/notificationsettings.js +++ b/src/scripts/notificationsettings.js @@ -13,15 +13,6 @@ define(["loading", "libraryMenu", "globalize", "listViewStyle", "emby-linkbutton }) } - function getTabs() { - return [{ - href: "notificationsettings.html", - name: globalize.translate("TabNotifications") - }, { - href: "appservices.html?context=notifications", - name: globalize.translate("TabServices") - }] - } return function(view, params) { view.addEventListener("viewshow", function() { libraryMenu.setTabs("notifications", 0, getTabs), reload(view) diff --git a/src/scripts/site.js b/src/scripts/site.js index 2d6c15b1eb..c012caba9e 100644 --- a/src/scripts/site.js +++ b/src/scripts/site.js @@ -423,11 +423,6 @@ var Dashboard = { autoFocus: !1, roles: "admin", controller: "scripts/addpluginpage" - }), defineRoute({ - path: "/appservices.html", - dependencies: [], - autoFocus: !1, - roles: "admin" }), defineRoute({ path: "/autoorganizelog.html", dependencies: [],