summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/index.php b/index.php
index 6101c7f3..15010eee 100644
--- a/index.php
+++ b/index.php
@@ -28,10 +28,9 @@
require_once("modules/init.php");
/* We need to attempt to init the mpd object */
-//if (conf('mpd_method') == 'file') {
-//if ($user->prefs['play_type'] == 'mpd') {
-// $myMpd = init_mpd();
-//}
+if (conf('mpd_method') == 'file' OR $user->prefs['play_type'] == 'mpd') {
+ $myMpd = init_mpd();
+}
show_template('header');
show_menu_items('Home');
@@ -79,7 +78,6 @@ if (conf('refresh_limit') > 0) { show_template('javascript_refresh'); }
<?php
if ($user->prefs['play_type'] == 'mpd') {
show_mpd_pl();
-// $myMpd = init_mpd();
}
?>
</tr>