From a85ef16e99f991a6e484232166970c9e07b91605 Mon Sep 17 00:00:00 2001 From: Bill Thornton Date: Thu, 31 Mar 2022 09:56:40 -0400 Subject: [PATCH] Remove broken method of registering routes for plugins --- src/components/pluginManager.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/components/pluginManager.js b/src/components/pluginManager.js index 5281e4d46f..2858497fb3 100644 --- a/src/components/pluginManager.js +++ b/src/components/pluginManager.js @@ -29,22 +29,9 @@ import confirm from '../components/confirm/confirm'; }); } - #definePluginRoute(route, plugin) { - route.contentPath = this.mapPath(plugin, route.path); - route.path = this.#mapRoute(plugin, route); - - Emby.App.defineRoute(route, plugin.id); - } - async #registerPlugin(plugin) { this.#register(plugin); - if (plugin.getRoutes) { - plugin.getRoutes().forEach((route) => { - this.#definePluginRoute(route, plugin); - }); - } - if (plugin.type === 'skin') { // translations won't be loaded for skins until needed return plugin;