1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-04 18:29:40 +02:00

made localplay technically work, lots of work to still do

This commit is contained in:
Karl 'vollmerk' Vollmer 2007-09-20 07:39:45 +00:00
parent 649c44446a
commit 1dfdf2afab
9 changed files with 113 additions and 85 deletions

View file

@ -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: