feat: add mobile devices stream config field (#2744)
This commit is contained in:
parent
8fb2a5d4e3
commit
b2e512cbcd
8 changed files with 47 additions and 1 deletions
|
@ -171,6 +171,7 @@ class Schema implements ConfigurationInterface
|
|||
/* */->scalarNode('description')->end()
|
||||
/* */->scalarNode('website')->end()
|
||||
/* */->scalarNode('genre')->end()
|
||||
/* */->booleanNode('mobile')->defaultFalse()->end()
|
||||
/**/->end()->end()->end()
|
||||
|
||||
// Shoutcast outputs
|
||||
|
@ -200,6 +201,7 @@ class Schema implements ConfigurationInterface
|
|||
/* */->scalarNode('name')->end()
|
||||
/* */->scalarNode('website')->end()
|
||||
/* */->scalarNode('genre')->end()
|
||||
/* */->booleanNode('mobile')->defaultFalse()->end()
|
||||
/**/->end()->end()->end()
|
||||
|
||||
// System outputs
|
||||
|
|
|
@ -62,7 +62,7 @@ class Application_Model_StreamConfig
|
|||
$prefix . 'description' => $output['description'] ?? '',
|
||||
$prefix . 'genre' => $output['genre'] ?? '',
|
||||
$prefix . 'url' => $output['website'] ?? '',
|
||||
$prefix . 'mobile' => 'false',
|
||||
$prefix . 'mobile' => $output['mobile'] ?? 'false',
|
||||
// $prefix . 'liquidsoap_error' => 'waiting',
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue