archseer/ruby-mpd

error in playlist.rb method move

Closed this issue · 0 comments

msym commented

hi, thank you for this gem
i got error when try to move song in playlist
there are not enough params (songid and songpos) in @mpd.send_command

def move(songid, songpos)
- @mpd.send_command :playlistmove, @name
+ @mpd.send_command :playlistmove, @name, songid, songpos
end