diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-09-14 07:04:26 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-09-14 07:04:26 +0000 |
commit | d1dcfcbc903153007fff2c155248046ecfbdc76a (patch) | |
tree | 400ed80dd1ce436818c893bb5f53d4b9d95443ec /server | |
parent | f2f82cae3114683dd230328a4638b8cb35b46c3b (diff) | |
download | ampache-d1dcfcbc903153007fff2c155248046ecfbdc76a.tar.gz ampache-d1dcfcbc903153007fff2c155248046ecfbdc76a.tar.bz2 ampache-d1dcfcbc903153007fff2c155248046ecfbdc76a.zip |
some fixes for the localplay, you can now install the MPD controller, and add instances, just not actually play to it... realized I need to think on how to do that a little...
Diffstat (limited to 'server')
-rw-r--r-- | server/localplay.ajax.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/localplay.ajax.php b/server/localplay.ajax.php index aa8f9db3..7153b344 100644 --- a/server/localplay.ajax.php +++ b/server/localplay.ajax.php @@ -26,6 +26,10 @@ if (AJAX_INCLUDE != '1') { exit; } switch ($_REQUEST['action']) { case 'set_instance': + // Make sure they they are allowed to do this + //... ok I don't really know what that means yet + + Preference::update('mpd_active',$GLOBALS['user']->id,$_REQUEST['instance']); break; default: |