diff options
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 |