Имя и описание плейлистов по умолчанию (если не заданы в ini)
This commit is contained in:
@@ -46,10 +46,10 @@ class IniFile
|
|||||||
$raw = $ini[$code];
|
$raw = $ini[$code];
|
||||||
$data = [
|
$data = [
|
||||||
'code' => $code,
|
'code' => $code,
|
||||||
'name' => $raw['name'],
|
'name' => $raw['name'] ?? "Playlist #$code",
|
||||||
'description' => $raw['desc'],
|
'description' => $raw['desc'] ?? null,
|
||||||
'url' => $raw['pls'],
|
'url' => $raw['pls'],
|
||||||
'source' => $raw['src'],
|
'source' => $raw['src'] ?? null,
|
||||||
'content' => null,
|
'content' => null,
|
||||||
'isOnline' => null,
|
'isOnline' => null,
|
||||||
'attributes' => [],
|
'attributes' => [],
|
||||||
|
|||||||
Reference in New Issue
Block a user