27Nov/110
Example ICE script for Mumble using Python
I just wanted to throw this code example out. I search for a simple description of getting this setup and failed... Good luck, hope this helps.
#!/usr/bin/python
import Ice
Ice.loadSlice("Murmur.ice")
import Murmur
# Init ice
comm = Ice.initialize()
# Let Ice know where to go to connect to mumble
proxy = comm.stringToProxy("Meta:tcp -p 6502")
# Create a dynamic object that allows us to get a programmable interface for Mumble
meta = Murmur.MetaPrx.checkedCast(proxy)
# Get the server instance from the set of servers.
server = meta.getServer(1)
# Get a list of all channels
channels = server.getChannels()
# Get a list of all users
users = server.getUsers()
# Change a user's channel
users[0].channel = 2
server.setState(users[0]);