Setup script and updates for python 3 migration

Most updates related to adding install script and schedule generator for first install
This commit is contained in:
Moe Fwacky
2021-02-21 14:40:15 -08:00
committed by GitHub
parent 3e64e90d03
commit 82e056b99a
4 changed files with 100 additions and 28 deletions

View File

@@ -666,11 +666,18 @@ class PseudoChannel():
for key, val in weekday_dict.items():
if str(entry[7]) in str(val) and int(weekno) == int(key):
if section == "TV Shows":
minmax = entry[4].split(",")
min = int(minmax[0])
min = min * 60000
max = int(minmax[1])
max = max * 60000
try:
minmax = entry[4].split(",")
min = int(minmax[0])
min = min * 60000
max = int(minmax[1])
max = max * 60000
except:
minmax = entry[4]
min = int(minmax)
min = min * 60000
max = int(minmax)
max = max * 60000
if str(entry[3]).lower() == "random":
sections = self.PLEX.library.sections()
shows_list = []