summaryrefslogtreecommitdiff
path: root/attic/muse2-oom/muse2/share/pybridge/musepclient.py
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2011-09-27 16:08:57 +0000
committerFlorian Jung <flo@windfisch.org>2011-09-27 16:08:57 +0000
commite9e38901f1b0c8b0d4c11f6de37abf7ff6c7234f (patch)
tree6db56ee33fda6adce28afc456c4fd84b56180453 /attic/muse2-oom/muse2/share/pybridge/musepclient.py
parent5c2eaaf143f517e1a4d52e243a761e479aeb3e5b (diff)
parentd52fac00567bb85944188f3c946b86b2a420819c (diff)
merged with trunk
Diffstat (limited to 'attic/muse2-oom/muse2/share/pybridge/musepclient.py')
-rw-r--r--attic/muse2-oom/muse2/share/pybridge/musepclient.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/attic/muse2-oom/muse2/share/pybridge/musepclient.py b/attic/muse2-oom/muse2/share/pybridge/musepclient.py
deleted file mode 100644
index dc87e4e8..00000000
--- a/attic/muse2-oom/muse2/share/pybridge/musepclient.py
+++ /dev/null
@@ -1,17 +0,0 @@
-#
-# Example client for MusE Pyro bridge (Python Remote Object)
-#
-import Pyro.core
-import time
-
-muse=Pyro.core.getProxyForURI('PYRONAME://:Default.muse')
-print "Current position is: " + str(muse.getCPos())
-muse.startPlay()
-time.sleep(1) # Sleep one second
-muse.stopPlay()
-print "New position is: " + str(muse.getCPos())
-muse.rewindStart()
-print "Pos after rewind is: " + str(muse.getCPos())
-print "Lpos, Rpos: " + str(muse.getLPos()) + ":" + str(muse.getRPos())
-
-