From 4e7cf9104c2d28279b22fb1052e7b9c75326ff05 Mon Sep 17 00:00:00 2001 From: AnthonyAxenov Date: Sun, 18 May 2025 01:01:05 +0800 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=BC=D1=8F=20=D0=B8=20=D0=BE=D0=BF?= =?UTF-8?q?=D0=B8=D1=81=D0=B0=D0=BD=D0=B8=D0=B5=20=D0=BF=D0=BB=D0=B5=D0=B9?= =?UTF-8?q?=D0=BB=D0=B8=D1=81=D1=82=D0=BE=D0=B2=20=D0=BF=D0=BE=20=D1=83?= =?UTF-8?q?=D0=BC=D0=BE=D0=BB=D1=87=D0=B0=D0=BD=D0=B8=D1=8E=20(=D0=B5?= =?UTF-8?q?=D1=81=D0=BB=D0=B8=20=D0=BD=D0=B5=20=D0=B7=D0=B0=D0=B4=D0=B0?= =?UTF-8?q?=D0=BD=D1=8B=20=D0=B2=20ini)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Core/IniFile.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Core/IniFile.php b/app/Core/IniFile.php index b529516..e115fc8 100644 --- a/app/Core/IniFile.php +++ b/app/Core/IniFile.php @@ -46,10 +46,10 @@ class IniFile $raw = $ini[$code]; $data = [ 'code' => $code, - 'name' => $raw['name'], - 'description' => $raw['desc'], + 'name' => $raw['name'] ?? "Playlist #$code", + 'description' => $raw['desc'] ?? null, 'url' => $raw['pls'], - 'source' => $raw['src'], + 'source' => $raw['src'] ?? null, 'content' => null, 'isOnline' => null, 'attributes' => [],