From 88cac15dd7d3af9fb87d1a430c079205b91801a0 Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Tue, 6 Jun 2006 03:11:40 +0000 Subject: fixed stream/localplay buttons and the mpd skip now works *gasp* --- modules/localplay/mpd.controller.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/localplay/mpd.controller.php') diff --git a/modules/localplay/mpd.controller.php b/modules/localplay/mpd.controller.php index 189e9b74..1cd8fec9 100644 --- a/modules/localplay/mpd.controller.php +++ b/modules/localplay/mpd.controller.php @@ -345,11 +345,15 @@ class AmpacheMpd { */ function get_status() { + $track = $this->_mpd->current_track_id; + /* Construct the Array */ $array['state'] = $this->_mpd->state; $array['volume'] = $this->_mpd->volume; $array['repeat'] = $this->_mpd->repeat; $array['random'] = $this->_mpd->random; + $array['track'] = $track; + $array['track_title'] = $this->_mpd->playlist[$track]['Title']; return $array; -- cgit