diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2009-08-01 13:10:30 -0700 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2009-08-01 13:10:30 -0700 |
commit | a5b89802ef7614b214e92a1e6b03ebc17e3557b5 (patch) | |
tree | 3666470265f4481810d5f6474dde6d5ffe032ae0 /libmpd/playbackcontrol.rb | |
parent | 86d08df03202ac183c1f38b47765f2a4cfcafd72 (diff) | |
download | ruby-libmpd-a5b89802ef7614b214e92a1e6b03ebc17e3557b5.tar.gz ruby-libmpd-a5b89802ef7614b214e92a1e6b03ebc17e3557b5.tar.xz |
Various cleanup.
Diffstat (limited to 'libmpd/playbackcontrol.rb')
-rw-r--r-- | libmpd/playbackcontrol.rb | 1 |
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 |