Files
@ 94039df5cdd9
Branch filter:
Location: light9/test/run_local.py - annotation
94039df5cdd9
707 B
text/x-python
create Playlist class which is now used in wavecurve, musicPad, and ascoltami2.
Ignore-this: da54d0239906e81ad5d95741d22f5975
Several other refactorings. Also, totally untested.
Ignore-this: da54d0239906e81ad5d95741d22f5975
Several other refactorings. Also, totally untested.
a6662d61ebcd a6662d61ebcd a6662d61ebcd a6662d61ebcd a6662d61ebcd a6662d61ebcd a6662d61ebcd a6662d61ebcd a6662d61ebcd a6662d61ebcd a6662d61ebcd a6662d61ebcd a6662d61ebcd a6662d61ebcd a6662d61ebcd a6662d61ebcd a6662d61ebcd a6662d61ebcd a6662d61ebcd a6662d61ebcd a6662d61ebcd a6662d61ebcd a6662d61ebcd a6662d61ebcd a6662d61ebcd | import shutil
import sys,os
sys.path.insert(0,os.path.join(os.path.dirname(__file__),".."))
os.environ['LIGHT9_SHOW'] = "_test_show"
try:
shutil.rmtree("_test_show")
except OSError:
pass
os.mkdir("_test_show")
f = open("_test_show/config.n3", "w")
f.write("""
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix : <http://light9.bigasterisk.com/> .
@prefix ch: <http://light9.bigasterisk.com/theater/skyline/channel/> .
@prefix dmx: <http://light9.bigasterisk.com/dmx/> .
ch:frontLeft a :Channel; rdfs:label "frontLeft"; :altName "b1"; :output dmx:c1 .
ch:frontRight a :Channel; rdfs:label "frontRight"; :output dmx:c2 .
dmx:c1 :dmxAddress 1 .
dmx:c2 :dmxAddress 2 .
""")
f.close()
|