From 1dfdf2afab8da95da8c814e3838b3393d88ae53c Mon Sep 17 00:00:00 2001 From: Karl 'vollmerk' Vollmer Date: Thu, 20 Sep 2007 07:39:45 +0000 Subject: made localplay technically work, lots of work to still do --- server/localplay.ajax.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'server') diff --git a/server/localplay.ajax.php b/server/localplay.ajax.php index 7153b344..78142b18 100644 --- a/server/localplay.ajax.php +++ b/server/localplay.ajax.php @@ -29,7 +29,10 @@ switch ($_REQUEST['action']) { // Make sure they they are allowed to do this //... ok I don't really know what that means yet + $type = $_REQUEST['instance'] ? 'localplay' : 'stream'; + Preference::update('mpd_active',$GLOBALS['user']->id,$_REQUEST['instance']); + Preference::update('play_type',$GLOBALS['user']->id,$type); break; default: -- cgit