mirror of
https://github.com/voc/streaming-website
synced 2024-09-20 06:22:03 +00:00
ConferenceJson: fix some defaults
This commit is contained in:
parent
a43d104e78
commit
23b14e2925
2 changed files with 2 additions and 4 deletions
|
@ -1,10 +1,8 @@
|
|||
{
|
||||
"$schema": "../../../docs/config-schema.json",
|
||||
"conference": {
|
||||
"acronym": "jugendhackt",
|
||||
"description": "Jugend hackt Live Streaming, 2024 edition",
|
||||
"end": "2024-06-20T18:00:00+02:00",
|
||||
"keywords": [],
|
||||
"organizer": "Jugend hackt",
|
||||
"start": "2024-05-18T12:00:00+02:00",
|
||||
"title": "Jugend hackt Frankfurt am Main 2024",
|
||||
|
|
|
@ -49,7 +49,7 @@ class ConferenceJson extends Conference
|
|||
$groups['Live'] = array_keys((array) $this->rooms);
|
||||
}
|
||||
|
||||
$acronym = $c->acronym ?: $mandator;
|
||||
$acronym = isset($c->acronym) ? $c->acronym : $mandator;
|
||||
|
||||
$config = array_merge(
|
||||
isset($c->streamingConfig) ? get_object_vars($c->streamingConfig) : [],
|
||||
|
@ -61,7 +61,7 @@ class ConferenceJson extends Conference
|
|||
'title' => $c->title,
|
||||
'author' => $c->organizer,
|
||||
'description' => $c->description,
|
||||
'keywords' => is_array($c->keywords) ? implode(', ', $c->keywords) : "",
|
||||
'keywords' => isset($c->keywords) ? (is_array($c->keywords) ? implode(', ', $c->keywords) : "") : "",
|
||||
// future TODO: change structure
|
||||
"relive_json" => "https://cdn.c3voc.de/relive/".$acronym."/index.json",
|
||||
"releases" => "https://media.ccc.de/c/".$acronym,
|
||||
|
|
Loading…
Reference in a new issue