<?php
header('Content-Type: application/json');
header('Access-Control-Allow-Origin: *');

$playlist = [
    "updated" => date('Y-m-d H:i:s'),
    "now_playing" => [
        "title" => "Volume of the Book",
        "artist" => "Moses Akon",
        "type" => "theme",
        "duration" => null
    ],
    "featured" => [
        [
            "id" => 1,
            "title" => "Volume of the Book",
            "artist" => "Moses Akon",
            "type" => "Theme Song",
            "featured" => true
        ]
    ],
    "categories" => [
        "Worship",
        "Gospel",
        "Praise",
        "Devotional",
        "Teaching"
    ],
    "recent" => [
        ["title" => "Volume of the Book", "artist" => "Moses Akon", "type" => "Theme Song"],
        ["title" => "Morning Devotion Playlist", "artist" => "TBW Team", "type" => "Devotional"],
        ["title" => "Worship Collective", "artist" => "Various Artists", "type" => "Worship"],
        ["title" => "Faith Declarations", "artist" => "TBW Team", "type" => "Spoken Word"],
        ["title" => "Evening Praise", "artist" => "Various Artists", "type" => "Praise"]
    ],
    "notice" => "Full streaming playlist launching with the TBW Christian Radio broadcast. Stay tuned."
];

echo json_encode($playlist, JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT);
