class MPDClient

Defined in:

mpd_client.cr

Constructors

Macro Summary

Instance Method Summary

Constructor Detail

def self.new(sockets : Array(HTTP::WebSocket), mpd_host : String, mpd_port : Int32) #

[View source]

Macro Detail

macro method_missing(call) #

[View source]

Instance Method Detail

def client : MPD::Client #

[View source]
def set_song_position(relative : Float64) #

relative - from 0 to 1


[View source]
def toggle_mode(mode) #

[View source]
def toggle_play_pause #

[View source]