view flax/textcues_to_cuelist @ 2405:69ca2b2fc133

overcomplicated attempt at persisting the pane layout in the rdf graph this was hard because we have to somehow wait for the graph to load before config'ing the panes
author drewp@bigasterisk.com
date Fri, 17 May 2024 16:58:26 -0700
parents 45b12307c695
children
line wrap: on
line source

#!/usr/bin/env python

import sys
from CueFaders import CueList, Cue

cuelist = CueList('cues/dolly')

for line in sys.stdin.readlines():
    line = line.strip()
    if not line:
        continue
    page, name = line.split(' ', 1)
    print page, '|', name
    newcue = Cue(name)
    newcue.page = page
    cuelist.add_cue(newcue)