changeset 649:84c0a3bf07ed

webcontrol remove hardcoded show Ignore-this: 4d42e9c0e07649b2e076b2d1fcb1eacc
author Drew Perttula <drewp@bigasterisk.com>
date Sat, 18 Jun 2011 05:12:23 +0000
parents 365ca8d7476f
children e914033c56de
files bin/webcontrol
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/webcontrol	Sat Jun 18 05:12:14 2011 +0000
+++ b/bin/webcontrol	Sat Jun 18 05:12:23 2011 +0000
@@ -70,7 +70,6 @@
         return [pic, ctx.arg('status') or 'ready']
 
     def render_songButtons(self, ctx, data):
-        show = URIRef("http://light9.bigasterisk.com/show/dance2009") # ?
         playList = graph.value(show, L9['playList'])
         songs = list(graph.items(playList))
         out = []
@@ -108,6 +107,7 @@
         return static.File("/usr/share/pyshared/elisa/plugins/poblesec/tango")
             
 graph = showconfig.getGraph()
+show = showconfig.showUri()
 
 log.startLogging(sys.stdout)