Mercurial > code > home > repos > light9
diff bin/ascoltami2 @ 623:46d319974176
move networking settings to config.n3
Ignore-this: 42a6390f9354a171c4d43e1c65a551ca
author | drewp@bigasterisk.com |
---|---|
date | Wed, 15 Jun 2011 05:30:19 +0000 |
parents | 9ec0396c6f1f |
children | 865532790e62 |
line wrap: on
line diff
--- a/bin/ascoltami2 Wed Jun 15 05:30:00 2011 +0000 +++ b/bin/ascoltami2 Wed Jun 15 05:30:19 2011 +0000 @@ -42,7 +42,7 @@ parser = optparse.OptionParser() parser.add_option('--show', - help='show URI, like http://light9.bigasterisk.com/show/dance2008') + help='show URI, like http://light9.bigasterisk.com/show/dance2008', default=showconfig.showUri()) parser.add_option("-v", "--verbose", action="store_true", help="logging.DEBUG") (options, args) = parser.parse_args() @@ -54,5 +54,4 @@ graph = showconfig.getGraph() app = App(graph, URIRef(options.show)) - musicPort = networking.musicPort() - app.run(musicPort) + app.run(networking.musicPlayer.port)