struct Peridot::MPD

Included Modules

Defined in:

mpd.cr

Constructors

Instance Method Summary

Instance methods inherited from module MpdClient

albums : Array(Peridot::MPD::Library::Album) albums, artists : Array(Peridot::MPD::Library::Artist) artists, bit_rate : Int32 bit_rate, consume : Void consume, consume? : Bool consume?, current_song : Peridot::MPD::Library::Song | Nil current_song, decrease_volume : Void decrease_volume, elapsed_time : UInt32 elapsed_time, increase_volume : Void increase_volume, next : Void next, play(id : UInt32) : Void
play : Void
play
, playlist_load(name : String) : Void playlist_load, playlists : Array(String) playlists, previous : Void previous, queue_add(uri : String) : Void queue_add, queue_clear : Void queue_clear, queue_delete(pos : UInt32) : Void queue_delete, queue_length : UInt32 queue_length, queue_songs : Array(Peridot::MPD::Library::Song) queue_songs, random : Void random, random? : Bool random?, repeat : Void repeat, repeat? : Bool repeat?, seek_backward : Void seek_backward, seek_forward : Void seek_forward, single : Void single, single? : Bool single?, songs : Array(Peridot::MPD::Library::Song) songs, state : String | Nil state, stop : Void stop, toggle_pause : Void toggle_pause, total_time : UInt32 total_time, volume : Int32 volume

Constructor Detail

def self.new(host : String, port : Int32) #

[View source]

Instance Method Detail

def albums : Array(Peridot::MPD::Library::Album) #

[View source]
def artists : Array(Peridot::MPD::Library::Artist) #

[View source]
def bit_rate : Int32 #

rate is in kilobits


[View source]
def consume : Void #

[View source]
def consume? : Bool #

[View source]
def current_song : Peridot::MPD::Library::Song | Nil #

[View source]
def decrease_volume : Void #

[View source]
def elapsed_time : UInt32 #

[View source]
def increase_volume : Void #

[View source]
def library : Peridot::MPD::Library #

[View source]
def next : Void #

[View source]
def play(pos : UInt32) : Void #

[View source]
def play : Void #

[View source]
def playlist_load(name : String) : Void #

[View source]
def playlists : Array(String) #

[View source]
def previous : Void #

[View source]
def queue : Peridot::MPD::Queue #

[View source]
def queue_add(uri : String) : Void #

[View source]
def queue_clear : Void #

[View source]
def queue_delete(pos : UInt32) : Void #

[View source]
def queue_length : UInt32 #

[View source]
def queue_songs : Array(Peridot::MPD::Library::Song) #

[View source]
def random : Void #

[View source]
def random? : Bool #

[View source]
def repeat : Void #

[View source]
def repeat? : Bool #

[View source]
def seek_backward : Void #

[View source]
def seek_forward : Void #

[View source]
def single : Void #

[View source]
def single? : Bool #

[View source]
def songs : Array(Peridot::MPD::Library::Song) #

[View source]
def state : String | Nil #

[View source]
def stop : Void #

[View source]
def toggle_pause : Void #

[View source]
def total_time : UInt32 #

[View source]
def volume : Int32 #

[View source]