Ruby MPD client
Yet another ruby mpd client.
This gem is for my own usage (practicing my programming skills). But I would be glad to know if you found it useful.
See on rubydoc
It does not do much
require 'ruby-mpd-client' ::::.(host: 'localhost') # :host can be ommited .execute(75) ::::.. # # to use one connection # conn = ::.(host: 'localhost', port: 6600) conn.connect conn.gets # first MPD response is always "OK <version>\n" ::::.(connection: conn). ::::.(connection: conn).
For available commands see
MPD::Comands subclasses on
Bug reports and pull requests are welcome on GitHub at https://github.com/Nondv/ruby-mpd-client.
The gem is available as open source under the terms of the MIT License.