mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-03 17:59:21 +02:00
new db update
This commit is contained in:
parent
640dacb9f5
commit
efbeea70c7
3 changed files with 6 additions and 1 deletions
|
@ -224,6 +224,10 @@ class Update {
|
||||||
|
|
||||||
$version[] = array('version' => '331003', 'description' => $update_string);
|
$version[] = array('version' => '331003', 'description' => $update_string);
|
||||||
|
|
||||||
|
$update_string = "- Added Genre and Catalog to the stats tracking enum.<br />" .
|
||||||
|
"- Added CondPL preference for the new MPD playlist.<br />";
|
||||||
|
|
||||||
|
$version[] = array('version' => '332001', 'description' => $update_string);
|
||||||
|
|
||||||
return $version;
|
return $version;
|
||||||
|
|
||||||
|
|
|
@ -203,6 +203,7 @@ function create_preference_input($name,$value) {
|
||||||
case 'use_auth':
|
case 'use_auth':
|
||||||
case 'access_control':
|
case 'access_control':
|
||||||
case 'demo_mode':
|
case 'demo_mode':
|
||||||
|
case 'condPL':
|
||||||
case 'direct_link':
|
case 'direct_link':
|
||||||
if ($value == '1') { $is_true = "selected=\"selected\""; }
|
if ($value == '1') { $is_true = "selected=\"selected\""; }
|
||||||
else { $is_false = "selected=\"selected\""; }
|
else { $is_false = "selected=\"selected\""; }
|
||||||
|
|
|
@ -83,7 +83,7 @@ if (!$results['conf']['allow_stream_playback']) {
|
||||||
}
|
}
|
||||||
|
|
||||||
$results['conf']['web_path'] = $http_type . $_SERVER['HTTP_HOST'] . $results['conf']['web_path'];
|
$results['conf']['web_path'] = $http_type . $_SERVER['HTTP_HOST'] . $results['conf']['web_path'];
|
||||||
$results['conf']['version'] = '3.3.2-Alpha1 (Build 001)';
|
$results['conf']['version'] = '3.3.2-Alpha1 (Build 002)';
|
||||||
$results['conf']['catalog_file_pattern']= 'mp3|mpc|m4p|m4a|mp4|aac|ogg|rm|wma|asf|flac|spx';
|
$results['conf']['catalog_file_pattern']= 'mp3|mpc|m4p|m4a|mp4|aac|ogg|rm|wma|asf|flac|spx';
|
||||||
$results['libglue']['local_table'] = 'session';
|
$results['libglue']['local_table'] = 'session';
|
||||||
$results['libglue']['local_sid'] = 'id';
|
$results['libglue']['local_sid'] = 'id';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue