All work

Production tech

Turning Planning Center service plans into lighting cues

Ruby tooling that reads a church's Planning Center service plan and builds the Obsidian Onyx lighting cue list and Companion button pages for that Sunday.

Goodlettsville Pentecostal Church · Production · 2023 – present

The problem

Every Sunday’s service is planned in Planning Center: the songs, the order, the transitions. Lighting was built by hand from that plan each week, one cue at a time, and the Stream Deck pages that drive ProPresenter had to be lined up with it too.

What I built

  1. Planning Centernext plan and its items
  2. Convertsongs to cues, headers to sections
  3. service.jsonhand-editable
  4. Onyx databasecue list imported
  5. Companionbutton pages written

Building the run sheet

A sketch of the idea, not the production code.

fn plan_run_sheet(service_type, plan):
    items = pco.get(plan.items, include = [song, arrangement, key, item_notes])
    clock = -sum(i.length for i in items if i.service_position == "pre")
    sheet = []
    for item in items.sort_by(sequence):
        row = {title: item.title, starts_at: clock, length: item.length}
        if item.type == "song":
            row.arrangement = item.arrangement.name
            row.key = item.key.starting_key
        sheet.append(row)
        clock += item.length
    return sheet

fn to_show(sheet):
    for row in sheet where row.position == "during":
        case row.type:
            "header" -> show.start_section(row.title)
            "song"   -> show.cue(row.title + " - " + row.author, macros = look_for(row))
            else     -> show.cue(row.title)

Twelve years of plans

I pulled these from the church’s Planning Center account in December 2026, read-only and with no information about people.

Why it matters

The show is built straight from the plan instead of by hand, and the lights, the slides and the buttons all come from the same source, so they can’t disagree.

Stack

Links