summaryrefslogtreecommitdiffstats
path: root/modules/class/stream.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/class/stream.php')
-rw-r--r--modules/class/stream.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/class/stream.php b/modules/class/stream.php
index 3472127a..999dcbca 100644
--- a/modules/class/stream.php
+++ b/modules/class/stream.php
@@ -267,6 +267,9 @@ class Stream {
/* Add the files to the MPD playlist */
addToPlaylist($myMpd,$this->songs);
+ /* If we've added songs we should start playing */
+ $myMpd->Play();
+
header ("Location: " . return_referer());
} // create_mpd