diff --git a/PseudoChannel.py b/PseudoChannel.py
index 43c72d5..2eea45e 100644
--- a/PseudoChannel.py
+++ b/PseudoChannel.py
@@ -32,7 +32,7 @@ class PseudoChannel():
self.db = PseudoChannelDatabase("pseudo-channel.db")
- self.controller = PseudoDailyScheduleController()
+ self.controller = PseudoDailyScheduleController(baseurl, token, plexClients)
"""Database functions.
diff --git a/pseudo_schedule.xml b/pseudo_schedule.xml
index 191e17d..390508f 100644
--- a/pseudo_schedule.xml
+++ b/pseudo_schedule.xml
@@ -4,7 +4,9 @@
-
+
+
+
diff --git a/src/PseudoDailyScheduleController.py b/src/PseudoDailyScheduleController.py
index 9ffda36..9ac046c 100644
--- a/src/PseudoDailyScheduleController.py
+++ b/src/PseudoDailyScheduleController.py
@@ -8,19 +8,17 @@ import os, sys
import logging
import logging.handlers
-from pseudo_config import *
-
class PseudoDailyScheduleController():
- PLEX = PlexServer(baseurl, token)
+ def __init__(self, server, token, clients):
- BASE_URL = baseurl
+ self.PLEX = PlexServer(server, token)
- TOKEN = token
+ self.BASE_URL = server
- PLEX_CLIENTS = plexClients
+ self.TOKEN = token
- def __init__(self):
+ self.PLEX_CLIENTS = clients
self.my_logger = logging.getLogger('MyLogger')
self.my_logger.setLevel(logging.DEBUG)
@@ -113,6 +111,8 @@ class PseudoDailyScheduleController():
with tag('tr'):
with tag('th'):
text('#')
+ with tag('th'):
+ text('Type')
with tag('th'):
text('Series')
with tag('th'):
@@ -135,6 +135,8 @@ class PseudoDailyScheduleController():
with tag('tr'):
with tag('th', scope='row'):
text(numberIncrease)
+ with tag('td'):
+ text(row[11])
with tag('td'):
text(row[6])
with tag('td'):
@@ -148,6 +150,8 @@ class PseudoDailyScheduleController():
with tag('th', scope='row'):
text(numberIncrease)
+ with tag('td'):
+ text(row[11])
with tag('td'):
text(row[6])
with tag('td'):
@@ -160,6 +164,8 @@ class PseudoDailyScheduleController():
with tag('tr'):
with tag('th', scope='row'):
text(numberIncrease)
+ with tag('td'):
+ text(row[11])
with tag('td'):
text(row[6])
with tag('td'):