blob: 40b857345f57b07ff086dda75eaee65a32bc41ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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_())
|