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:
parent
649c44446a
commit
1dfdf2afab
9 changed files with 113 additions and 85 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue