Sha256: 1de0ede4d415ee84e6b836bfdcbc80036a06a48b3bc6a5ba516dcea95fa6645c

Contents?: true

Size: 297 Bytes

Versions: 3

Compression:

Stored size: 297 Bytes

Contents

# frozen_string_literal: true

require 'bundler'
Bundler.setup :default

require 'logger'
require 'mpd_client'

MPD::Client.log = Logger.new($stderr)

client = MPD::Client.new
client.connect('localhost', 6600)

puts client.stats
puts client.status
puts client.currentsong
puts client.playlistinfo

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
mpd_client-0.3.0 examples/client.rb
o-mpd_client-0.2.0.1 examples/client.rb
mpd_client-0.2.0 examples/client.rb