From af38a136ec736e095e1c44710245db4825cde76f Mon Sep 17 00:00:00 2001 From: dkanada Date: Mon, 20 Jan 2020 10:14:25 +0900 Subject: [PATCH] fix xmltv strings and remove broken tv guide sources --- src/controllers/livetvstatus.js | 19 +++---------------- src/livetvguideprovider.html | 8 ++------ 2 files changed, 5 insertions(+), 22 deletions(-) diff --git a/src/controllers/livetvstatus.js b/src/controllers/livetvstatus.js index c25487fd32..72d50a25a3 100644 --- a/src/controllers/livetvstatus.js +++ b/src/controllers/livetvstatus.js @@ -187,16 +187,12 @@ define(["jQuery", "globalize", "scripts/taskbutton", "dom", "libraryMenu", "layo switch (providerId = providerId.toLowerCase()) { case "m3u": return "M3U"; - case "hdhomerun": - return "HDHomerun"; - + return "HDHomeRun"; case "hauppauge": return "Hauppauge"; - case "satip": return "DVB"; - default: return "Unknown"; } @@ -206,13 +202,8 @@ define(["jQuery", "globalize", "scripts/taskbutton", "dom", "libraryMenu", "layo switch (providerId = providerId.toLowerCase()) { case "schedulesdirect": return "Schedules Direct"; - case "xmltv": - return "Xml TV"; - - case "emby": - return "Emby Guide"; - + return "XMLTV"; default: return "Unknown"; } @@ -222,12 +213,8 @@ define(["jQuery", "globalize", "scripts/taskbutton", "dom", "libraryMenu", "layo switch (providerId = providerId.toLowerCase()) { case "xmltv": return "livetvguideprovider.html?type=xmltv"; - case "schedulesdirect": return "livetvguideprovider.html?type=schedulesdirect"; - - case "emby": - return "livetvguideprovider.html?type=emby"; } } @@ -238,7 +225,7 @@ define(["jQuery", "globalize", "scripts/taskbutton", "dom", "libraryMenu", "layo id: "SchedulesDirect" }); menuItems.push({ - name: "Xml TV", + name: "XMLTV", id: "xmltv" }); diff --git a/src/livetvguideprovider.html b/src/livetvguideprovider.html index 86bf3ea7d6..d0d52aac23 100644 --- a/src/livetvguideprovider.html +++ b/src/livetvguideprovider.html @@ -1,11 +1,7 @@
-
- -
- -
+
-
\ No newline at end of file +