diff options
Diffstat (limited to 'libmpd/status.rb')
-rw-r--r-- | libmpd/status.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libmpd/status.rb b/libmpd/status.rb index 639edb4..b86c135 100644 --- a/libmpd/status.rb +++ b/libmpd/status.rb @@ -13,16 +13,16 @@ module MPDStatus # Returns a Hash containing information about the current song. def currentsong - return generate_hash send_request 'currentsong' + return generate_hash(send_request('currentsong')) end # Returns a Hash containing the current status. def status - return generate_hash send_request 'status' + return generate_hash(send_request('status')) end # Returns a Hash containing statistics. def stats - return generate_hash send_request 'stats' + return generate_hash(send_request('stats')) end end |