summaryrefslogtreecommitdiff
path: root/attic/muse2-oom/muse2/share/pybridge/parter/main.py
diff options
context:
space:
mode:
authorRobert Jonsson <spamatica@gmail.com>2011-03-07 19:01:11 +0000
committerRobert Jonsson <spamatica@gmail.com>2011-03-07 19:01:11 +0000
commite40fc849149dd97c248866a4a1d026dda5e57b62 (patch)
treeb12b358f3b3a0608001d30403358f8443118ec5f /attic/muse2-oom/muse2/share/pybridge/parter/main.py
parent1bd4f2e8d9745cabb667b043171cad22c8577768 (diff)
clean3
Diffstat (limited to 'attic/muse2-oom/muse2/share/pybridge/parter/main.py')
-rw-r--r--attic/muse2-oom/muse2/share/pybridge/parter/main.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/attic/muse2-oom/muse2/share/pybridge/parter/main.py b/attic/muse2-oom/muse2/share/pybridge/parter/main.py
new file mode 100644
index 00000000..40b85734
--- /dev/null
+++ b/attic/muse2-oom/muse2/share/pybridge/parter/main.py
@@ -0,0 +1,26 @@
+import sys,time
+from PyQt4 import QtGui
+
+from parter import ParterMainwidget
+import sys, os
+import Pyro.core
+
+#import musemock
+#muse = musemock.MusEMock()
+muse=Pyro.core.getProxyForURI('PYRONAME://:Default.muse')
+"""
+strack = muse.getSelectedTrack()
+cpos = muse.getCPos()
+muse.importPart(strack, "/home/ddskmlg/.muse/parts/testpart2.mpt", cpos)
+sys.exit(0)
+"""
+
+
+if __name__ == '__main__':
+ app = QtGui.QApplication(sys.argv)
+ partsdir = os.getenv("HOME") + "/.muse/parts"
+ mainw = ParterMainwidget(None, muse, partsdir)
+ mainw.show()
+ #muse.importPart("Track 1","/home/ddskmlg/.muse/parts/testpart2.mpt",18432)
+ sys.exit(app.exec_())
+