[TIDY] Refactor renderlib into two parts

Most of the make scripts only need the schedule part of the renderlib.
The schedule part has way less dependencies (e.g. no ImageMagick), so
those scripts can be used without them now.
This commit is contained in:
Jannik Beyerstedt 2023-10-22 20:59:53 +02:00
parent 85bf295be6
commit 909bf79673
8 changed files with 146 additions and 130 deletions

View file

@ -320,7 +320,7 @@ def debug():
def tasks(queue, args, idlist, skiplist):
# iterate over all events extracted from the schedule xml-export
for event in renderlib.events(scheduleUrl):
for event in schedulelib.events(scheduleUrl):
if not (idlist == []):
if 000000 in idlist:
print("skipping id (%s [%s])" % (event["title"], event["id"]))