summaryrefslogtreecommitdiff
path: root/mpdlib.rb
diff options
context:
space:
mode:
Diffstat (limited to 'mpdlib.rb')
-rw-r--r--mpdlib.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/mpdlib.rb b/mpdlib.rb
index e1d3332..b452e9e 100644
--- a/mpdlib.rb
+++ b/mpdlib.rb
@@ -59,4 +59,12 @@ class MPD
def stats
return generate_hash send_request 'stats'
end
+
+ def next
+ return send_request 'next'
+ end
+
+ def previous
+ return send_request 'previous'
+ end
end