import { HOSTED_URL, GUILD_INVITE, GUILD_NAME, SIGNUP_URL } from './config.ts' import { loadView } from './catalog.ts' /** * MEGA Radio overview: album, track list (titles, lengths, open dates) and where to listen. Never returns * audio; the MP3s stream only from the hosted app to verified MEGA.dev Discord members. * * @returns album info, tracks and the app, sign-up and Discord links */ export default async function megaRadio() { const radio = await loadView() return { album: radio.album, page: radio.page, tracks: radio.tracks, listen: `${HOSTED_URL}/`, access: `Sign in with Kody, then verify you're in the ${GUILD_NAME} Discord (${GUILD_INVITE}).`, signUp: SIGNUP_URL, } }