Added movies column to html. Need to figure out the bg image issue.

This commit is contained in:
Pseudo Channel
2017-07-21 12:30:50 -07:00
parent 2d757ffceb
commit eae01ea8f1
3 changed files with 17 additions and 9 deletions

View File

@@ -32,7 +32,7 @@ class PseudoChannel():
self.db = PseudoChannelDatabase("pseudo-channel.db")
self.controller = PseudoDailyScheduleController()
self.controller = PseudoDailyScheduleController(baseurl, token, plexClients)
"""Database functions.

View File

@@ -4,7 +4,9 @@
<tuesdays></tuesdays>
<wednesdays></wednesdays>
<thursdays></thursdays>
<fridays></fridays>
<fridays>
<time title="Looney Tunes" type="series" strict-time="true" time-shift="1" overlap-max="">12:25 PM</time>
</fridays>
<saturdays></saturdays>
<sundays></sundays>
<weekends></weekends>

View File

@@ -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'):