Changeset - 581dfd11d9fd
[Not reviewed]
default
0 1 0
drewp@bigasterisk.com - 15 years ago 2010-06-11 07:13:50
drewp@bigasterisk.com
-v for old ascoltami
Ignore-this: 4479304616f754efc7f352d3a58f6307
1 file changed with 5 insertions and 0 deletions:
0 comments (0 inline, 0 general)
bin/ascoltami
Show inline comments
 
@@ -513,15 +513,20 @@ class ControlButtons(tk.Frame):
 

	
 
def main():
 
    global graph
 
    parser = OptionParser()
 
    parser.add_option('--show',
 
        help='show URI, like http://light9.bigasterisk.com/show/dance2008')
 
    parser.add_option("-v", "--verbose", action="store_true",
 
                      help="logging.DEBUG")
 
    graph = showconfig.getGraph()
 
    (options, songfiles) = parser.parse_args()
 

	
 
    if options.verbose:
 
        log.setLevel(logging.DEBUG)
 
        
 
    if len(songfiles)<1:
 
        graph = showconfig.getGraph()
 
        if not options.show:
 
            raise ValueError("missing --show http://...")
 
        playList = graph.value(URIRef(options.show), L9['playList'])
 
        if not playList:
0 comments (0 inline, 0 general)