import path from "path" const PLAY_LIST_NAMES = { SCIENCE_AND_TECHNOLOGY: 'Science & Technology', AMAZING_UNIVERSE: 'The Amazing Universe: From Microbes to Galaxies', HISTORY_AND_POLITICS: 'The Past is Present: Lessons from History and Politics', CURRENT_AND_NEWS: 'Current Events & News Digest', GADGET_REVIEWS: 'Gadget Reviews', LAPTOP_REVIEWS: 'Laptop Reviews', MOBILE_REVIEWS: 'Mobile Reviews', RAD_TECH_TODAY: 'Rad Tech Today', } let INTRO_OUTRO_TENANT_CONFIG = { "104349087108535511186": { introFile: path.join(__dirname, "../../public/assets/music_intro.mp4"), outroFile: path.join(__dirname, "../../public/assets/music_outro.mp4"), }, "116439292677772406470": { introFile: path.join(__dirname, "../../public/assets/music_techrads_intro.mp4"), outroFile: path.join(__dirname, "../../public/assets/music_techrads_outro.mp4"), }, } const SOCIAL_HANDLES = { INSTAGRAM: { "104349087108535511186": 'semibit.media', "116439292677772406470": 'tech.rads' } } let ALL_TENANT_PLAYLISTS = { "104349087108535511186": { [PLAY_LIST_NAMES.SCIENCE_AND_TECHNOLOGY]: 'PLeT-Kik6WdhQT35w5SVx1tUzM0L-U9aHy', [PLAY_LIST_NAMES.AMAZING_UNIVERSE]: 'PLeT-Kik6WdhQJEnsI-QapmmjxEvZEXMQ2', [PLAY_LIST_NAMES.HISTORY_AND_POLITICS]: 'PLeT-Kik6WdhSqoMh2dfnFpHaGTa-3PCBB', [PLAY_LIST_NAMES.CURRENT_AND_NEWS]: 'PLeT-Kik6WdhTHl_RxwavJ3FXBGiXlYIxq' }, "116439292677772406470": { [PLAY_LIST_NAMES.RAD_TECH_TODAY]: 'PLNGN7S9FgPhTFGUAhPdhdSJP5Jq0ljPqE', [PLAY_LIST_NAMES.LAPTOP_REVIEWS]: 'PLNGN7S9FgPhSiWXNTZgoAKz9iu6zL12ox', [PLAY_LIST_NAMES.MOBILE_REVIEWS]: 'PLNGN7S9FgPhQRQHOdrNXpVI_5CAT9-noa', [PLAY_LIST_NAMES.GADGET_REVIEWS]: 'PLNGN7S9FgPhQflAC9FqdIm7_BtLWOCDHa' } } const GET_PLAY_LIST_IDS = function (userId) { let playlists = ALL_TENANT_PLAYLISTS[userId] || ALL_TENANT_PLAYLISTS['104349087108535511186'] return playlists } const YOUTUBE_VIDEO_CATEGORY_ID = { [PLAY_LIST_NAMES.SCIENCE_AND_TECHNOLOGY]: "28", [PLAY_LIST_NAMES.AMAZING_UNIVERSE]: "28", [PLAY_LIST_NAMES.HISTORY_AND_POLITICS]: "27", [PLAY_LIST_NAMES.CURRENT_AND_NEWS]: "25", [PLAY_LIST_NAMES.RAD_TECH_TODAY]: "28", [PLAY_LIST_NAMES.LAPTOP_REVIEWS]: "28", [PLAY_LIST_NAMES.MOBILE_REVIEWS]: "28", [PLAY_LIST_NAMES.GADGET_REVIEWS]: "28", } export const YoutubeCategoriesConfig = { PLAY_LIST_NAMES, ALL_TENANT_PLAYLISTS, GET_PLAY_LIST_IDS, YOUTUBE_VIDEO_CATEGORY_ID, INTRO_OUTRO_TENANT_CONFIG, SOCIAL_HANDLES }