diff options
Diffstat (limited to 'modules/localplay/mpd.controller.php')
-rw-r--r-- | modules/localplay/mpd.controller.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/localplay/mpd.controller.php b/modules/localplay/mpd.controller.php index 72ce56ab..c31a020b 100644 --- a/modules/localplay/mpd.controller.php +++ b/modules/localplay/mpd.controller.php @@ -385,7 +385,7 @@ class AmpacheMpd { $array['volume'] = $this->_mpd->volume; $array['repeat'] = $this->_mpd->repeat; $array['random'] = $this->_mpd->random; - $array['track'] = $track; + $array['track'] = $track+1; preg_match("/song=(\d+)\&/",$this->_mpd->playlist[$track]['file'],$matches); $song_id = $matches['1']; |