Murmur

A ruby client for controlling and querying the Mumble server (Murmur)

Installation

Install it from RubyGems:

gem install murmur

Or add it to a Gemfile:

gem 'murmur'

Usage

Configuration:

require 'murmur'

Murmur.client(
    :host => '127.0.0.1', # The host of the Murmur server.
    :port => '6502', # The port of the Murmur server.
    :glacier_user => '', # The user (if using Glacier2)
    :glacier_pass => '', # The password (if using Glacier2)
    :ice_secret => '') # The Ice secret.

Examples:

# Get a server
Murmur.server 1

# Create a new server
Murmur.new_server(:registername => "Server name")

# Get the channels of a server
server = Murmur.server 1
server.channels

# Get a specific channel of a server
server = Murmur.server 1
server.channel 1

# Change the name of a channel
server = Murmur.server 1
channel = server.channel 1
channel.name = "New name!"

# Get the clients of a server
server = Murmur.server 1
users = server.users

# Change a user's name
server = Murmur.server 1
user = server.users.first
user.name = "New name!"

The #raw function on Murmur::API objects will return the raw Murmur object, allowing calling of unimplemented functions.