Files @ dc35587fbbb6
Branch filter:

Location: light9/bin/listsongs - annotation

Drew Perttula
hack up the window-save-position code to try to ignore automatic size changes at start
Ignore-this: c563fa4e2f0a42444afd5ad223e84cb9
#!bin/python

"""for completion, print the available song uris on stdout

in .zshrc:

function _songs { local expl;  _description files expl 'songs';  compadd "$expl[@]" - `${LIGHT9_SHOW}/../../bin/listsongs` }
compdef _songs curvecalc
"""

import run_local
from light9 import showconfig
from light9.namespaces import L9
from rdflib import RDF
graph = showconfig.getGraph()

for song in graph.subjects(RDF.type, L9['Song']):
    print song