X-Git-Url: http://git.joshuawise.com/patchfork.git/blobdiff_plain/964dd0bc22ff252711b1190854923d5cd5382f9f..83b0af9070162664e1dca6b18d06e713d28f0f15:/inc/Net/MPD/Common.php

diff --git a/inc/Net/MPD/Common.php b/inc/Net/MPD/Common.php
index d921154..6fefdad 100644
--- a/inc/Net/MPD/Common.php
+++ b/inc/Net/MPD/Common.php
@@ -358,7 +358,7 @@ class Net_MPD_Common
                     // This is to determine if it was in a status call
                     // or in a directory call.
                     case 'playlist':
-                        if ($prev['key'] == 'random') {
+                        if ($output['status']) {
                             $output['status'][$key] = $value;
                         } else {
                             $output[$key][] = $value;