blob: 4a875864f81444ec1d580d143705ee42b01c28d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
from config import Config
import pymumble_py3 as pymumble
from ampache.client import AmpacheClient
# def main():
# example_bot = pymumble.Mumble('192.168.15.18', 'ampache', password='cultoblandonianoEXTREME', certfile='../ampache.pem', keyfile='../ampachekey.pem',
# reconnect=True, stereo=True)
# example_bot.set_application_string('ampache-client')
# example_bot.start()
# example_bot.is_ready()
# example_bot.set_loop_rate(.01)
# while True:
# continue
def main():
config = Config('../example.cfg')
client = AmpacheClient('https://music.silosneeded.com', '4dee7fe5554cf581a3f69ea023ea378a', 53200)
return 0
if __name__ == '__main__':
main()
|