diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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> |