class Tidal::API::Player

Defined in:

api/player.cr

Constant Summary

DEFAULT_ARGS = ["--input-ipc-server=/tmp/cr-mpv.sock", "--idle", "--no-video", "--no-audio-display", "--really-quiet"]

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def load_track(url, mode = "replace") #

[View source]
def pause #

[View source]
def play #

[View source]
def playing? : Bool #

[View source]
def socket : UNIXSocket #

[View source]