more debug output (is goooood)
This commit is contained in:
parent
a8e0fc7da2
commit
f2e32764c0
1 changed files with 3 additions and 0 deletions
|
@ -10,6 +10,7 @@ import renderlib
|
||||||
import c3t_rpc_client as rpc
|
import c3t_rpc_client as rpc
|
||||||
|
|
||||||
print("C3TT preroll generator")
|
print("C3TT preroll generator")
|
||||||
|
renderlib.debug = True
|
||||||
|
|
||||||
if os.environ.get('CRS_TOKEN') is None or os.environ.get('CRS_SECRET') is None:
|
if os.environ.get('CRS_TOKEN') is None or os.environ.get('CRS_SECRET') is None:
|
||||||
print('CRS_TOKEN or CRS_SECRET is empty. did you source the tracker-scripts-profile?')
|
print('CRS_TOKEN or CRS_SECRET is empty. did you source the tracker-scripts-profile?')
|
||||||
|
@ -38,6 +39,8 @@ def generatePreroll(ticket):
|
||||||
task = project.ticket(ticket)
|
task = project.ticket(ticket)
|
||||||
task.outfile = os.path.join(ticket['Processing.Path.Intros'], ticket['Fahrplan.ID'] + '.dv')
|
task.outfile = os.path.join(ticket['Processing.Path.Intros'], ticket['Fahrplan.ID'] + '.dv')
|
||||||
task.workdir = os.path.join(os.getcwd(), projectname, 'artwork')
|
task.workdir = os.path.join(os.getcwd(), projectname, 'artwork')
|
||||||
|
|
||||||
|
print("rendering")
|
||||||
renderlib.rendertask(task)
|
renderlib.rendertask(task)
|
||||||
|
|
||||||
if hasattr(project, 'deploy'):
|
if hasattr(project, 'deploy'):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue