Method: MPD#playid
- Defined in:
- lib/librmpd.rb
#playid(songid = nil) ⇒ Object
Begin playing the playlist. Optionally specify the songid to start on
Returns true if successful, Raises a RuntimeError if the command failed
749 750 751 752 753 754 755 |
# File 'lib/librmpd.rb', line 749 def playid( songid = nil ) if not songid.nil? return(send_command("playid #{songid}")) else return(send_command('playid')) end end |