X-Git-Url: http://git.joshuawise.com/patchfork.git/blobdiff_plain/89580839457c32076dfb69ba6d994d1324a4cdaa..83b0af9070162664e1dca6b18d06e713d28f0f15:/inc/Net/MPD/Common.php?ds=sidebyside 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;