summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libmpd/playbackcontrol.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpd/playbackcontrol.rb b/libmpd/playbackcontrol.rb
index 8c47f0b..a9a3d96 100644
--- a/libmpd/playbackcontrol.rb
+++ b/libmpd/playbackcontrol.rb
@@ -33,7 +33,7 @@ module MPDPlaybackControl
# Begins playing the playlist. If an argument is given, begins at the
# specified song position.
- def play(songpos=false)
+ def play(songpos=nil)
command = 'play'
command << ' %s' % songpos if songpos
@@ -42,7 +42,7 @@ module MPDPlaybackControl
# Begins playing the playlist. If an argument is given, begins at the
# specified song id.
- def playid(songid=false)
+ def playid(songid=nil)
command = 'playid'
command << ' %s' % songid if songid