diff --git a/engine/api.py b/engine/api.py index cbf10c5..129de50 100644 --- a/engine/api.py +++ b/engine/api.py @@ -277,8 +277,8 @@ def updatePlayback(): #TODO: use template.sequencer.py internal updates instead cbox.Document.get_song().update_playback() -def startEngine(nsmClient): - _templateStartEngine(nsmClient) #loads save files or creates empty structure. +def startEngine(nsmClient, additionalData:dict={}): + _templateStartEngine(nsmClient, additionalData) #loads save files or creates empty structure. session.inLoopMode = None # remember if we are in loop mode or not. Positive value is None or a tuple with start and end diff --git a/engine/config.py b/engine/config.py index d1d824b..9d540fc 100644 --- a/engine/config.py +++ b/engine/config.py @@ -3,7 +3,7 @@ #Do not change these during runtime! -METADATA={ +METADATA = { #The pretty name of this program. Used for NSM display and Jack client name #Can contain everything a linux file/path supports. Never change this or it will break the #session, making your file unable to load and destroying saved Jack connections. @@ -61,5 +61,5 @@ musical notes. Switch the patterns on and off in a sequence to create a song str Connect external synthesizers and samplers to create sounds. """, - "dependencies" : "\n".join("* "+dep for dep in ()), + "dependencies" : "\n".join("* "+dep for dep in ("",)), #the tuple in the end should be strings. This is for the manual, not for automatic packaging. }