query(" SELECT id, slug, name, logo, country, genre, bitrate FROM stations WHERE is_active = 1 ORDER BY featured DESC, clicks DESC, name ASC LIMIT 36 "); $stationsFeatured = $st->fetchAll(PDO::FETCH_ASSOC); // Recently added $st2 = $pdo->query(" SELECT id, slug, name, logo, country, genre, bitrate FROM stations WHERE is_active = 1 ORDER BY created_at DESC LIMIT 24 "); $stationsRecent = $st2->fetchAll(PDO::FETCH_ASSOC); /* ----------------------------------------- SEO ------------------------------------------ */ $page = 'home'; /** * ✅ UPDATED: SEO now uses settings tagline (fallback same as before) * Keeping your format: "SiteName – Tagline" */ $metaTitle = $siteName . ' – ' . $siteTagline; $metaDesc = 'Discover and play ' . $siteTagline . ' with favorites in your browser.'; /* ----------------------------------------- Helper: Render a station card ------------------------------------------ */ if (!function_exists('rm_render_station_card')) { function rm_render_station_card(array $s): void { $id = (int)($s['id'] ?? 0); $slug = isset($s['slug']) && $s['slug'] !== '' ? (string)$s['slug'] : ''; $href = $slug !== '' ? '/station/' . h($slug) : '/station/' . $id; $logoRaw = (string)($s['logo'] ?? ''); $logo = $logoRaw; if ($logo !== '' && strncasecmp($logo, 'http://', 7) === 0) { $logo = 'https://' . substr($logo, 7); } $country = trim((string)($s['country'] ?? '')); $bitrate = (int)($s['bitrate'] ?? 0); $name = (string)($s['name'] ?? ''); ?>
Browse stations from around the world, tap play, and keep your favorites in one sleek, dark player. No signup, no clutter – just pure audio.
Try “Bollywood”, “LoFi”, “Rock”, “India”, “Jazz”…
No stations yet. Add some in the admin panel.
No recent stations yet.