From a5ecf626566cc180c5a67ada6094614ddaed5b08 Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Fri, 24 Jul 2009 13:59:24 -0700 Subject: A couple of small changes. --- libmpd/playbackoptions.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libmpd/playbackoptions.rb b/libmpd/playbackoptions.rb index 9b82157..4a5386f 100644 --- a/libmpd/playbackoptions.rb +++ b/libmpd/playbackoptions.rb @@ -29,7 +29,7 @@ module MPDPlaybackOptions # Sets crossfading between songs. def crossfade seconds - return send_request 'crossfade ' + seconds.to_s + return send_request 'crossfade %s' % seconds end # Returns the current crossfade setting as an integer. @@ -69,7 +69,7 @@ module MPDPlaybackOptions # Sets volume from a range of 0 to 100. def volume volume - return send_request 'setvol ' + volume.to_s + return send_request 'setvol %s' % volume end # Returns the current volume as an integer. -- cgit v1.2.3-70-g09d2