summaryrefslogtreecommitdiff
path: root/libmpd/playbackcontrol.rb
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2009-08-01 13:10:30 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2009-08-01 13:10:30 -0700
commita5b89802ef7614b214e92a1e6b03ebc17e3557b5 (patch)
tree3666470265f4481810d5f6474dde6d5ffe032ae0 /libmpd/playbackcontrol.rb
parent86d08df03202ac183c1f38b47765f2a4cfcafd72 (diff)
downloadruby-libmpd-a5b89802ef7614b214e92a1e6b03ebc17e3557b5.tar.gz
ruby-libmpd-a5b89802ef7614b214e92a1e6b03ebc17e3557b5.tar.xz
Various cleanup.
Diffstat (limited to 'libmpd/playbackcontrol.rb')
-rw-r--r--libmpd/playbackcontrol.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmpd/playbackcontrol.rb b/libmpd/playbackcontrol.rb
index a9a3d96..1e7a9c4 100644
--- a/libmpd/playbackcontrol.rb
+++ b/libmpd/playbackcontrol.rb
@@ -62,6 +62,7 @@ module MPDPlaybackControl
end
# Seeks to the given position of the current song.
+ # Accepts an argument of seconds.
def seek(time)
return send_request('seek %s %s' % [status[:song], time])
end