From 902ac7dcde91a65380a5b3c36eb8cac7857a14e0 Mon Sep 17 00:00:00 2001 From: sigger Date: Sun, 22 Jan 2006 19:24:33 +0000 Subject: mpd playlist and layout cleanup --- index.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index 581799cd..471b7596 100644 --- a/index.php +++ b/index.php @@ -29,7 +29,7 @@ require_once("modules/init.php"); /* We need to attempt to init the mpd object */ -$myMpd = init_mpd(); +if ($user->prefs['play_type']) { $myMpd = init_mpd(); } show_template('header'); @@ -38,7 +38,7 @@ $action = scrub_in($_REQUEST['action']); ?> - +
@@ -48,10 +48,10 @@ $action = scrub_in($_REQUEST['action']); - -
+ + prefs['play_type'] == 'mpd' && !conf('localplay_menu')) { show_mpd_control(); -- cgit