diff options
-rw-r--r-- | mpdlib.rb | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -85,4 +85,8 @@ class MPD def previous return send_request 'previous' end + + def seek songpos, time + return send_request 'seek %s %s' % [songpos, time] + end end |