#Script executed but playout empty

1 messages · Page 1 of 1 (latest)

full elk
#

9/6/2025 12:17:52 PM Debug Playout 91 does not have subtitles enabled; nothing to extract
9/6/2025 12:17:52 PM Debug Added search query tag: Notables with key FILLER and order "Shuffle"
9/6/2025 12:17:52 PM Debug Added search query tag: Featured with key FEATURED and order "Shuffle"
9/6/2025 12:17:51 PM Information Building scripted playout /app/scripted-schedules/entrypoint.py with arguments ["http://localhost:8409","9dc65120-751b-422a-bb87-52e4882ae96a","reset","test"]

The script appears to have been executed but the playout is empty

neat ridge
#

if your reset_playout is just pass - there was a breaking change (it expected it to return context). i have a build going that should automatically get the updated context if one isn't returned. the context contains the current time, so if you do anything that changes the current time in reset, it's important that the build starts with the updated context

full elk
#
def define_content(api_instance, context, build_id):
    api_instance.add_search(build_id, {'key': 'FEATURED', 'query': 'tag: Featured', 'order': 'shuffle'})
    api_instance.add_search(build_id, {'key': 'FILLER', 'query': 'tag: Notables', 'order': 'shuffle'})

def reset_playout(api_instance, context, build_id):
    pass

def build_playout(api_instance, context, build_id):
    while not context.is_done:
        context = api_instance.add_count(build_id, {'content': 'FEATURED', 'count': 5})
        context = api_instance.add_count(build_id, {'content': 'FILLER', 'count': 1})```
neat ridge
#

yeah just wait for the next build

full elk
#

ok thanks

neat ridge
#

ok if you update it should just work again