mirror of
https://github.com/FakeTV/pseudo-channel.git
synced 2025-12-27 05:33:46 +00:00
Added movies column to html. Need to figure out the bg image issue.
This commit is contained in:
@@ -32,7 +32,7 @@ class PseudoChannel():
|
||||
|
||||
self.db = PseudoChannelDatabase("pseudo-channel.db")
|
||||
|
||||
self.controller = PseudoDailyScheduleController()
|
||||
self.controller = PseudoDailyScheduleController(baseurl, token, plexClients)
|
||||
|
||||
"""Database functions.
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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'):
|
||||
|
||||
Reference in New Issue
Block a user