14 lines
327 B
Python
Executable File
14 lines
327 B
Python
Executable File
#coding:utf8
|
|
import thread
|
|
|
|
from twisted.internet import reactor
|
|
from syncplay import client
|
|
from syncplay.players import mpc
|
|
|
|
from syncplay import utils
|
|
|
|
if __name__ == '__main__':
|
|
args = utils.get_configuration()
|
|
manager = client.Manager(args.host, args.port, args.name, lambda m: mpc.run_mpc(m))
|
|
manager.start()
|