ruby-mpd icon indicating copy to clipboard operation
ruby-mpd copied to clipboard

ruby-mpd is a powerful object-oriented Music Player Daemon library, forked from librmpd.

Results 19 ruby-mpd issues
Sort by recently updated
recently updated
newest added

Implements command lists in a manner that (a) allows various results to be interleaved and still return the correct types, and (b) allows playlist objects to be used directly in...

mpc like toggle command seems to be unsupported, would be a good addition. "mpc toggle Toggles Play/Pause, plays if stopped"

`mpc` has a feature to insert a song at a specific position, is this available here as well?

First of all, thanks for this library. It's been terrific for scripting with. I just came across the bug in #62, but the last release was back in 2015 (and...

When using the add command (in a queue) with a valid stream URL (both m3u or mp3), this error is shown : [] No database . How can I fix...

# Code ``` ruby require "pp" require "ruby-mpd" mpd = MPD.new mpd.connect begin playlist = MPD::Playlist.new(mpd, "Example") playlist.add("http://uk1.internet-radio.com:8106/listen.pls") pp playlist.songs ensure mpd.disconnect end ``` ## Output ``` Files inside Playlist...

Any idea why I would always get an empty string when using mpd.songs. When using ympd it shows a database, and mpd stats even report back that it has songs....

# Example ``` ruby require "ruby-mpd" mpd = MPD.new mpd.connect begin playlist = MPD::Playlist.new(mpd, "70s") playlist.add("http://us1.internet-radio.com:8180/listen.pls") mpd.playlists.first.destroy ensure mpd.disconnect end ``` # Error ``` /home/jan/.rvm/gems/ruby-2.3.0/gems/ruby-mpd-0.3.3/lib/ruby-mpd.rb:274:in `handle_server_response': [rm] No such playlist...

Command List support. In short: ``` ruby # Do not parse response (for speed) @mpd.command_list do add song volume 50 shuffle end # Array of values from each response line...