From 7e45f92704616e24e099ef203dbae251bb025d61 Mon Sep 17 00:00:00 2001 From: HarveyPeachey Date: Tue, 26 Nov 2024 15:42:39 +0000 Subject: [PATCH 01/28] migrates over getInitialData for live radio to bff --- .../routes/liveRadio/getInitialData/index.js | 84 ++++++------------- .../utils/constructPageFetchUrl/index.ts | 17 ++++ .../routes/utils/fetchDataFromBFF/index.ts | 3 + src/app/routes/utils/pageTypes.ts | 1 + 4 files changed, 46 insertions(+), 59 deletions(-) diff --git a/src/app/routes/liveRadio/getInitialData/index.js b/src/app/routes/liveRadio/getInitialData/index.js index 17cff2be224..4987f7f4730 100644 --- a/src/app/routes/liveRadio/getInitialData/index.js +++ b/src/app/routes/liveRadio/getInitialData/index.js @@ -1,75 +1,41 @@ import path from 'ramda/src/path'; -import withRadioSchedule from '#app/routes/utils/withRadioSchedule'; -import fetchPageData from '../../utils/fetchPageData'; -import overrideRendererOnTest from '../../utils/overrideRendererOnTest'; import getErrorStatusCode from '../../utils/fetchPageData/utils/getErrorStatusCode'; -import getRadioService from '../../utils/getRadioService'; +import { LIVE_RADIO_PAGE } from '../../utils/pageTypes'; +import fetchDataFromBFF from '../../utils/fetchDataFromBFF'; +import { BFF_FETCH_ERROR } from '../../../lib/logger.const'; +import nodeLogger from '../../../lib/logger.node'; -const getLanguage = path(['metadata', 'language']); -const getMetaDataId = path(['metadata', 'id']); -const getPromoName = path(['promo', 'name']); -const getPromoSummary = path(['promo', 'summary']); -const getPageTitle = path(['metadata', 'analyticsLabels', 'pageTitle']); -const getContentType = path(['metadata', 'analyticsLabels', 'contentType']); -const getMasterBrand = path(['content', 'blocks', 2, 'externalId']); -const getPageIdentifier = path([ - 'metadata', - 'analyticsLabels', - 'pageIdentifier', -]); - -const getHeading = path(['content', 'blocks', 0, 'text']); -const getBodySummary = path(['content', 'blocks', 1, 'text']); +const logger = nodeLogger(__filename); const getScheduleToggle = path(['liveRadioSchedule', 'enabled']); -export default async ({ path: pathname, pageType, service, toggles }) => { +export default async ({ path: pathname, service, toggles, getAgent }) => { try { - const liveRadioDataPath = overrideRendererOnTest(pathname); - - const pageDataPromise = fetchPageData({ - path: liveRadioDataPath, - pageType, - }); - const scheduleIsEnabled = getScheduleToggle(toggles); + const disableRadioSchedule = !scheduleIsEnabled; - const { json, status } = scheduleIsEnabled - ? await withRadioSchedule({ - pageDataPromise, - service, - path: pathname, - radioService: getRadioService({ service, pathname }), - }) - : await pageDataPromise; - - const getRadioScheduleData = path(['radioScheduleData']); - - const mediaBlock = [ - { - type: 'liveRadio', - model: json?.content?.blocks, - }, - ]; + const { + status, + json: { data: pageData }, + } = await fetchDataFromBFF({ + pathname, + service, + pageType: LIVE_RADIO_PAGE, + getAgent, + disableRadioSchedule, + }); return { status, - pageData: { - heading: getHeading(json), - bodySummary: getBodySummary(json), - language: getLanguage(json), - id: getMetaDataId(json), - name: getPromoName(json), - summary: getPromoSummary(json), - pageTitle: getPageTitle(json), - contentType: getContentType(json), - pageIdentifier: getPageIdentifier(json), - masterBrand: getMasterBrand(json), - radioScheduleData: getRadioScheduleData(json), - metadata: { type: 'Live Radio' }, - mediaBlock, - }, + pageData, }; } catch ({ message, status = getErrorStatusCode() }) { + logger.error(BFF_FETCH_ERROR, { + service, + status, + pathname, + message, + }); + return { error: message, status }; } }; diff --git a/src/app/routes/utils/constructPageFetchUrl/index.ts b/src/app/routes/utils/constructPageFetchUrl/index.ts index 32c493f424c..52305541cc7 100644 --- a/src/app/routes/utils/constructPageFetchUrl/index.ts +++ b/src/app/routes/utils/constructPageFetchUrl/index.ts @@ -21,6 +21,7 @@ import { CPS_ASSET, HOME_PAGE, LIVE_PAGE, + LIVE_RADIO_PAGE, MOST_READ_PAGE, TOPIC_PAGE, UGC_PAGE, @@ -96,6 +97,14 @@ const getId = ({ pageType, service, variant, env }: GetIdProps) => { case MOST_READ_PAGE: getIdFunction = () => pageType; break; + case LIVE_RADIO_PAGE: + getIdFunction = (path: string) => { + const parts = path?.split('/'); + const masterBrand = parts?.[2]; + + return masterBrand; + }; + break; case LIVE_PAGE: getIdFunction = (path: string) => { if (isTipoIdCheck(path)) { @@ -147,6 +156,7 @@ export interface UrlConstructParams { variant?: Variants; page?: string; isAmp?: boolean; + disableRadioSchedule?: boolean; mediaId?: string | null; lang?: string | null; } @@ -158,6 +168,7 @@ const constructPageFetchUrl = ({ variant, page, isAmp, + disableRadioSchedule, mediaId, lang, }: UrlConstructParams) => { @@ -184,6 +195,9 @@ const constructPageFetchUrl = ({ ...(isAmp && { isAmp, }), + ...(disableRadioSchedule && { + disableRadioSchedule, + }), // MediaId can be supplied by av-embeds routes to determine which media asset to return ...(mediaId && { mediaId, @@ -191,6 +205,9 @@ const constructPageFetchUrl = ({ ...(lang && { lang, }), + ...(isAmp && { + isAmp, + }), ...(env && { serviceEnv: env }), }; diff --git a/src/app/routes/utils/fetchDataFromBFF/index.ts b/src/app/routes/utils/fetchDataFromBFF/index.ts index 3af4b464129..e2fad192b27 100644 --- a/src/app/routes/utils/fetchDataFromBFF/index.ts +++ b/src/app/routes/utils/fetchDataFromBFF/index.ts @@ -16,6 +16,7 @@ interface FetchDataFromBffParams { service: Services; variant?: Variants; isAmp?: boolean; + disableRadioSchedule?: boolean; page?: string; getAgent?: GetAgent; } @@ -26,6 +27,7 @@ export default async ({ service, variant, isAmp, + disableRadioSchedule, page, getAgent, }: FetchDataFromBffParams) => { @@ -40,6 +42,7 @@ export default async ({ service, variant, isAmp, + disableRadioSchedule, page, }); diff --git a/src/app/routes/utils/pageTypes.ts b/src/app/routes/utils/pageTypes.ts index ec803022d69..85a6d55fbf4 100644 --- a/src/app/routes/utils/pageTypes.ts +++ b/src/app/routes/utils/pageTypes.ts @@ -17,3 +17,4 @@ export const STATIC_PAGE = 'static' as const; export const UGC_PAGE = 'ugcForm' as const; export const AV_EMBEDS = 'avEmbeds' as const; export const DOWNLOADS_PAGE = 'downloads' as const; +export const LIVE_RADIO_PAGE = 'liveRadio' as const; From 9626cbbfbd35e758616fef4f08bf268eb54e9e8f Mon Sep 17 00:00:00 2001 From: HarveyPeachey Date: Tue, 26 Nov 2024 15:44:54 +0000 Subject: [PATCH 02/28] renames value for clarity --- src/app/routes/utils/constructPageFetchUrl/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/routes/utils/constructPageFetchUrl/index.ts b/src/app/routes/utils/constructPageFetchUrl/index.ts index 52305541cc7..71c93f85300 100644 --- a/src/app/routes/utils/constructPageFetchUrl/index.ts +++ b/src/app/routes/utils/constructPageFetchUrl/index.ts @@ -100,9 +100,9 @@ const getId = ({ pageType, service, variant, env }: GetIdProps) => { case LIVE_RADIO_PAGE: getIdFunction = (path: string) => { const parts = path?.split('/'); - const masterBrand = parts?.[2]; + const liveRadioName = parts?.[2]; - return masterBrand; + return liveRadioName; }; break; case LIVE_PAGE: From 42766919f40820325a54b4982b82af884178d540 Mon Sep 17 00:00:00 2001 From: HarveyPeachey Date: Wed, 27 Nov 2024 11:36:37 +0000 Subject: [PATCH 03/28] adds live radio page type to ati component --- src/app/components/ATIAnalytics/params/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/components/ATIAnalytics/params/index.ts b/src/app/components/ATIAnalytics/params/index.ts index 4737b5c1540..7f13595f18b 100644 --- a/src/app/components/ATIAnalytics/params/index.ts +++ b/src/app/components/ATIAnalytics/params/index.ts @@ -18,6 +18,7 @@ import { UGC_PAGE, AV_EMBEDS, DOWNLOADS_PAGE, + LIVE_RADIO_PAGE, } from '../../../routes/utils/pageTypes'; import { buildTvRadioATIParams, @@ -77,6 +78,7 @@ const pageTypeUrlBuilders = { [UGC_PAGE]: noOp, [AV_EMBEDS]: noOp, [DOWNLOADS_PAGE]: noOp, + [LIVE_RADIO_PAGE]: buildTvRadioATIParams, }; const pageTypeParamBuilders = { @@ -99,6 +101,7 @@ const pageTypeParamBuilders = { [UGC_PAGE]: noOp, [AV_EMBEDS]: noOp, [DOWNLOADS_PAGE]: noOp, + [LIVE_RADIO_PAGE]: buildTvRadioATIParams, }; type BuilderFunction = { From c2efeb4010f1374afe69f024dfc0d5b6e976f132 Mon Sep 17 00:00:00 2001 From: HarveyPeachey Date: Wed, 27 Nov 2024 11:36:51 +0000 Subject: [PATCH 04/28] remove duplicate isAmp declaration --- src/app/routes/utils/constructPageFetchUrl/index.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/app/routes/utils/constructPageFetchUrl/index.ts b/src/app/routes/utils/constructPageFetchUrl/index.ts index 71c93f85300..6310b17706e 100644 --- a/src/app/routes/utils/constructPageFetchUrl/index.ts +++ b/src/app/routes/utils/constructPageFetchUrl/index.ts @@ -205,9 +205,6 @@ const constructPageFetchUrl = ({ ...(lang && { lang, }), - ...(isAmp && { - isAmp, - }), ...(env && { serviceEnv: env }), }; From ddc6285743481c9a2a4f089ce037796dea6c8171 Mon Sep 17 00:00:00 2001 From: HarveyPeachey Date: Wed, 27 Nov 2024 11:42:08 +0000 Subject: [PATCH 05/28] adds live radio page to event tracking context --- src/app/contexts/EventTrackingContext/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/contexts/EventTrackingContext/index.tsx b/src/app/contexts/EventTrackingContext/index.tsx index b4d56253e89..7e8960179cc 100644 --- a/src/app/contexts/EventTrackingContext/index.tsx +++ b/src/app/contexts/EventTrackingContext/index.tsx @@ -26,6 +26,7 @@ import { UGC_PAGE, AV_EMBEDS, DOWNLOADS_PAGE, + LIVE_RADIO_PAGE, } from '../../routes/utils/pageTypes'; import { PageTypes, Platforms } from '../../models/types/global'; import { buildATIEventTrackingParams } from '../../components/ATIAnalytics/params'; @@ -72,6 +73,7 @@ const getCampaignID = (pageType: CampaignPageTypes) => { [UGC_PAGE]: '', [AV_EMBEDS]: 'av-embeds', [DOWNLOADS_PAGE]: 'downloads', + [LIVE_RADIO_PAGE]: 'player-episode-tv', }[pageType]; if (!campaignID) { From f91b420951e32f28de058b8975223b54809717a2 Mon Sep 17 00:00:00 2001 From: HarveyPeachey Date: Wed, 27 Nov 2024 12:19:07 +0000 Subject: [PATCH 06/28] switches to correct pagetype for live radio page --- src/app/routes/liveRadio/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/routes/liveRadio/index.js b/src/app/routes/liveRadio/index.js index 3b7efa3a018..f95edcb9821 100644 --- a/src/app/routes/liveRadio/index.js +++ b/src/app/routes/liveRadio/index.js @@ -1,6 +1,6 @@ import { LiveRadioPage } from '#pages'; import { liveRadioPath } from '#app/routes/utils/regex'; -import { MEDIA_PAGE } from '#app/routes/utils/pageTypes'; +import { LIVE_RADIO_PAGE } from '#app/routes/utils/pageTypes'; import getInitialData from './getInitialData'; export default { @@ -8,5 +8,5 @@ export default { exact: true, component: LiveRadioPage, getInitialData, - pageType: MEDIA_PAGE, + pageType: LIVE_RADIO_PAGE, }; From 364a51df724a328b0491553a89ae2db5f285551b Mon Sep 17 00:00:00 2001 From: HarveyPeachey Date: Wed, 27 Nov 2024 12:44:31 +0000 Subject: [PATCH 07/28] updates and removes various live radio fixtures --- .../bbc_afaanoromoo_radio/liveradio.json | 101 ++++++-------- data/afrique/bbc_afrique_radio/liveradio.json | 129 ++++++++++-------- data/amharic/bbc_amharic_radio/liveradio.json | 129 ++++++++++-------- data/arabic/bbc_arabic_radio/liveradio.json | 129 ++++++++++-------- data/bengali/bbc_bangla_radio/liveradio.json | 98 ++++++------- data/burmese/bbc_burmese_radio/liveradio.json | 129 ++++++++++-------- data/gahuza/bbc_gahuza_radio/liveradio.json | 98 ++++++------- data/hausa/bbc_hausa_radio/liveradio.json | 129 ++++++++++-------- data/hindi/bbc_hindi_radio/liveradio.json | 67 --------- .../bbc_indonesian_radio/liveradio.json | 98 ++++++------- data/korean/bbc_korean_radio/liveradio.json | 98 ++++++------- data/kyrgyz/bbc_kyrgyz_radio/liveradio.json | 98 ++++++------- data/nepali/bbc_nepali_radio/liveradio.json | 101 ++++++-------- data/pashto/bbc_pashto_radio/liveradio.json | 129 ++++++++++-------- data/persian/bbc_dari_radio/liveradio.json | 129 ++++++++++-------- data/persian/bbc_persian_radio/liveradio.json | 67 --------- data/russian/bbc_russian_radio/liveradio.json | 67 --------- data/sinhala/bbc_sinhala_radio/liveradio.json | 68 --------- data/somali/bbc_somali_radio/liveradio.json | 129 ++++++++++-------- data/swahili/bbc_swahili_radio/liveradio.json | 129 ++++++++++-------- data/tamil/bbc_tamil_radio/liveradio.json | 98 ++++++------- .../bbc_tigrinya_radio/liveradio.json | 98 ++++++------- data/urdu/bbc_urdu_radio/liveradio.json | 98 ++++++------- data/uzbek/bbc_uzbek_radio/liveradio.json | 98 ++++++------- 24 files changed, 1088 insertions(+), 1426 deletions(-) delete mode 100644 data/hindi/bbc_hindi_radio/liveradio.json delete mode 100644 data/persian/bbc_persian_radio/liveradio.json delete mode 100644 data/russian/bbc_russian_radio/liveradio.json delete mode 100644 data/sinhala/bbc_sinhala_radio/liveradio.json diff --git a/data/afaanoromoo/bbc_afaanoromoo_radio/liveradio.json b/data/afaanoromoo/bbc_afaanoromoo_radio/liveradio.json index 623a275519d..58519ca0d14 100644 --- a/data/afaanoromoo/bbc_afaanoromoo_radio/liveradio.json +++ b/data/afaanoromoo/bbc_afaanoromoo_radio/liveradio.json @@ -1,68 +1,47 @@ { - "content": { - "blocks": [ - { - "markupType": "plain_text", - "text": "Dhaggeeffadhaa", - "type": "heading" - }, - { - "text": "Sagantaawwan keenya", - "type": "paragraph" - }, - { - "available": true, - "caption": "", - "duration": "PT0S", - "embedding": false, - "externalId": "bbc_oromo_radio", - "format": "audio", - "id": "liveradio", - "live": true, - "subType": "primary", - "type": "version" - } - ] - }, - "metadata": { - "analyticsLabels": { - "contentType": "player-live", - "pageIdentifier": "afaanoromoo.bbc_afaanoromoo_radio.liveradio.page", - "pageTitle": "Dhaggeeffadhaa - BBC News Afaan Oromoo", - "producer": "AFAAN_OROMOO", - "producerId": "2" - }, - "atiAnalytics": {}, - "blockTypes": ["heading", "version", "paragraph"], - "createdBy": "afaanoromoo", - "firstPublished": 0, - "id": "urn:bbc:ares:ws_media:live:bbc_afaanoromoo_radio", + "data": { + "heading": "Dhaggeeffadhaa", + "bodySummary": "Sagantaawwan keenya", "language": "om", - "lastPublished": 0, - "lastUpdated": 0, - "locators": { - "pipsUrn": "urn:bbc:pips:bbc_oromo_radio" - }, - "options": {}, - "tags": {}, - "type": "WS-LIVE", - "version": "1.1.2" - }, - "promo": { - "contentType": "WS-LIVE", "id": "urn:bbc:ares:ws_media:live:bbc_afaanoromoo_radio", "name": "Dhaggeeffadhaa", "summary": "Sagantaawwan keenya", - "type": "link", - "uri": "/afaanoromoo/bbc_afaanoromoo_radio/liveradio" + "pageTitle": "Dhaggeeffadhaa - BBC News Afaan Oromoo", + "contentType": "player-live", + "pageIdentifier": "afaanoromoo.bbc_afaanoromoo_radio.liveradio.page", + "masterBrand": "bbc_oromo_radio", + "radioScheduleData": null, + "metadata": { + "type": "Live Radio" + }, + "mediaBlock": [ + { + "type": "liveRadio", + "model": [ + { + "text": "Dhaggeeffadhaa", + "markupType": "plain_text", + "type": "heading" + }, + { + "text": "Sagantaawwan keenya", + "type": "paragraph" + }, + { + "id": "liveradio", + "subType": "primary", + "format": "audio", + "externalId": "bbc_oromo_radio", + "duration": "PT0S", + "caption": "", + "embedding": false, + "available": true, + "live": true, + "type": "version" + } + ] + } + ] }, - "relatedContent": { - "groups": [], - "site": { - "name": "afaanoromoo", - "subType": "simple", - "type": "simple", - "uri": "/afaanoromoo" - } - } + "contentType": "application/json; charset=utf-8" } diff --git a/data/afrique/bbc_afrique_radio/liveradio.json b/data/afrique/bbc_afrique_radio/liveradio.json index 506663f9a2d..83b64515174 100644 --- a/data/afrique/bbc_afrique_radio/liveradio.json +++ b/data/afrique/bbc_afrique_radio/liveradio.json @@ -1,67 +1,84 @@ { - "metadata": { - "id": "urn:bbc:ares:ws_media:live:bbc_afrique_radio", - "locators": { - "pipsUrn": "urn:bbc:pips:bbc_afrique_radio" - }, - "type": "WS-LIVE", - "createdBy": "afrique", + "data": { + "heading": "BBC Afrique Radio", + "bodySummary": "Infos, musique et sports", "language": "fr", - "lastUpdated": 0, - "firstPublished": 0, - "lastPublished": 0, - "options": {}, - "analyticsLabels": { - "pageTitle": "BBC Afrique Radio - BBC News Afrique", - "pageIdentifier": "afrique.bbc_afrique_radio.liveradio.page", - "producerId": "3", - "contentType": "player-live", - "producer": "AFRIQUE" - }, - "tags": {}, - "version": "1.1.2", - "blockTypes": ["heading", "version", "paragraph"] - }, - "content": { - "blocks": [ + "id": "urn:bbc:ares:ws_media:live:bbc_afrique_radio", + "name": "BBC Afrique Radio", + "summary": "Infos, musique et sports", + "pageTitle": "BBC Afrique Radio - BBC News Afrique", + "contentType": "player-live", + "pageIdentifier": "afrique.bbc_afrique_radio.liveradio.page", + "masterBrand": "bbc_afrique_radio", + "radioScheduleData": [ + { + "id": "p0jzq76w", + "state": "next", + "startTime": "2024-11-27T16:10:00.000Z", + "link": "/afrique/bbc_afrique_radio/w172zztzpg8ppbn", + "brandTitle": "Afrique Avenir", + "summary": "Tout savoir sur les jeunes entrepreneurs africains.", + "duration": "PT20M" + }, { - "text": "BBC Afrique Radio", - "markupType": "plain_text", - "type": "heading" + "id": "p0jzmw48", + "state": "live", + "startTime": "2024-11-27T12:20:00.000Z", + "link": "/afrique/bbc_afrique_radio/liveradio", + "brandTitle": "A Vous L'antenne", + "summary": "Du lundi au vendredi les auditeurs réagissent à chaud sur les sujets qui rythment l'actualité ", + "duration": "PT10M" }, { - "text": "Infos, musique et sports", - "type": "paragraph" + "id": "p0jzmw46", + "state": "onDemand", + "startTime": "2024-11-27T12:10:00.000Z", + "link": "/afrique/bbc_afrique_radio/w172zzx198sdgfc", + "brandTitle": "Au Coeur De L'actu", + "summary": "Un jour, un thème pour aller plus en profondeur sur les sujets qui font bouger l’Afrique", + "duration": "PT10M" }, { - "id": "liveradio", - "subType": "primary", - "format": "audio", - "externalId": "bbc_afrique_radio", - "duration": "PT0S", - "caption": "", - "embedding": false, - "available": true, - "live": true, - "type": "version" + "id": "p0jzmw44", + "state": "onDemand", + "startTime": "2024-11-27T12:00:00.000Z", + "link": "/afrique/bbc_afrique_radio/w17300vwb6v7kth", + "brandTitle": "BBC Midi", + "summary": "Le point de l'actualité à la mi-journée", + "duration": "PT10M" + } + ], + "metadata": { + "type": "Live Radio" + }, + "mediaBlock": [ + { + "type": "liveRadio", + "model": [ + { + "text": "BBC Afrique Radio", + "markupType": "plain_text", + "type": "heading" + }, + { + "text": "Infos, musique et sports", + "type": "paragraph" + }, + { + "id": "liveradio", + "subType": "primary", + "format": "audio", + "externalId": "bbc_afrique_radio", + "duration": "PT0S", + "caption": "", + "embedding": false, + "available": true, + "live": true, + "type": "version" + } + ] } ] }, - "promo": { - "name": "BBC Afrique Radio", - "summary": "Infos, musique et sports", - "uri": "/afrique/bbc_afrique_radio/liveradio", - "contentType": "WS-LIVE", - "id": "urn:bbc:ares::ws_live:bbc_afrique_radio", - "type": "link" - }, - "relatedContent": { - "site": { - "subType": "simple", - "name": "afrique", - "uri": "/afrique", - "type": "simple" - }, - "groups": [] - } + "contentType": "application/json; charset=utf-8" } diff --git a/data/amharic/bbc_amharic_radio/liveradio.json b/data/amharic/bbc_amharic_radio/liveradio.json index 9464a37d780..0bda12f49de 100644 --- a/data/amharic/bbc_amharic_radio/liveradio.json +++ b/data/amharic/bbc_amharic_radio/liveradio.json @@ -1,67 +1,84 @@ { - "metadata": { - "id": "urn:bbc:ares:ws_media:live:bbc_amharic_radio", - "locators": { - "pipsUrn": "urn:bbc:pips:bbc_amharic_radio" - }, - "type": "WS-LIVE", - "createdBy": "amharic", + "data": { + "heading": "ያድምጡ", + "bodySummary": "ዝግጅቶቻችንን’", "language": "am", - "lastUpdated": 0, - "firstPublished": 0, - "lastPublished": 0, - "options": {}, - "analyticsLabels": { - "pageTitle": "ያድምጡ - BBC News አማርኛ", - "pageIdentifier": "amharic.bbc_amharic_radio.liveradio.page", - "producerId": "4", - "contentType": "player-live", - "producer": "AMHARIC" - }, - "tags": {}, - "version": "1.1.2", - "blockTypes": ["heading", "version", "paragraph"] - }, - "content": { - "blocks": [ + "id": "urn:bbc:ares:ws_media:live:bbc_amharic_radio", + "name": "ያድምጡ", + "summary": "ዝግጅቶቻችንን’", + "pageTitle": "ያድምጡ - BBC News አማርኛ", + "contentType": "player-live", + "pageIdentifier": "amharic.bbc_amharic_radio.liveradio.page", + "masterBrand": "bbc_amharic_radio", + "radioScheduleData": [ + { + "id": "p0jzqr32", + "state": "next", + "startTime": "2024-11-27T17:29:47.000Z", + "link": "/amharic/bbc_amharic_radio/w3ct74lc", + "brandTitle": "ቢቢሲ አማርኛ ዜና", + "summary": "የ15 ደቂቃ ዜናና ወቅታዊ ጉዳዮችን የሚዳስስ ፕሮግራም", + "duration": "PT14M43S" + }, { - "text": "ያድምጡ", - "markupType": "plain_text", - "type": "heading" + "id": "p0jzgnjq", + "state": "onDemand", + "startTime": "2024-11-26T17:44:30.000Z", + "link": "/amharic/bbc_amharic_radio/w3ct74bg", + "brandTitle": "ቢቢሲ አማርኛ የእንግሊዝኛ ቋንቋ ትምህርት ክፍለ-ግዜ", + "summary": "የ5 ደቂቃ የጀማሪ፣ የመለስተኛና የከፍተኛ ደረጃ የእግሊዝኛ ቋንቋ ትምህርት ክፍለ-ግዜ", + "duration": "PT5M" }, { - "text": "ዝግጅቶቻችንን’", - "type": "paragraph" + "id": "p0jzgnjn", + "state": "onDemand", + "startTime": "2024-11-26T17:29:47.000Z", + "link": "/amharic/bbc_amharic_radio/w3ct74gz", + "brandTitle": "ቢቢሲ አማርኛ ዜና", + "summary": "የ15 ደቂቃ ዜናና ወቅታዊ ጉዳዮችን የሚዳስስ ፕሮግራም", + "duration": "PT14M43S" }, { - "id": "liveradio", - "subType": "primary", - "format": "audio", - "externalId": "bbc_amharic_radio", - "duration": "PT0S", - "caption": "", - "embedding": false, - "available": true, - "live": true, - "type": "version" + "id": "p0jz81nw", + "state": "onDemand", + "startTime": "2024-11-25T17:44:30.000Z", + "link": "/amharic/bbc_amharic_radio/w3ct749b", + "brandTitle": "ቢቢሲ አማርኛ የእንግሊዝኛ ቋንቋ ትምህርት ክፍለ-ግዜ", + "summary": "የ5 ደቂቃ የጀማሪ፣ የመለስተኛና የከፍተኛ ደረጃ የእግሊዝኛ ቋንቋ ትምህርት ክፍለ-ግዜ", + "duration": "PT5M" + } + ], + "metadata": { + "type": "Live Radio" + }, + "mediaBlock": [ + { + "type": "liveRadio", + "model": [ + { + "text": "ያድምጡ", + "markupType": "plain_text", + "type": "heading" + }, + { + "text": "ዝግጅቶቻችንን’", + "type": "paragraph" + }, + { + "id": "liveradio", + "subType": "primary", + "format": "audio", + "externalId": "bbc_amharic_radio", + "duration": "PT0S", + "caption": "", + "embedding": false, + "available": true, + "live": true, + "type": "version" + } + ] } ] }, - "promo": { - "name": "ያድምጡ", - "summary": "ዝግጅቶቻችንን’", - "uri": "/amharic/bbc_amharic_radio/liveradio", - "contentType": "WS-LIVE", - "id": "urn:bbc:ares::ws_live:bbc_amharic_radio", - "type": "link" - }, - "relatedContent": { - "site": { - "subType": "simple", - "name": "amharic", - "uri": "/amharic", - "type": "simple" - }, - "groups": [] - } + "contentType": "application/json; charset=utf-8" } diff --git a/data/arabic/bbc_arabic_radio/liveradio.json b/data/arabic/bbc_arabic_radio/liveradio.json index 1f490cddf70..d054a6479e8 100644 --- a/data/arabic/bbc_arabic_radio/liveradio.json +++ b/data/arabic/bbc_arabic_radio/liveradio.json @@ -1,67 +1,84 @@ { - "metadata": { - "id": "urn:bbc:ares:ws_media:live:bbc_arabic_radio", - "locators": { - "pipsUrn": "urn:bbc:pips:bbc_arabic_radio" - }, - "type": "WS-LIVE", - "createdBy": "arabic", + "data": { + "heading": "مباشر: إذاعة بي بي سي عربي", + "bodySummary": "خدمة إخبارية على مدار الساعة و برامج حوارية وتفاعلية تناقش قضايا المنطقة والعالم وباقة من البرامج المنوعة من إذاعة بي بي سي", "language": "ar", - "lastUpdated": 0, - "firstPublished": 0, - "lastPublished": 0, - "options": {}, - "analyticsLabels": { - "pageTitle": "إذاعة بي بي سي العربية - BBC News Arabic", - "pageIdentifier": "arabic.bbc_arabic_radio.liveradio.page", - "producerId": "5", - "contentType": "player-live", - "producer": "ARABIC" - }, - "tags": {}, - "version": "1.1.2", - "blockTypes": ["heading", "version", "paragraph"] - }, - "content": { - "blocks": [ + "id": "urn:bbc:ares:ws_media:live:bbc_arabic_radio", + "name": "مباشر: إذاعة بي بي سي عربي", + "summary": "خدمة إخبارية على مدار الساعة و برامج حوارية وتفاعلية تناقش قضايا المنطقة والعالم وباقة من البرامج المنوعة من إذاعة بي بي سي", + "pageTitle": "مباشر: إذاعة بي بي سي عربي - BBC News Arabic", + "contentType": "player-live", + "pageIdentifier": "arabic.bbc_arabic_radio.liveradio.page", + "masterBrand": "bbc_arabic_radio", + "radioScheduleData": [ + { + "id": "p0jzp568", + "state": "next", + "startTime": "2024-11-27T14:59:30.000Z", + "link": "/arabic/bbc_arabic_radio/w17300stqdbjnyp", + "brandTitle": "غزة اليوم ", + "summary": "البرنامج يقدم خدمة اخبارية ومعلومات تهدف الى توعية الجمهور في غزة بما يحدث على الأرض ", + "duration": "PT30M" + }, { - "text": "إذاعة بي بي سي العربية", - "markupType": "plain_text", - "type": "heading" + "id": "p0jzk212", + "state": "onDemand", + "startTime": "2024-11-27T05:59:30.000Z", + "link": "/arabic/bbc_arabic_radio/w17300sf0114y0w", + "brandTitle": "غزة اليوم ", + "summary": "البرنامج يقدم خدمة اخبارية ومعلومات تهدف الى توعية الجمهور في غزة بما يحدث على الأرض ", + "duration": "PT30M" }, { - "text": "خدمة إخبارية على مدار الساعة و برامج حوارية وتفاعلية تناقش قضايا المنطقة والعالم وباقة من البرامج المنوعة من إذاعة بي بي سي", - "type": "paragraph" + "id": "p0jzfdqh", + "state": "onDemand", + "startTime": "2024-11-26T14:59:30.000Z", + "link": "/arabic/bbc_arabic_radio/w17300stqdbfs1l", + "brandTitle": "غزة اليوم ", + "summary": "البرنامج يقدم خدمة اخبارية ومعلومات تهدف الى توعية الجمهور في غزة بما يحدث على الأرض ", + "duration": "PT30M" }, { - "id": "liveradio", - "subType": "primary", - "format": "audio", - "externalId": "bbc_arabic_radio", - "duration": "PT0S", - "caption": "", - "embedding": false, - "available": true, - "live": true, - "type": "version" + "id": "p0jzbcyn", + "state": "onDemand", + "startTime": "2024-11-26T05:59:30.000Z", + "link": "/arabic/bbc_arabic_radio/w17300sf011213s", + "brandTitle": "غزة اليوم ", + "summary": "البرنامج يقدم خدمة اخبارية ومعلومات تهدف الى توعية الجمهور في غزة بما يحدث على الأرض ", + "duration": "PT30M" + } + ], + "metadata": { + "type": "Live Radio" + }, + "mediaBlock": [ + { + "type": "liveRadio", + "model": [ + { + "text": "مباشر: إذاعة بي بي سي عربي", + "markupType": "plain_text", + "type": "heading" + }, + { + "text": "خدمة إخبارية على مدار الساعة و برامج حوارية وتفاعلية تناقش قضايا المنطقة والعالم وباقة من البرامج المنوعة من إذاعة بي بي سي", + "type": "paragraph" + }, + { + "id": "liveradio", + "subType": "primary", + "format": "audio", + "externalId": "bbc_arabic_radio", + "duration": "PT0S", + "caption": "", + "embedding": false, + "available": true, + "live": true, + "type": "version" + } + ] } ] }, - "promo": { - "name": "إذاعة بي بي سي العربية", - "summary": "خدمة إخبارية على مدار الساعة و برامج حوارية وتفاعلية تناقش قضايا المنطقة والعالم وباقة من البرامج المنوعة من إذاعة بي بي سي", - "uri": "/arabic/bbc_arabic_radio/liveradio", - "contentType": "WS-LIVE", - "id": "urn:bbc:ares::ws_live:bbc_arabic_radio", - "type": "link" - }, - "relatedContent": { - "site": { - "subType": "simple", - "name": "arabic", - "uri": "/arabic", - "type": "simple" - }, - "groups": [] - } + "contentType": "application/json; charset=utf-8" } diff --git a/data/bengali/bbc_bangla_radio/liveradio.json b/data/bengali/bbc_bangla_radio/liveradio.json index 7fafdcd9239..977a443b9de 100644 --- a/data/bengali/bbc_bangla_radio/liveradio.json +++ b/data/bengali/bbc_bangla_radio/liveradio.json @@ -1,67 +1,47 @@ { - "metadata": { - "id": "urn:bbc:ares:ws_media:live:bbc_bangla_radio", - "locators": { - "pipsUrn": "urn:bbc:pips:bbc_bangla_radio" - }, - "type": "WS-LIVE", - "createdBy": "bengali", + "data": { + "heading": "বিবিসি বাংলা", + "bodySummary": "বাংলাদেশ, তার প্রতিবেশী এবং গোটা বিশ্বের সংবাদ পরিবেশন করে। সংবাদদাতার প্রতিবেদন ছাড়াও আছে সাক্ষাৎকার, সংবাদপত্র পর্যালোচনা এবং সরাসরি ফোন-ইন।", "language": "bn", - "lastUpdated": 0, - "firstPublished": 0, - "lastPublished": 0, - "options": {}, - "analyticsLabels": { - "pageTitle": "বিবিসি বাংলা - BBC News বাংলা", - "pageIdentifier": "bengali.bbc_bangla_radio.liveradio.page", - "producerId": "31", - "contentType": "player-live", - "producer": "BENGALI" + "id": "urn:bbc:ares:ws_media:live:bbc_bangla_radio", + "name": "বিবিসি বাংলা", + "summary": "বাংলাদেশ, তার প্রতিবেশী এবং গোটা বিশ্বের সংবাদ পরিবেশন করে। সংবাদদাতার প্রতিবেদন ছাড়াও আছে সাক্ষাৎকার, সংবাদপত্র পর্যালোচনা এবং সরাসরি ফোন-ইন।", + "pageTitle": "বিবিসি বাংলা - BBC News বাংলা", + "contentType": "player-live", + "pageIdentifier": "bengali.bbc_bangla_radio.liveradio.page", + "masterBrand": "bbc_bangla_radio", + "radioScheduleData": null, + "metadata": { + "type": "Live Radio" }, - "tags": {}, - "version": "1.1.2", - "blockTypes": ["heading", "version", "paragraph"] - }, - "content": { - "blocks": [ + "mediaBlock": [ { - "text": "বিবিসি বাংলা", - "markupType": "plain_text", - "type": "heading" - }, - { - "text": "বাংলাদেশ, তার প্রতিবেশী এবং গোটা বিশ্বের সংবাদ পরিবেশন করে। সংবাদদাতার প্রতিবেদন ছাড়াও আছে সাক্ষাৎকার, সংবাদপত্র পর্যালোচনা এবং সরাসরি ফোন-ইন।", - "type": "paragraph" - }, - { - "id": "liveradio", - "subType": "primary", - "format": "audio", - "externalId": "bbc_bangla_radio", - "duration": "PT0S", - "caption": "", - "embedding": false, - "available": true, - "live": true, - "type": "version" + "type": "liveRadio", + "model": [ + { + "text": "বিবিসি বাংলা", + "markupType": "plain_text", + "type": "heading" + }, + { + "text": "বাংলাদেশ, তার প্রতিবেশী এবং গোটা বিশ্বের সংবাদ পরিবেশন করে। সংবাদদাতার প্রতিবেদন ছাড়াও আছে সাক্ষাৎকার, সংবাদপত্র পর্যালোচনা এবং সরাসরি ফোন-ইন।", + "type": "paragraph" + }, + { + "id": "liveradio", + "subType": "primary", + "format": "audio", + "externalId": "bbc_bangla_radio", + "duration": "PT0S", + "caption": "", + "embedding": false, + "available": true, + "live": true, + "type": "version" + } + ] } ] }, - "promo": { - "name": "বিবিসি বাংলা", - "summary": "বাংলাদেশ, তার প্রতিবেশী এবং গোটা বিশ্বের সংবাদ পরিবেশন করে। সংবাদদাতার প্রতিবেদন ছাড়াও আছে সাক্ষাৎকার, সংবাদপত্র পর্যালোচনা এবং সরাসরি ফোন-ইন।", - "uri": "/bengali/bbc_bangla_radio/liveradio", - "contentType": "WS-LIVE", - "id": "urn:bbc:ares::ws_live:bbc_bangla_radio", - "type": "link" - }, - "relatedContent": { - "site": { - "subType": "simple", - "name": "bengali", - "uri": "/bengali", - "type": "simple" - }, - "groups": [] - } + "contentType": "application/json; charset=utf-8" } diff --git a/data/burmese/bbc_burmese_radio/liveradio.json b/data/burmese/bbc_burmese_radio/liveradio.json index 5531aa55c2a..c12cc7bf248 100644 --- a/data/burmese/bbc_burmese_radio/liveradio.json +++ b/data/burmese/bbc_burmese_radio/liveradio.json @@ -1,67 +1,84 @@ { - "metadata": { - "id": "urn:bbc:ares:ws_media:live:bbc_burmese_radio", - "locators": { - "pipsUrn": "urn:bbc:pips:bbc_burmese_radio" - }, - "type": "WS-LIVE", - "createdBy": "burmese", + "data": { + "heading": "ဘီဘီစီ မြန်မာပိုင်း ရေဒီယို", + "bodySummary": "နေ့စဉ် ပြည်တွင်း ပြည်ပ သတင်းနဲ့ သုံးသပ်ချက်များ၊ ပညာရေး၊ ကျန်းမာရေး၊ အားကစား၊ နည်းပညာ အစီအစဉ်များ နဲ့ မျက်မှောက်ရေးရာ ဆွေးနွေးခန်းများ", "language": "my", - "lastUpdated": 0, - "firstPublished": 0, - "lastPublished": 0, - "options": {}, - "analyticsLabels": { - "pageTitle": "ဘီဘီစီ မြန်မာပိုင်း ရေဒီယို - BBC News မြန်မာ", - "pageIdentifier": "burmese.bbc_burmese_radio.liveradio.page", - "producerId": "35", - "contentType": "player-live", - "producer": "BURMESE" - }, - "tags": {}, - "version": "1.1.2", - "blockTypes": ["heading", "version", "paragraph"] - }, - "content": { - "blocks": [ + "id": "urn:bbc:ares:ws_media:live:bbc_burmese_radio", + "name": "ဘီဘီစီ မြန်မာပိုင်း ရေဒီယို", + "summary": "နေ့စဉ် ပြည်တွင်း ပြည်ပ သတင်းနဲ့ သုံးသပ်ချက်များ၊ ပညာရေး၊ ကျန်းမာရေး၊ အားကစား၊ နည်းပညာ အစီအစဉ်များ နဲ့ မျက်မှောက်ရေးရာ ဆွေးနွေးခန်းများ", + "pageTitle": "ဘီဘီစီ မြန်မာပိုင်း ရေဒီယို - BBC News မြန်မာ", + "contentType": "player-live", + "pageIdentifier": "burmese.bbc_burmese_radio.liveradio.page", + "masterBrand": "bbc_burmese_radio", + "radioScheduleData": [ + { + "id": "p0jznlhr", + "state": "next", + "startTime": "2024-11-27T13:29:30.000Z", + "link": "/burmese/bbc_burmese_radio/w3ct768s", + "brandTitle": "ကမ္ဘာ့မျက်မှောက်ရေးရာ။", + "summary": "သတင်းနှင့်ကမ္ဘာ့မျက်မှောက်ရေးရာ", + "duration": "PT15M" + }, { - "text": "ဘီဘီစီ မြန်မာပိုင်း ရေဒီယို", - "markupType": "plain_text", - "type": "heading" + "id": "p0jzf5pt", + "state": "onDemand", + "startTime": "2024-11-26T13:29:30.000Z", + "link": "/burmese/bbc_burmese_radio/w3ct765d", + "brandTitle": "ကမ္ဘာ့မျက်မှောက်ရေးရာ။", + "summary": "သတင်းနှင့်ကမ္ဘာ့မျက်မှောက်ရေးရာ", + "duration": "PT15M" }, { - "text": "နေ့စဉ် ပြည်တွင်း ပြည်ပ သတင်းနဲ့ သုံးသပ်ချက်များ၊ ပညာရေး၊ ကျန်းမာရေး၊ အားကစား၊ နည်းပညာ အစီအစဉ်များ နဲ့ မျက်မှောက်ရေးရာ ဆွေးနွေးခန်းများ", - "type": "paragraph" + "id": "p0jz6r6c", + "state": "onDemand", + "startTime": "2024-11-25T13:29:30.000Z", + "link": "/burmese/bbc_burmese_radio/w3ct760w", + "brandTitle": "ကမ္ဘာ့မျက်မှောက်ရေးရာ။", + "summary": "သတင်းနှင့်ကမ္ဘာ့မျက်မှောက်ရေးရာ", + "duration": "PT15M" }, { - "id": "liveradio", - "subType": "primary", - "format": "audio", - "externalId": "bbc_burmese_radio", - "duration": "PT0S", - "caption": "", - "embedding": false, - "available": true, - "live": true, - "type": "version" + "id": "p0jz0q6x", + "state": "onDemand", + "startTime": "2024-11-24T13:29:30.000Z", + "link": "/burmese/bbc_burmese_radio/w3ct7633", + "brandTitle": "ကမ္ဘာ့မျက်မှောက်ရေးရာ။", + "summary": "သတင်းနှင့်ကမ္ဘာ့မျက်မှောက်ရေးရာ", + "duration": "PT15M" + } + ], + "metadata": { + "type": "Live Radio" + }, + "mediaBlock": [ + { + "type": "liveRadio", + "model": [ + { + "text": "ဘီဘီစီ မြန်မာပိုင်း ရေဒီယို", + "markupType": "plain_text", + "type": "heading" + }, + { + "text": "နေ့စဉ် ပြည်တွင်း ပြည်ပ သတင်းနဲ့ သုံးသပ်ချက်များ၊ ပညာရေး၊ ကျန်းမာရေး၊ အားကစား၊ နည်းပညာ အစီအစဉ်များ နဲ့ မျက်မှောက်ရေးရာ ဆွေးနွေးခန်းများ", + "type": "paragraph" + }, + { + "id": "liveradio", + "subType": "primary", + "format": "audio", + "externalId": "bbc_burmese_radio", + "duration": "PT0S", + "caption": "", + "embedding": false, + "available": true, + "live": true, + "type": "version" + } + ] } ] }, - "promo": { - "name": "ဘီဘီစီ မြန်မာပိုင်း ရေဒီယို", - "summary": "နေ့စဉ် ပြည်တွင်း ပြည်ပ သတင်းနဲ့ သုံးသပ်ချက်များ၊ ပညာရေး၊ ကျန်းမာရေး၊ အားကစား၊ နည်းပညာ အစီအစဉ်များ နဲ့ မျက်မှောက်ရေးရာ ဆွေးနွေးခန်းများ", - "uri": "/burmese/bbc_burmese_radio/liveradio", - "contentType": "WS-LIVE", - "id": "urn:bbc:ares::ws_live:bbc_burmese_radio", - "type": "link" - }, - "relatedContent": { - "site": { - "subType": "simple", - "name": "burmese", - "uri": "/burmese", - "type": "simple" - }, - "groups": [] - } + "contentType": "application/json; charset=utf-8" } diff --git a/data/gahuza/bbc_gahuza_radio/liveradio.json b/data/gahuza/bbc_gahuza_radio/liveradio.json index f3a3a858edf..1496041313c 100644 --- a/data/gahuza/bbc_gahuza_radio/liveradio.json +++ b/data/gahuza/bbc_gahuza_radio/liveradio.json @@ -1,67 +1,47 @@ { - "metadata": { - "id": "urn:bbc:ares:ws_media:live:bbc_gahuza_radio", - "locators": { - "pipsUrn": "urn:bbc:pips:bbc_gahuza_radio" - }, - "type": "WS-LIVE", - "createdBy": "gahuza", + "data": { + "heading": "Radio BBC Gahuza", + "bodySummary": "Amakuru y’amahanga, ubusesenguzi, amakuru y’akarere k’ibiyaga bigari, ikinamico, ubuzima, imibereho y’abagore. Kuri FM no kuri internet.", "language": "rw", - "lastUpdated": 0, - "firstPublished": 0, - "lastPublished": 0, - "options": {}, - "analyticsLabels": { - "pageTitle": "Radio BBC Gahuza - BBC News Gahuza", - "pageIdentifier": "gahuza.bbc_gahuza_radio.liveradio.page", - "producerId": "40", - "contentType": "player-live", - "producer": "GAHUZA" + "id": "urn:bbc:ares:ws_media:live:bbc_gahuza_radio", + "name": "Radio BBC Gahuza", + "summary": "Amakuru y’amahanga, ubusesenguzi, amakuru y’akarere k’ibiyaga bigari, ikinamico, ubuzima, imibereho y’abagore. Kuri FM no kuri internet.", + "pageTitle": "Radio BBC Gahuza - BBC News Gahuza", + "contentType": "player-live", + "pageIdentifier": "gahuza.bbc_gahuza_radio.liveradio.page", + "masterBrand": "bbc_gahuza_radio", + "radioScheduleData": null, + "metadata": { + "type": "Live Radio" }, - "tags": {}, - "version": "1.1.2", - "blockTypes": ["heading", "version", "paragraph"] - }, - "content": { - "blocks": [ + "mediaBlock": [ { - "text": "Radio BBC Gahuza", - "markupType": "plain_text", - "type": "heading" - }, - { - "text": "Amakuru y’amahanga, ubusesenguzi, amakuru y’akarere k’ibiyaga bigari, ikinamico, ubuzima, imibereho y’abagore. Kuri FM no kuri internet.", - "type": "paragraph" - }, - { - "id": "liveradio", - "subType": "primary", - "format": "audio", - "externalId": "bbc_gahuza_radio", - "duration": "PT0S", - "caption": "", - "embedding": false, - "available": true, - "live": true, - "type": "version" + "type": "liveRadio", + "model": [ + { + "text": "Radio BBC Gahuza", + "markupType": "plain_text", + "type": "heading" + }, + { + "text": "Amakuru y’amahanga, ubusesenguzi, amakuru y’akarere k’ibiyaga bigari, ikinamico, ubuzima, imibereho y’abagore. Kuri FM no kuri internet.", + "type": "paragraph" + }, + { + "id": "liveradio", + "subType": "primary", + "format": "audio", + "externalId": "bbc_gahuza_radio", + "duration": "PT0S", + "caption": "", + "embedding": false, + "available": true, + "live": true, + "type": "version" + } + ] } ] }, - "promo": { - "name": "Radio BBC Gahuza", - "summary": "Amakuru y’amahanga, ubusesenguzi, amakuru y’akarere k’ibiyaga bigari, ikinamico, ubuzima, imibereho y’abagore. Kuri FM no kuri internet.", - "uri": "/gahuza/bbc_gahuza_radio/liveradio", - "contentType": "WS-LIVE", - "id": "urn:bbc:ares::ws_live:bbc_gahuza_radio", - "type": "link" - }, - "relatedContent": { - "site": { - "subType": "simple", - "name": "gahuza", - "uri": "/gahuza", - "type": "simple" - }, - "groups": [] - } + "contentType": "application/json; charset=utf-8" } diff --git a/data/hausa/bbc_hausa_radio/liveradio.json b/data/hausa/bbc_hausa_radio/liveradio.json index 81b723b25f2..edc0e4c2fd3 100644 --- a/data/hausa/bbc_hausa_radio/liveradio.json +++ b/data/hausa/bbc_hausa_radio/liveradio.json @@ -1,67 +1,84 @@ { - "metadata": { - "id": "urn:bbc:ares:ws_media:live:bbc_hausa_radio", - "locators": { - "pipsUrn": "urn:bbc:pips:bbc_hausa_radio" - }, - "type": "WS-LIVE", - "createdBy": "hausa", + "data": { + "heading": "BBC Hausa Rediyo", + "bodySummary": "Labaran duniya da sharhi da kuma bayanai kan al'amuran yau da kullum daga sashin Hausa na BBC.", "language": "ha", - "lastUpdated": 0, - "firstPublished": 0, - "lastPublished": 0, - "options": {}, - "analyticsLabels": { - "pageTitle": "BBC Hausa Rediyo - BBC News Hausa", - "pageIdentifier": "hausa.bbc_hausa_radio.liveradio.page", - "producerId": "51", - "contentType": "player-live", - "producer": "HAUSA" - }, - "tags": {}, - "version": "1.1.2", - "blockTypes": ["heading", "version", "paragraph"] - }, - "content": { - "blocks": [ + "id": "urn:bbc:ares:ws_media:live:bbc_hausa_radio", + "name": "BBC Hausa Rediyo", + "summary": "Labaran duniya da sharhi da kuma bayanai kan al'amuran yau da kullum daga sashin Hausa na BBC.", + "pageTitle": "BBC Hausa Rediyo - BBC News Hausa", + "contentType": "player-live", + "pageIdentifier": "hausa.bbc_hausa_radio.liveradio.page", + "masterBrand": "bbc_hausa_radio", + "radioScheduleData": [ + { + "id": "p0jznlc9", + "state": "next", + "startTime": "2024-11-27T13:59:30.000Z", + "link": "/hausa/bbc_hausa_radio/w3ct772n", + "brandTitle": "Shirin Rana", + "summary": "Shiri ne na minti 30 wanda ya kunshi labaru da rahotanni daga sassa daban-daban na duniya.", + "duration": "PT30M" + }, { - "text": "BBC Hausa Rediyo", - "markupType": "plain_text", - "type": "heading" + "id": "p0jzk21x", + "state": "onDemand", + "startTime": "2024-11-27T06:30:00.000Z", + "link": "/hausa/bbc_hausa_radio/w172zxmn0vn85jx", + "brandTitle": "Shirin Hantsi", + "summary": "Shiri ne na minti 30 wanda ya kunshi labaru da rahotanni daga sassa daban na duniya.", + "duration": "PT29M30S" }, { - "text": "Labaran duniya da sharhi da kuma bayanai kan al'amuran yau da kullum daga sashin Hausa na BBC.", - "type": "paragraph" + "id": "p0jzk21v", + "state": "onDemand", + "startTime": "2024-11-27T05:29:30.000Z", + "link": "/hausa/bbc_hausa_radio/w3ct77bk", + "brandTitle": "Shirin Safe", + "summary": "Shiri ne na minti 30 wanda ya kunshi labaru da rahotanni daga sassa daban na duniya.", + "duration": "PT30M" }, { - "id": "liveradio", - "subType": "primary", - "format": "audio", - "externalId": "bbc_hausa_radio", - "duration": "PT0S", - "caption": "", - "embedding": false, - "available": true, - "live": true, - "type": "version" + "id": "p0jzgzkh", + "state": "onDemand", + "startTime": "2024-11-26T19:29:30.000Z", + "link": "/hausa/bbc_hausa_radio/w3ct77j6", + "brandTitle": "Shirin Yamma", + "summary": "Shiri ne na minti 30 wanda ya kunshi labaru da rahotanni daga sassa daban na duniya.", + "duration": "PT30M" + } + ], + "metadata": { + "type": "Live Radio" + }, + "mediaBlock": [ + { + "type": "liveRadio", + "model": [ + { + "text": "BBC Hausa Rediyo", + "markupType": "plain_text", + "type": "heading" + }, + { + "text": "Labaran duniya da sharhi da kuma bayanai kan al'amuran yau da kullum daga sashin Hausa na BBC.", + "type": "paragraph" + }, + { + "id": "liveradio", + "subType": "primary", + "format": "audio", + "externalId": "bbc_hausa_radio", + "duration": "PT0S", + "caption": "", + "embedding": false, + "available": true, + "live": true, + "type": "version" + } + ] } ] }, - "promo": { - "name": "BBC Hausa Rediyo", - "summary": "Labaran duniya da sharhi da kuma bayanai kan al'amuran yau da kullum daga sashin Hausa na BBC.", - "uri": "/hausa/bbc_hausa_radio/liveradio", - "contentType": "WS-LIVE", - "id": "urn:bbc:ares::ws_live:bbc_hausa_radio", - "type": "link" - }, - "relatedContent": { - "site": { - "subType": "simple", - "name": "hausa", - "uri": "/hausa", - "type": "simple" - }, - "groups": [] - } + "contentType": "application/json; charset=utf-8" } diff --git a/data/hindi/bbc_hindi_radio/liveradio.json b/data/hindi/bbc_hindi_radio/liveradio.json deleted file mode 100644 index ec4548c6742..00000000000 --- a/data/hindi/bbc_hindi_radio/liveradio.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "metadata": { - "id": "urn:bbc:ares:ws_media:live:bbc_hindi_radio", - "locators": { - "pipsUrn": "urn:bbc:pips:bbc_hindi_radio" - }, - "type": "WS-LIVE", - "createdBy": "hindi", - "language": "hi", - "lastUpdated": 0, - "firstPublished": 0, - "lastPublished": 0, - "options": {}, - "analyticsLabels": { - "pageTitle": "बीबीसी हिंदी - BBC News हिंदी", - "pageIdentifier": "hindi.bbc_hindi_radio.liveradio.page", - "producerId": "52", - "contentType": "player-live", - "producer": "HINDI" - }, - "tags": {}, - "version": "1.1.2", - "blockTypes": ["heading", "version", "paragraph"] - }, - "content": { - "blocks": [ - { - "text": "बीबीसी हिंदी", - "markupType": "plain_text", - "type": "heading" - }, - { - "text": "दुनिया और भारत की ख़बरें, विश्लेषण और फ़ीचर. हिंदी में संवाद के सूत्रधार", - "type": "paragraph" - }, - { - "id": "liveradio", - "subType": "primary", - "format": "audio", - "externalId": "bbc_hindi_radio", - "duration": "PT0S", - "caption": "", - "embedding": false, - "available": true, - "live": true, - "type": "version" - } - ] - }, - "promo": { - "name": "बीबीसी हिंदी", - "summary": "दुनिया और भारत की ख़बरें, विश्लेषण और फ़ीचर. हिंदी में संवाद के सूत्रधार", - "uri": "/hindi/bbc_hindi_radio/liveradio", - "contentType": "WS-LIVE", - "id": "urn:bbc:ares::ws_live:bbc_hindi_radio", - "type": "link" - }, - "relatedContent": { - "site": { - "subType": "simple", - "name": "hindi", - "uri": "/hindi", - "type": "simple" - }, - "groups": [] - } -} diff --git a/data/indonesia/bbc_indonesian_radio/liveradio.json b/data/indonesia/bbc_indonesian_radio/liveradio.json index 34ebbc59f43..674e422fe23 100644 --- a/data/indonesia/bbc_indonesian_radio/liveradio.json +++ b/data/indonesia/bbc_indonesian_radio/liveradio.json @@ -1,67 +1,47 @@ { - "metadata": { - "id": "urn:bbc:ares:ws_media:live:bbc_indonesian_radio", - "locators": { - "pipsUrn": "urn:bbc:pips:bbc_indonesian_radio" - }, - "type": "WS-LIVE", - "createdBy": "indonesia", + "data": { + "heading": "BBC Indonesia Radio", + "bodySummary": "BBC Indonesia Radio: Berita dunia, ulasan, berita olahraga dan majalah mingguan dari BBC Indonesia Radio.", "language": "id", - "lastUpdated": 0, - "firstPublished": 0, - "lastPublished": 0, - "options": {}, - "analyticsLabels": { - "pageTitle": "BBC Indonesia Radio - BBC News Indonesia", - "pageIdentifier": "indonesia.bbc_indonesian_radio.liveradio.page", - "producerId": "54", - "contentType": "player-live", - "producer": "INDONESIAN" + "id": "urn:bbc:ares:ws_media:live:bbc_indonesian_radio", + "name": "BBC Indonesia Radio", + "summary": "BBC Indonesia Radio: Berita dunia, ulasan, berita olahraga dan majalah mingguan dari BBC Indonesia Radio.", + "pageTitle": "BBC Indonesia Radio - BBC News Indonesia", + "contentType": "player-live", + "pageIdentifier": "indonesia.bbc_indonesian_radio.liveradio.page", + "masterBrand": "bbc_indonesian_radio", + "radioScheduleData": null, + "metadata": { + "type": "Live Radio" }, - "tags": {}, - "version": "1.1.2", - "blockTypes": ["heading", "version", "paragraph"] - }, - "content": { - "blocks": [ + "mediaBlock": [ { - "text": "BBC Indonesia Radio", - "markupType": "plain_text", - "type": "heading" - }, - { - "text": "BBC Indonesia Radio: Berita dunia, ulasan, berita olahraga dan majalah mingguan dari BBC Indonesia Radio.", - "type": "paragraph" - }, - { - "id": "liveradio", - "subType": "primary", - "format": "audio", - "externalId": "bbc_indonesian_radio", - "duration": "PT0S", - "caption": "", - "embedding": false, - "available": true, - "live": true, - "type": "version" + "type": "liveRadio", + "model": [ + { + "text": "BBC Indonesia Radio", + "markupType": "plain_text", + "type": "heading" + }, + { + "text": "BBC Indonesia Radio: Berita dunia, ulasan, berita olahraga dan majalah mingguan dari BBC Indonesia Radio.", + "type": "paragraph" + }, + { + "id": "liveradio", + "subType": "primary", + "format": "audio", + "externalId": "bbc_indonesian_radio", + "duration": "PT0S", + "caption": "", + "embedding": false, + "available": true, + "live": true, + "type": "version" + } + ] } ] }, - "promo": { - "name": "BBC Indonesia Radio", - "summary": "BBC Indonesia Radio: Berita dunia, ulasan, berita olahraga dan majalah mingguan dari BBC Indonesia Radio.", - "uri": "/indonesia/bbc_indonesian_radio/liveradio", - "contentType": "WS-LIVE", - "id": "urn:bbc:ares::ws_live:bbc_indonesian_radio", - "type": "link" - }, - "relatedContent": { - "site": { - "subType": "simple", - "name": "indonesia", - "uri": "/indonesia", - "type": "simple" - }, - "groups": [] - } + "contentType": "application/json; charset=utf-8" } diff --git a/data/korean/bbc_korean_radio/liveradio.json b/data/korean/bbc_korean_radio/liveradio.json index 7ed9792f7e1..b2eb4dd10c8 100644 --- a/data/korean/bbc_korean_radio/liveradio.json +++ b/data/korean/bbc_korean_radio/liveradio.json @@ -1,67 +1,47 @@ { - "metadata": { - "id": "urn:bbc:ares:ws_media:live:bbc_korean_radio", - "locators": { - "pipsUrn": "urn:bbc:pips:bbc_korean_radio" - }, - "type": "WS-LIVE", - "createdBy": "korean", + "data": { + "heading": "BBC 코리아 라디오", + "bodySummary": "세계와 한반도 뉴스를 공정하고 객관적으로 전달해 드립니다", "language": "ko", - "lastUpdated": 0, - "firstPublished": 0, - "lastPublished": 0, - "options": {}, - "analyticsLabels": { - "pageTitle": "BBC 코리아 라디오 - BBC News 코리아", - "pageIdentifier": "korean.bbc_korean_radio.liveradio.page", - "producerId": "57", - "contentType": "player-live", - "producer": "KOREAN" + "id": "urn:bbc:ares:ws_media:live:bbc_korean_radio", + "name": "BBC 코리아 라디오", + "summary": "세계와 한반도 뉴스를 공정하고 객관적으로 전달해 드립니다", + "pageTitle": "BBC 코리아 라디오 - BBC News 코리아", + "contentType": "player-live", + "pageIdentifier": "korean.bbc_korean_radio.liveradio.page", + "masterBrand": "bbc_korean_radio", + "radioScheduleData": null, + "metadata": { + "type": "Live Radio" }, - "tags": {}, - "version": "1.1.2", - "blockTypes": ["heading", "version", "paragraph"] - }, - "content": { - "blocks": [ + "mediaBlock": [ { - "text": "BBC 코리아 라디오", - "markupType": "plain_text", - "type": "heading" - }, - { - "text": "세계와 한반도 뉴스를 공정하고 객관적으로 전달해 드립니다", - "type": "paragraph" - }, - { - "id": "liveradio", - "subType": "primary", - "format": "audio", - "externalId": "bbc_korean_radio", - "duration": "PT0S", - "caption": "", - "embedding": false, - "available": true, - "live": true, - "type": "version" + "type": "liveRadio", + "model": [ + { + "text": "BBC 코리아 라디오", + "markupType": "plain_text", + "type": "heading" + }, + { + "text": "세계와 한반도 뉴스를 공정하고 객관적으로 전달해 드립니다", + "type": "paragraph" + }, + { + "id": "liveradio", + "subType": "primary", + "format": "audio", + "externalId": "bbc_korean_radio", + "duration": "PT0S", + "caption": "", + "embedding": false, + "available": true, + "live": true, + "type": "version" + } + ] } ] }, - "promo": { - "name": "BBC 코리아 라디오", - "summary": "세계와 한반도 뉴스를 공정하고 객관적으로 전달해 드립니다", - "uri": "/korean/bbc_korean_radio/liveradio", - "contentType": "WS-LIVE", - "id": "urn:bbc:ares::ws_live:bbc_korean_radio", - "type": "link" - }, - "relatedContent": { - "site": { - "subType": "simple", - "name": "korean", - "uri": "/korean", - "type": "simple" - }, - "groups": [] - } + "contentType": "application/json; charset=utf-8" } diff --git a/data/kyrgyz/bbc_kyrgyz_radio/liveradio.json b/data/kyrgyz/bbc_kyrgyz_radio/liveradio.json index e45c50b5fec..d141dfb222b 100644 --- a/data/kyrgyz/bbc_kyrgyz_radio/liveradio.json +++ b/data/kyrgyz/bbc_kyrgyz_radio/liveradio.json @@ -1,67 +1,47 @@ { - "metadata": { - "id": "urn:bbc:ares:ws_media:live:bbc_kyrgyz_radio", - "locators": { - "pipsUrn": "urn:bbc:pips:bbc_kyrgyz_radio" - }, - "type": "WS-LIVE", - "createdBy": "kyrgyz", + "data": { + "heading": "Би-Би-Си Кыргыз кызматынын радиосу", + "bodySummary": "Эл аралык жана жергиликтүү жаңылыктар, аналитика, кызыктуу материалдар кыргыз тилинде", "language": "ky", - "lastUpdated": 0, - "firstPublished": 0, - "lastPublished": 0, - "options": {}, - "analyticsLabels": { - "pageTitle": "Би-Би-Си Кыргыз кызматынын радиосу - BBC News Кыргыз КызMATы", - "pageIdentifier": "kyrgyz.bbc_kyrgyz_radio.liveradio.page", - "producerId": "58", - "contentType": "player-live", - "producer": "KYRGYZ" + "id": "urn:bbc:ares:ws_media:live:bbc_kyrgyz_radio", + "name": "Би-Би-Си Кыргыз кызматынын радиосу", + "summary": "Эл аралык жана жергиликтүү жаңылыктар, аналитика, кызыктуу материалдар кыргыз тилинде", + "pageTitle": "Би-Би-Си Кыргыз кызматынын радиосу - BBC News Кыргыз КызMATы", + "contentType": "player-live", + "pageIdentifier": "kyrgyz.bbc_kyrgyz_radio.liveradio.page", + "masterBrand": "bbc_kyrgyz_radio", + "radioScheduleData": null, + "metadata": { + "type": "Live Radio" }, - "tags": {}, - "version": "1.1.2", - "blockTypes": ["heading", "version", "paragraph"] - }, - "content": { - "blocks": [ + "mediaBlock": [ { - "text": "Би-Би-Си Кыргыз кызматынын радиосу", - "markupType": "plain_text", - "type": "heading" - }, - { - "text": "Эл аралык жана жергиликтүү жаңылыктар, аналитика, кызыктуу материалдар кыргыз тилинде", - "type": "paragraph" - }, - { - "id": "liveradio", - "subType": "primary", - "format": "audio", - "externalId": "bbc_kyrgyz_radio", - "duration": "PT0S", - "caption": "", - "embedding": false, - "available": true, - "live": true, - "type": "version" + "type": "liveRadio", + "model": [ + { + "text": "Би-Би-Си Кыргыз кызматынын радиосу", + "markupType": "plain_text", + "type": "heading" + }, + { + "text": "Эл аралык жана жергиликтүү жаңылыктар, аналитика, кызыктуу материалдар кыргыз тилинде", + "type": "paragraph" + }, + { + "id": "liveradio", + "subType": "primary", + "format": "audio", + "externalId": "bbc_kyrgyz_radio", + "duration": "PT0S", + "caption": "", + "embedding": false, + "available": true, + "live": true, + "type": "version" + } + ] } ] }, - "promo": { - "name": "Би-Би-Си Кыргыз кызматынын радиосу", - "summary": "Эл аралык жана жергиликтүү жаңылыктар, аналитика, кызыктуу материалдар кыргыз тилинде", - "uri": "/kyrgyz/bbc_kyrgyz_radio/liveradio", - "contentType": "WS-LIVE", - "id": "urn:bbc:ares::ws_live:bbc_kyrgyz_radio", - "type": "link" - }, - "relatedContent": { - "site": { - "subType": "simple", - "name": "kyrgyz", - "uri": "/kyrgyz", - "type": "simple" - }, - "groups": [] - } + "contentType": "application/json; charset=utf-8" } diff --git a/data/nepali/bbc_nepali_radio/liveradio.json b/data/nepali/bbc_nepali_radio/liveradio.json index 361503d4916..89e6622fc3c 100644 --- a/data/nepali/bbc_nepali_radio/liveradio.json +++ b/data/nepali/bbc_nepali_radio/liveradio.json @@ -1,68 +1,47 @@ { - "content": { - "blocks": [ - { - "markupType": "plain_text", - "text": "बीबीसी नेपाली रेडियो", - "type": "heading" - }, - { - "text": "नेपाली भाषामा बीबीसी विश्व सेवाको राष्ट्रिय तथा अन्तर्राष्ट्रिय समाचार तथा समसामयिक चर्चा, राष्ट्रिय तथा अन्तर्राष्ट्रिय समाचार विश्लेषण, समाचारमा रहेका व्यक्तित्वहरुसंगको अन्तर्वार्ता, साप्ताहिक बहस तथा छलफल, विज्ञान, स्वास्थ्य.", - "type": "paragraph" - }, - { - "available": true, - "caption": "", - "duration": "PT0S", - "embedding": false, - "externalId": "bbc_nepali_radio", - "format": "audio", - "id": "liveradio", - "live": true, - "subType": "primary", - "type": "version" - } - ] - }, - "metadata": { - "analyticsLabels": { - "contentType": "player-live", - "pageIdentifier": "nepali.bbc_nepali_radio.liveradio.page", - "pageTitle": "बीबीसी नेपाली रेडियो - BBC News नेपाली", - "producer": "NEPALI", - "producerId": "63" - }, - "atiAnalytics": {}, - "blockTypes": ["heading", "version", "paragraph"], - "createdBy": "nepali", - "firstPublished": 0, - "id": "urn:bbc:ares:ws_media:live:bbc_nepali_radio", + "data": { + "heading": "बीबीसी नेपाली रेडियो", + "bodySummary": "नेपाली भाषामा बीबीसी विश्व सेवाको राष्ट्रिय तथा अन्तर्राष्ट्रिय समाचार तथा समसामयिक चर्चा, राष्ट्रिय तथा अन्तर्राष्ट्रिय समाचार विश्लेषण, समाचारमा रहेका व्यक्तित्वहरुसंगको अन्तर्वार्ता, साप्ताहिक बहस तथा छलफल, विज्ञान, स्वास्थ्य.", "language": "ne", - "lastPublished": 0, - "lastUpdated": 0, - "locators": { - "pipsUrn": "urn:bbc:pips:bbc_nepali_radio" - }, - "options": {}, - "tags": {}, - "type": "WS-LIVE", - "version": "1.1.2" - }, - "promo": { - "contentType": "WS-LIVE", "id": "urn:bbc:ares:ws_media:live:bbc_nepali_radio", "name": "बीबीसी नेपाली रेडियो", "summary": "नेपाली भाषामा बीबीसी विश्व सेवाको राष्ट्रिय तथा अन्तर्राष्ट्रिय समाचार तथा समसामयिक चर्चा, राष्ट्रिय तथा अन्तर्राष्ट्रिय समाचार विश्लेषण, समाचारमा रहेका व्यक्तित्वहरुसंगको अन्तर्वार्ता, साप्ताहिक बहस तथा छलफल, विज्ञान, स्वास्थ्य.", - "type": "link", - "uri": "/nepali/bbc_nepali_radio/liveradio" + "pageTitle": "बीबीसी नेपाली रेडियो - BBC News नेपाली", + "contentType": "player-live", + "pageIdentifier": "nepali.bbc_nepali_radio.liveradio.page", + "masterBrand": "bbc_nepali_radio", + "radioScheduleData": null, + "metadata": { + "type": "Live Radio" + }, + "mediaBlock": [ + { + "type": "liveRadio", + "model": [ + { + "text": "बीबीसी नेपाली रेडियो", + "markupType": "plain_text", + "type": "heading" + }, + { + "text": "नेपाली भाषामा बीबीसी विश्व सेवाको राष्ट्रिय तथा अन्तर्राष्ट्रिय समाचार तथा समसामयिक चर्चा, राष्ट्रिय तथा अन्तर्राष्ट्रिय समाचार विश्लेषण, समाचारमा रहेका व्यक्तित्वहरुसंगको अन्तर्वार्ता, साप्ताहिक बहस तथा छलफल, विज्ञान, स्वास्थ्य.", + "type": "paragraph" + }, + { + "id": "liveradio", + "subType": "primary", + "format": "audio", + "externalId": "bbc_nepali_radio", + "duration": "PT0S", + "caption": "", + "embedding": false, + "available": true, + "live": true, + "type": "version" + } + ] + } + ] }, - "relatedContent": { - "groups": [], - "site": { - "name": "nepali", - "subType": "simple", - "type": "simple", - "uri": "/nepali" - } - } + "contentType": "application/json; charset=utf-8" } diff --git a/data/pashto/bbc_pashto_radio/liveradio.json b/data/pashto/bbc_pashto_radio/liveradio.json index 61aac4a3d66..474e881af09 100644 --- a/data/pashto/bbc_pashto_radio/liveradio.json +++ b/data/pashto/bbc_pashto_radio/liveradio.json @@ -1,67 +1,84 @@ { - "metadata": { - "id": "urn:bbc:ares:ws_media:live:bbc_pashto_radio", - "locators": { - "pipsUrn": "urn:bbc:pips:bbc_pashto_radio" - }, - "type": "WS-LIVE", - "createdBy": "pashto", + "data": { + "heading": "بي بي سي افغانستان (پښتو خپرونه)", + "bodySummary": "بي بي سي د افغانستان لپاره کورني، سیمه ییز او نړیوال وروستي او کره خبرونه د هر اړخېزو څېړونو او شننو سره تاسې ته وړاندې کوي. په پښتو او دري ژبو بېلا بېلې سیاسي، اقتصادي، ټولنېزې او روزنیزې خپرونې هر ورځ د سهار له ۵ بجو نه د شپې تر ۱۲ بجو پورې خپروي", "language": "ps", - "lastUpdated": 0, - "firstPublished": 0, - "lastPublished": 0, - "options": {}, - "analyticsLabels": { - "pageTitle": "بي بي سي افغانستان (پښتو خپرونه) - BBC News پښتو", - "pageIdentifier": "pashto.bbc_pashto_radio.liveradio.page", - "producerId": "68", - "contentType": "player-live", - "producer": "PASHTO" - }, - "tags": {}, - "version": "1.1.2", - "blockTypes": ["heading", "version", "paragraph"] - }, - "content": { - "blocks": [ + "id": "urn:bbc:ares:ws_media:live:bbc_pashto_radio", + "name": "بي بي سي افغانستان (پښتو خپرونه)", + "summary": "بي بي سي د افغانستان لپاره کورني، سیمه ییز او نړیوال وروستي او کره خبرونه د هر اړخېزو څېړونو او شننو سره تاسې ته وړاندې کوي. په پښتو او دري ژبو بېلا بېلې سیاسي، اقتصادي، ټولنېزې او روزنیزې خپرونې هر ورځ د سهار له ۵ بجو نه د شپې تر ۱۲ بجو پورې خپروي", + "pageTitle": "بي بي سي افغانستان (پښتو خپرونه) - BBC News پښتو", + "contentType": "player-live", + "pageIdentifier": "pashto.bbc_pashto_radio.liveradio.page", + "masterBrand": "bbc_pashto_radio", + "radioScheduleData": [ + { + "id": "p0jznlhy", + "state": "next", + "startTime": "2024-11-27T13:30:00.000Z", + "link": "/pashto/bbc_pashto_radio/w3ct7hh0", + "brandTitle": "پښتو تلویزیون", + "summary": "دا خپرونه له بي‌ بي سي پښتو اورئ", + "duration": "PT28M" + }, { - "text": "بي بي سي افغانستان (پښتو خپرونه)", - "markupType": "plain_text", - "type": "heading" + "id": "p0jzk28y", + "state": "onDemand", + "startTime": "2024-11-27T05:00:00.000Z", + "link": "/pashto/bbc_pashto_radio/w172zzqwck8rtr4", + "brandTitle": "د نن خبرې", + "summary": "د اورېدونکو نظرونه او وړانديزونه\n", + "duration": "PT29M30S" }, { - "text": "بي بي سي د افغانستان لپاره کورني، سیمه ییز او نړیوال وروستي او کره خبرونه د هر اړخېزو څېړونو او شننو سره تاسې ته وړاندې کوي. په پښتو او دري ژبو بېلا بېلې سیاسي، اقتصادي، ټولنېزې او روزنیزې خپرونې هر ورځ د سهار له ۵ بجو نه د شپې تر ۱۲ بجو پورې خپروي", - "type": "paragraph" + "id": "p0jzk28t", + "state": "onDemand", + "startTime": "2024-11-27T03:00:00.000Z", + "link": "/pashto/bbc_pashto_radio/w3ct7cjd", + "brandTitle": "دویمه سهارنۍ خپرونه", + "summary": "دوهمه سهارنۍ خبري راډيويي خپرونه", + "duration": "PT29M30S" }, { - "id": "liveradio", - "subType": "primary", - "format": "audio", - "externalId": "bbc_pashto_radio", - "duration": "PT0S", - "caption": "", - "embedding": false, - "available": true, - "live": true, - "type": "version" + "id": "p0jzj0m5", + "state": "onDemand", + "startTime": "2024-11-27T02:00:00.000Z", + "link": "/pashto/bbc_pashto_radio/w3ct7c8h", + "brandTitle": "لومړنۍ سهارنۍ خپرونه", + "summary": "لومړۍ سهارنۍ خبري راډيويي خپرونه", + "duration": "PT29M30S" + } + ], + "metadata": { + "type": "Live Radio" + }, + "mediaBlock": [ + { + "type": "liveRadio", + "model": [ + { + "text": "بي بي سي افغانستان (پښتو خپرونه)", + "markupType": "plain_text", + "type": "heading" + }, + { + "text": "بي بي سي د افغانستان لپاره کورني، سیمه ییز او نړیوال وروستي او کره خبرونه د هر اړخېزو څېړونو او شننو سره تاسې ته وړاندې کوي. په پښتو او دري ژبو بېلا بېلې سیاسي، اقتصادي، ټولنېزې او روزنیزې خپرونې هر ورځ د سهار له ۵ بجو نه د شپې تر ۱۲ بجو پورې خپروي", + "type": "paragraph" + }, + { + "id": "liveradio", + "subType": "primary", + "format": "audio", + "externalId": "bbc_pashto_radio", + "duration": "PT0S", + "caption": "", + "embedding": false, + "available": true, + "live": true, + "type": "version" + } + ] } ] }, - "promo": { - "name": "بي بي سي افغانستان (پښتو خپرونه)", - "summary": "بي بي سي د افغانستان لپاره کورني، سیمه ییز او نړیوال وروستي او کره خبرونه د هر اړخېزو څېړونو او شننو سره تاسې ته وړاندې کوي. په پښتو او دري ژبو بېلا بېلې سیاسي، اقتصادي، ټولنېزې او روزنیزې خپرونې هر ورځ د سهار له ۵ بجو نه د شپې تر ۱۲ بجو پورې خپروي", - "uri": "/pashto/bbc_pashto_radio/liveradio", - "contentType": "WS-LIVE", - "id": "urn:bbc:ares::ws_live:bbc_pashto_radio", - "type": "link" - }, - "relatedContent": { - "site": { - "subType": "simple", - "name": "pashto", - "uri": "/pashto", - "type": "simple" - }, - "groups": [] - } + "contentType": "application/json; charset=utf-8" } diff --git a/data/persian/bbc_dari_radio/liveradio.json b/data/persian/bbc_dari_radio/liveradio.json index 29f5f243fd9..2b7864fd871 100644 --- a/data/persian/bbc_dari_radio/liveradio.json +++ b/data/persian/bbc_dari_radio/liveradio.json @@ -1,67 +1,84 @@ { - "metadata": { - "id": "urn:bbc:ares:ws_media:live:bbc_dari_radio", - "locators": { - "pipsUrn": "urn:bbc:pips:bbc_dari_radio" - }, - "type": "WS-LIVE", - "createdBy": "persian", + "data": { + "heading": "بی بی سی افغانستان (برنامه های دری)", + "bodySummary": "بی بی سی برای افغانستان تازه ترین و دقیق ترین خبرهای افغانستان ، منطقه و جهان را با تحلیل های همه جانبه ارایه می کند. برنامه های مختلف سیاسی، اجتماعی، فرهنگی و آموزشی از ساعت پنج صبح تا دوازده شب به زبان های دری و پشتو از بی بی سی برای افغانستان.", "language": "fa", - "lastUpdated": 0, - "firstPublished": 0, - "lastPublished": 0, - "options": {}, - "analyticsLabels": { - "pageTitle": "بی بی سی افغانستان (برنامه های دری) - BBC News فارسی", - "pageIdentifier": "persian.bbc_dari_radio.liveradio.page", - "producerId": "69", - "contentType": "player-live", - "producer": "PERSIAN" - }, - "tags": {}, - "version": "1.1.2", - "blockTypes": ["heading", "version", "paragraph"] - }, - "content": { - "blocks": [ + "id": "urn:bbc:ares:ws_media:live:bbc_dari_radio", + "name": "بی بی سی افغانستان (برنامه های دری)", + "summary": "بی بی سی برای افغانستان تازه ترین و دقیق ترین خبرهای افغانستان ، منطقه و جهان را با تحلیل های همه جانبه ارایه می کند. برنامه های مختلف سیاسی، اجتماعی، فرهنگی و آموزشی از ساعت پنج صبح تا دوازده شب به زبان های دری و پشتو از بی بی سی برای افغانستان.", + "pageTitle": "بی بی سی افغانستان (برنامه های دری) - BBC News فارسی", + "contentType": "player-live", + "pageIdentifier": "persian.bbc_dari_radio.liveradio.page", + "masterBrand": "bbc_dari_radio", + "radioScheduleData": [ + { + "id": "p0jzp562", + "state": "next", + "startTime": "2024-11-27T14:00:00.000Z", + "link": "/persian/bbc_dari_radio/w3ct7b6r", + "brandTitle": "مجله شامگاهی", + "summary": "برنامه خبری و تحلیلی شامگاهی \n", + "duration": "PT30M" + }, { - "text": "بی بی سی افغانستان (برنامه های دری)", - "markupType": "plain_text", - "type": "heading" + "id": "p0jzj0jx", + "state": "onDemand", + "startTime": "2024-11-27T02:30:00.000Z", + "link": "/persian/bbc_dari_radio/w3ct79yv", + "brandTitle": "چشم انداز بامدادی 2", + "summary": "برنامه خبری صبح بی بی سی ۱", + "duration": "PT29M30S" }, { - "text": "بی بی سی برای افغانستان تازه ترین و دقیق ترین خبرهای افغانستان ، منطقه و جهان را با تحلیل های همه جانبه ارایه می کند. برنامه های مختلف سیاسی، اجتماعی، فرهنگی و آموزشی از ساعت پنج صبح تا دوازده شب به زبان های دری و پشتو از بی بی سی برای افغانستان.", - "type": "paragraph" + "id": "p0jzhszf", + "state": "onDemand", + "startTime": "2024-11-27T01:30:00.000Z", + "link": "/persian/bbc_dari_radio/w3ct79py", + "brandTitle": "چشم انداز بامدادی 1", + "summary": "برنامه خبری صبح بی بی سی ۱\n", + "duration": "PT29M30S" }, { - "id": "liveradio", - "subType": "primary", - "format": "audio", - "externalId": "bbc_dari_radio", - "duration": "PT0S", - "caption": "", - "embedding": false, - "available": true, - "live": true, - "type": "version" + "id": "p0jzg8nl", + "state": "onDemand", + "startTime": "2024-11-26T16:00:00.000Z", + "link": "/persian/bbc_dari_radio/w172zyy8fyh6zfx", + "brandTitle": "خبر و نظر", + "summary": "برنامه نظر و تحلیل شنوندگان\n", + "duration": "PT29M30S" + } + ], + "metadata": { + "type": "Live Radio" + }, + "mediaBlock": [ + { + "type": "liveRadio", + "model": [ + { + "text": "بی بی سی افغانستان (برنامه های دری)", + "markupType": "plain_text", + "type": "heading" + }, + { + "text": "بی بی سی برای افغانستان تازه ترین و دقیق ترین خبرهای افغانستان ، منطقه و جهان را با تحلیل های همه جانبه ارایه می کند. برنامه های مختلف سیاسی، اجتماعی، فرهنگی و آموزشی از ساعت پنج صبح تا دوازده شب به زبان های دری و پشتو از بی بی سی برای افغانستان.", + "type": "paragraph" + }, + { + "id": "liveradio", + "subType": "primary", + "format": "audio", + "externalId": "bbc_dari_radio", + "duration": "PT0S", + "caption": "", + "embedding": false, + "available": true, + "live": true, + "type": "version" + } + ] } ] }, - "promo": { - "name": "بی بی سی افغانستان (برنامه های دری)", - "summary": "بی بی سی برای افغانستان تازه ترین و دقیق ترین خبرهای افغانستان ، منطقه و جهان را با تحلیل های همه جانبه ارایه می کند. برنامه های مختلف سیاسی، اجتماعی، فرهنگی و آموزشی از ساعت پنج صبح تا دوازده شب به زبان های دری و پشتو از بی بی سی برای افغانستان.", - "uri": "/persian/bbc_dari_radio/liveradio", - "contentType": "WS-LIVE", - "id": "urn:bbc:ares::ws_live:bbc_dari_radio", - "type": "link" - }, - "relatedContent": { - "site": { - "subType": "simple", - "name": "persian", - "uri": "/persian", - "type": "simple" - }, - "groups": [] - } + "contentType": "application/json; charset=utf-8" } diff --git a/data/persian/bbc_persian_radio/liveradio.json b/data/persian/bbc_persian_radio/liveradio.json deleted file mode 100644 index 17e517856be..00000000000 --- a/data/persian/bbc_persian_radio/liveradio.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "metadata": { - "id": "urn:bbc:ares:ws_media:live:bbc_persian_radio", - "locators": { - "pipsUrn": "urn:bbc:pips:bbc_persian_radio" - }, - "type": "WS-LIVE", - "createdBy": "persian", - "language": "fa", - "lastUpdated": 0, - "firstPublished": 0, - "lastPublished": 0, - "options": {}, - "analyticsLabels": { - "pageTitle": "رادیو فارسی بی‌بی‌سی - BBC News فارسی", - "pageIdentifier": "persian.bbc_persian_radio.liveradio.page", - "producerId": "69", - "contentType": "player-live", - "producer": "PERSIAN" - }, - "tags": {}, - "version": "1.1.2", - "blockTypes": ["heading", "version", "paragraph"] - }, - "content": { - "blocks": [ - { - "text": "رادیو فارسی بی‌بی‌سی", - "markupType": "plain_text", - "type": "heading" - }, - { - "text": "مجله خبری بخش فارسی رادیو بی‌بی‌سی را هر روز از ساعت ۶ تا ۸ صبح به وقت تهران (۲:۳۰ تا ۴:۳۰ به وقت گرینیچ) بشنوید. این برنامه شامل تازه‌ترین خبرهای روز ایران و جهان، به همراه گزارش، گفت وگو و تحلیل و تفسیر درباره رویدادهای ایران، منطقه و جهان است.", - "type": "paragraph" - }, - { - "id": "liveradio", - "subType": "primary", - "format": "audio", - "externalId": "bbc_persian_radio", - "duration": "PT0S", - "caption": "", - "embedding": false, - "available": true, - "live": true, - "type": "version" - } - ] - }, - "promo": { - "name": "رادیو فارسی بی‌بی‌سی", - "summary": "مجله خبری بخش فارسی رادیو بی‌بی‌سی را هر روز از ساعت ۶ تا ۸ صبح به وقت تهران (۲:۳۰ تا ۴:۳۰ به وقت گرینیچ) بشنوید. این برنامه شامل تازه‌ترین خبرهای روز ایران و جهان، به همراه گزارش، گفت وگو و تحلیل و تفسیر درباره رویدادهای ایران، منطقه و جهان است.", - "uri": "/persian/bbc_persian_radio/liveradio", - "contentType": "WS-LIVE", - "id": "urn:bbc:ares::ws_live:bbc_persian_radio", - "type": "link" - }, - "relatedContent": { - "site": { - "subType": "simple", - "name": "persian", - "uri": "/persian", - "type": "simple" - }, - "groups": [] - } -} diff --git a/data/russian/bbc_russian_radio/liveradio.json b/data/russian/bbc_russian_radio/liveradio.json deleted file mode 100644 index 5d10435566d..00000000000 --- a/data/russian/bbc_russian_radio/liveradio.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "metadata": { - "id": "urn:bbc:ares::ws_live:bbc_russian_radio", - "locators": { - "pipsUrn": "urn:bbc:pips:bbc_russian_radio" - }, - "type": "WS-LIVE", - "createdBy": "russian", - "language": "ru", - "lastUpdated": 0, - "firstPublished": 0, - "lastPublished": 0, - "options": {}, - "analyticsLabels": { - "pageTitle": "Русская служба Би-би-си - BBC News Русская служба", - "pageIdentifier": "russian.bbc_russian_radio.liveradio.page", - "producerId": "75", - "contentType": "player-live", - "producer": "RUSSIAN" - }, - "tags": {}, - "version": "1.1.2", - "blockTypes": ["heading", "version", "paragraph"] - }, - "content": { - "blocks": [ - { - "text": "Русская служба Би-би-си", - "markupType": "plain_text", - "type": "heading" - }, - { - "text": "мировые новости с местным колоритом. Как видятся события в России и регионе из-за рубежа.", - "type": "paragraph" - }, - { - "id": "liveradio", - "subType": "primary", - "format": "audio", - "externalId": "bbc_russian_radio", - "duration": "PT0S", - "caption": "", - "embedding": false, - "available": true, - "live": true, - "type": "version" - } - ] - }, - "promo": { - "name": "Русская служба Би-би-си", - "summary": "мировые новости с местным колоритом. Как видятся события в России и регионе из-за рубежа.", - "uri": "/russian/bbc_russian_radio/liveradio", - "contentType": "WS-LIVE", - "id": "urn:bbc:ares::ws_live:bbc_russian_radio", - "type": "link" - }, - "relatedContent": { - "site": { - "subType": "simple", - "name": "russian", - "uri": "/russian", - "type": "simple" - }, - "groups": [] - } -} diff --git a/data/sinhala/bbc_sinhala_radio/liveradio.json b/data/sinhala/bbc_sinhala_radio/liveradio.json deleted file mode 100644 index b2b3ffcacb9..00000000000 --- a/data/sinhala/bbc_sinhala_radio/liveradio.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "content": { - "blocks": [ - { - "markupType": "plain_text", - "text": "බීබීසී සිංහල සංදේශය", - "type": "heading" - }, - { - "text": "බීබීසී සිංහල ඔස්සේ ශ්‍රී ලාංකීය, දකුණු ආසියාතික සහ ජාත්‍යන්තර පුවත්, විශ්ලේෂණ සහ ක්‍රීඩා පුවත්", - "type": "paragraph" - }, - { - "available": true, - "caption": "", - "duration": "PT0S", - "embedding": false, - "externalId": "bbc_sinhala_radio", - "format": "audio", - "id": "liveradio", - "live": true, - "subType": "primary", - "type": "version" - } - ] - }, - "metadata": { - "analyticsLabels": { - "contentType": "player-live", - "pageIdentifier": "sinhala.bbc_sinhala_radio.liveradio.page", - "pageTitle": "බීබීසී සිංහල සංදේශය - BBC News සිංහල", - "producer": "SINHALA", - "producerId": "82" - }, - "atiAnalytics": {}, - "blockTypes": ["heading", "version", "paragraph"], - "createdBy": "sinhala", - "firstPublished": 0, - "id": "urn:bbc:ares:ws_media:live:bbc_sinhala_radio", - "language": "si", - "lastPublished": 0, - "lastUpdated": 0, - "locators": { - "pipsUrn": "urn:bbc:pips:bbc_sinhala_radio" - }, - "options": {}, - "tags": {}, - "type": "WS-LIVE", - "version": "1.1.2" - }, - "promo": { - "contentType": "WS-LIVE", - "id": "urn:bbc:ares:ws_media:live:bbc_sinhala_radio", - "name": "බීබීසී සිංහල සංදේශය", - "summary": "බීබීසී සිංහල ඔස්සේ ශ්‍රී ලාංකීය, දකුණු ආසියාතික සහ ජාත්‍යන්තර පුවත්, විශ්ලේෂණ සහ ක්‍රීඩා පුවත්", - "type": "link", - "uri": "/sinhala/bbc_sinhala_radio/liveradio" - }, - "relatedContent": { - "groups": [], - "site": { - "name": "sinhala", - "subType": "simple", - "type": "simple", - "uri": "/sinhala" - } - } -} diff --git a/data/somali/bbc_somali_radio/liveradio.json b/data/somali/bbc_somali_radio/liveradio.json index 6cc6f93c08b..e9f7c27eac4 100644 --- a/data/somali/bbc_somali_radio/liveradio.json +++ b/data/somali/bbc_somali_radio/liveradio.json @@ -1,67 +1,84 @@ { - "metadata": { - "id": "urn:bbc:ares:ws_media:live:bbc_somali_radio", - "locators": { - "pipsUrn": "urn:bbc:pips:bbc_somali_radio" - }, - "type": "WS-LIVE", - "createdBy": "somali", + "data": { + "heading": "Raadiyaha BBC Soomaali", + "bodySummary": "Wararka iyo xaaladda taagan ee dunida oo dhan, faallo, muusig, madadaallo iyo cayaaro.", "language": "so", - "lastUpdated": 0, - "firstPublished": 0, - "lastPublished": 0, - "options": {}, - "analyticsLabels": { - "pageTitle": "Raadiyaha BBC Soomaali - BBC News Somali", - "pageIdentifier": "somali.bbc_somali_radio.liveradio.page", - "producerId": "83", - "contentType": "player-live", - "producer": "SOMALI" - }, - "tags": {}, - "version": "1.1.2", - "blockTypes": ["heading", "version", "paragraph"] - }, - "content": { - "blocks": [ + "id": "urn:bbc:ares:ws_media:live:bbc_somali_radio", + "name": "Raadiyaha BBC Soomaali", + "summary": "Wararka iyo xaaladda taagan ee dunida oo dhan, faallo, muusig, madadaallo iyo cayaaro.", + "pageTitle": "Raadiyaha BBC Soomaali - BBC News Somali", + "contentType": "player-live", + "pageIdentifier": "somali.bbc_somali_radio.liveradio.page", + "masterBrand": "bbc_somali_radio", + "radioScheduleData": [ + { + "id": "p0jznlbb", + "state": "next", + "startTime": "2024-11-27T13:59:30.000Z", + "link": "/somali/bbc_somali_radio/w172zyh9xk7mgjv", + "brandTitle": "Dunida Iyo Maanta", + "summary": "Barnaamij aan ku eegno wararkii ugu dambeeyay ee caalamka iyo Soomaalida.", + "duration": "PT1H" + }, { - "text": "Raadiyaha BBC Soomaali", - "markupType": "plain_text", - "type": "heading" + "id": "p0jzk210", + "state": "onDemand", + "startTime": "2024-11-27T04:00:00.000Z", + "link": "/somali/bbc_somali_radio/w172zyhqmxjxxb5", + "brandTitle": "Idaacadda Subaxnimo", + "summary": "Barnaamijka aroornimo ee soo bandhiga wararka gogoldhaca u ah maalinta iyo cayaaraha.", + "duration": "PT29M" }, { - "text": "Wararka iyo xaaladda taagan ee dunida oo dhan, faallo, muusig, madadaallo iyo cayaaro.", - "type": "paragraph" + "id": "p0jzf5jq", + "state": "onDemand", + "startTime": "2024-11-26T13:59:30.000Z", + "link": "/somali/bbc_somali_radio/w172zyh9xk7jkmr", + "brandTitle": "Dunida Iyo Maanta", + "summary": "Barnaamij aan ku eegno wararkii ugu dambeeyay ee caalamka iyo Soomaalida.", + "duration": "PT1H" }, { - "id": "liveradio", - "subType": "primary", - "format": "audio", - "externalId": "bbc_somali_radio", - "duration": "PT0S", - "caption": "", - "embedding": false, - "available": true, - "live": true, - "type": "version" + "id": "p0jzbcyj", + "state": "onDemand", + "startTime": "2024-11-26T04:00:00.000Z", + "link": "/somali/bbc_somali_radio/w172zyhqmxjv0f2", + "brandTitle": "Idaacadda Subaxnimo", + "summary": "Barnaamijka aroornimo ee soo bandhiga wararka gogoldhaca u ah maalinta iyo cayaaraha.", + "duration": "PT29M" + } + ], + "metadata": { + "type": "Live Radio" + }, + "mediaBlock": [ + { + "type": "liveRadio", + "model": [ + { + "text": "Raadiyaha BBC Soomaali", + "markupType": "plain_text", + "type": "heading" + }, + { + "text": "Wararka iyo xaaladda taagan ee dunida oo dhan, faallo, muusig, madadaallo iyo cayaaro.", + "type": "paragraph" + }, + { + "id": "liveradio", + "subType": "primary", + "format": "audio", + "externalId": "bbc_somali_radio", + "duration": "PT0S", + "caption": "", + "embedding": false, + "available": true, + "live": true, + "type": "version" + } + ] } ] }, - "promo": { - "name": "Raadiyaha BBC Soomaali", - "summary": "Wararka iyo xaaladda taagan ee dunida oo dhan, faallo, muusig, madadaallo iyo cayaaro.", - "uri": "/somali/bbc_somali_radio/liveradio", - "contentType": "WS-LIVE", - "id": "urn:bbc:ares::ws_live:bbc_somali_radio", - "type": "link" - }, - "relatedContent": { - "site": { - "subType": "simple", - "name": "somali", - "uri": "/somali", - "type": "simple" - }, - "groups": [] - } + "contentType": "application/json; charset=utf-8" } diff --git a/data/swahili/bbc_swahili_radio/liveradio.json b/data/swahili/bbc_swahili_radio/liveradio.json index f2f8f4bd187..c6b2f6243c9 100644 --- a/data/swahili/bbc_swahili_radio/liveradio.json +++ b/data/swahili/bbc_swahili_radio/liveradio.json @@ -1,67 +1,84 @@ { - "metadata": { - "id": "urn:bbc:ares:ws_media:live:bbc_swahili_radio", - "locators": { - "pipsUrn": "urn:bbc:pips:bbc_swahili_radio" - }, - "type": "WS-LIVE", - "createdBy": "swahili", + "data": { + "heading": "BBC Swahili Radio", + "bodySummary": "Habari za kimataifa, michezo na uchambuzi kutoka kwa idhaa ya dunia.", "language": "sw", - "lastUpdated": 0, - "firstPublished": 0, - "lastPublished": 0, - "options": {}, - "analyticsLabels": { - "pageTitle": "BBC Swahili Radio - BBC News Swahili", - "pageIdentifier": "swahili.bbc_swahili_radio.liveradio.page", - "producerId": "86", - "contentType": "player-live", - "producer": "SWAHILI" - }, - "tags": {}, - "version": "1.1.2", - "blockTypes": ["heading", "version", "paragraph"] - }, - "content": { - "blocks": [ + "id": "urn:bbc:ares:ws_media:live:bbc_swahili_radio", + "name": "BBC Swahili Radio", + "summary": "Habari za kimataifa, michezo na uchambuzi kutoka kwa idhaa ya dunia.", + "pageTitle": "BBC Swahili Radio - BBC News Swahili", + "contentType": "player-live", + "pageIdentifier": "swahili.bbc_swahili_radio.liveradio.page", + "masterBrand": "bbc_swahili_radio", + "radioScheduleData": [ + { + "id": "p0jzpxmb", + "state": "next", + "startTime": "2024-11-27T15:29:30.000Z", + "link": "/swahili/bbc_swahili_radio/w172zygh3kbthgl", + "brandTitle": "Dira Ya Dunia", + "summary": "Kipindi cha habari, makala na mahojiano cha kila siku kuanzia saa kumi na mbili unusu jioni Afrika Mashariki", + "duration": "PT1H" + }, { - "text": "BBC Swahili Radio", - "markupType": "plain_text", - "type": "heading" + "id": "p0jzk26y", + "state": "onDemand", + "startTime": "2024-11-27T03:59:30.000Z", + "link": "/swahili/bbc_swahili_radio/w172zyg2d61fg5g", + "brandTitle": "Amka Na BBC", + "summary": "Kipindi cha habari, mahojiano na makala kila siku saa kumi na mbili na saa moja asubuhi Afrika Mashariki", + "duration": "PT29M30S" }, { - "text": "Habari za kimataifa, michezo na uchambuzi kutoka kwa idhaa ya dunia.", - "type": "paragraph" + "id": "p0jzj0lj", + "state": "onDemand", + "startTime": "2024-11-27T02:59:30.000Z", + "link": "/swahili/bbc_swahili_radio/w172zyg2d61fbfb", + "brandTitle": "Amka Na BBC", + "summary": "Kipindi cha habari, mahojiano na makala kila siku saa kumi na mbili na saa moja asubuhi Afrika Mashariki", + "duration": "PT29M30S" }, { - "id": "liveradio", - "subType": "primary", - "format": "audio", - "externalId": "bbc_swahili_radio", - "duration": "PT0S", - "caption": "", - "embedding": false, - "available": true, - "live": true, - "type": "version" + "id": "p0jzfxtb", + "state": "onDemand", + "startTime": "2024-11-26T15:29:30.000Z", + "link": "/swahili/bbc_swahili_radio/w172zygh3kbqlkh", + "brandTitle": "Dira Ya Dunia", + "summary": "Kipindi cha habari, makala na mahojiano cha kila siku kuanzia saa kumi na mbili unusu jioni Afrika Mashariki", + "duration": "PT1H" + } + ], + "metadata": { + "type": "Live Radio" + }, + "mediaBlock": [ + { + "type": "liveRadio", + "model": [ + { + "text": "BBC Swahili Radio", + "markupType": "plain_text", + "type": "heading" + }, + { + "text": "Habari za kimataifa, michezo na uchambuzi kutoka kwa idhaa ya dunia.", + "type": "paragraph" + }, + { + "id": "liveradio", + "subType": "primary", + "format": "audio", + "externalId": "bbc_swahili_radio", + "duration": "PT0S", + "caption": "", + "embedding": false, + "available": true, + "live": true, + "type": "version" + } + ] } ] }, - "promo": { - "name": "BBC Swahili Radio", - "summary": "Habari za kimataifa, michezo na uchambuzi kutoka kwa idhaa ya dunia.", - "uri": "/swahili/bbc_swahili_radio/liveradio", - "contentType": "WS-LIVE", - "id": "urn:bbc:ares::ws_live:bbc_swahili_radio", - "type": "link" - }, - "relatedContent": { - "site": { - "subType": "simple", - "name": "swahili", - "uri": "/swahili", - "type": "simple" - }, - "groups": [] - } + "contentType": "application/json; charset=utf-8" } diff --git a/data/tamil/bbc_tamil_radio/liveradio.json b/data/tamil/bbc_tamil_radio/liveradio.json index a93fc125941..22e4394eb89 100644 --- a/data/tamil/bbc_tamil_radio/liveradio.json +++ b/data/tamil/bbc_tamil_radio/liveradio.json @@ -1,67 +1,47 @@ { - "metadata": { - "id": "urn:bbc:ares:ws_media:live:bbc_tamil_radio", - "locators": { - "pipsUrn": "urn:bbc:pips:bbc_tamil_radio" - }, - "type": "WS-LIVE", - "createdBy": "tamil", + "data": { + "heading": "பிபிசி தமிழோசை", + "bodySummary": "சர்வதேச, இந்திய, இலங்கை செய்திகள் மற்றும் நடப்புத் தகவல்களை வழங்கும் ஓர் நிகழ்ச்சி. அறிவியல், விளையாட்டு, கலை, கலாச்சாரம் மற்றும் பொழுதுபோக்கு தொடர்பான செய்திகளும் இதில் இடம்பெறும். சிற்றலை வானொலியிலும் பிபிசிதமிழ்.காம் இணையதளத்திலும் இதைக் கேட்கலாம்.", "language": "ta", - "lastUpdated": 0, - "firstPublished": 0, - "lastPublished": 0, - "options": {}, - "analyticsLabels": { - "pageTitle": "பிபிசி தமிழோசை - BBC News தமிழ்", - "pageIdentifier": "tamil.bbc_tamil_radio.liveradio.page", - "producerId": "87", - "contentType": "player-live", - "producer": "TAMIL" + "id": "urn:bbc:ares:ws_media:live:bbc_tamil_radio", + "name": "பிபிசி தமிழோசை", + "summary": "சர்வதேச, இந்திய, இலங்கை செய்திகள் மற்றும் நடப்புத் தகவல்களை வழங்கும் ஓர் நிகழ்ச்சி. அறிவியல், விளையாட்டு, கலை, கலாச்சாரம் மற்றும் பொழுதுபோக்கு தொடர்பான செய்திகளும் இதில் இடம்பெறும். சிற்றலை வானொலியிலும் பிபிசிதமிழ்.காம் இணையதளத்திலும் இதைக் கேட்கலாம்.", + "pageTitle": "பிபிசி தமிழோசை - BBC News தமிழ்", + "contentType": "player-live", + "pageIdentifier": "tamil.bbc_tamil_radio.liveradio.page", + "masterBrand": "bbc_tamil_radio", + "radioScheduleData": null, + "metadata": { + "type": "Live Radio" }, - "tags": {}, - "version": "1.1.2", - "blockTypes": ["heading", "version", "paragraph"] - }, - "content": { - "blocks": [ + "mediaBlock": [ { - "text": "பிபிசி தமிழோசை", - "markupType": "plain_text", - "type": "heading" - }, - { - "text": "சர்வதேச, இந்திய, இலங்கை செய்திகள் மற்றும் நடப்புத் தகவல்களை வழங்கும் ஓர் நிகழ்ச்சி. அறிவியல், விளையாட்டு, கலை, கலாச்சாரம் மற்றும் பொழுதுபோக்கு தொடர்பான செய்திகளும் இதில் இடம்பெறும். சிற்றலை வானொலியிலும் பிபிசிதமிழ்.காம் இணையதளத்திலும் இதைக் கேட்கலாம்.", - "type": "paragraph" - }, - { - "id": "liveradio", - "subType": "primary", - "format": "audio", - "externalId": "bbc_tamil_radio", - "duration": "PT0S", - "caption": "", - "embedding": false, - "available": true, - "live": true, - "type": "version" + "type": "liveRadio", + "model": [ + { + "text": "பிபிசி தமிழோசை", + "markupType": "plain_text", + "type": "heading" + }, + { + "text": "சர்வதேச, இந்திய, இலங்கை செய்திகள் மற்றும் நடப்புத் தகவல்களை வழங்கும் ஓர் நிகழ்ச்சி. அறிவியல், விளையாட்டு, கலை, கலாச்சாரம் மற்றும் பொழுதுபோக்கு தொடர்பான செய்திகளும் இதில் இடம்பெறும். சிற்றலை வானொலியிலும் பிபிசிதமிழ்.காம் இணையதளத்திலும் இதைக் கேட்கலாம்.", + "type": "paragraph" + }, + { + "id": "liveradio", + "subType": "primary", + "format": "audio", + "externalId": "bbc_tamil_radio", + "duration": "PT0S", + "caption": "", + "embedding": false, + "available": true, + "live": true, + "type": "version" + } + ] } ] }, - "promo": { - "name": "பிபிசி தமிழோசை", - "summary": "சர்வதேச, இந்திய, இலங்கை செய்திகள் மற்றும் நடப்புத் தகவல்களை வழங்கும் ஓர் நிகழ்ச்சி. அறிவியல், விளையாட்டு, கலை, கலாச்சாரம் மற்றும் பொழுதுபோக்கு தொடர்பான செய்திகளும் இதில் இடம்பெறும். சிற்றலை வானொலியிலும் பிபிசிதமிழ்.காம் இணையதளத்திலும் இதைக் கேட்கலாம்.", - "uri": "/tamil/bbc_tamil_radio/liveradio", - "contentType": "WS-LIVE", - "id": "urn:bbc:ares::ws_live:bbc_tamil_radio", - "type": "link" - }, - "relatedContent": { - "site": { - "subType": "simple", - "name": "tamil", - "uri": "/tamil", - "type": "simple" - }, - "groups": [] - } + "contentType": "application/json; charset=utf-8" } diff --git a/data/tigrinya/bbc_tigrinya_radio/liveradio.json b/data/tigrinya/bbc_tigrinya_radio/liveradio.json index e02d9cc4ae2..686b615b83a 100644 --- a/data/tigrinya/bbc_tigrinya_radio/liveradio.json +++ b/data/tigrinya/bbc_tigrinya_radio/liveradio.json @@ -1,67 +1,47 @@ { - "metadata": { - "id": "urn:bbc:ares:ws_media:live:bbc_tigrinya_radio", - "locators": { - "pipsUrn": "urn:bbc:pips:bbc_tigrinya_radio" - }, - "type": "WS-LIVE", - "createdBy": "tigrinya", + "data": { + "heading": "ስምዑ", + "bodySummary": "መደባትና", "language": "ti", - "lastUpdated": 0, - "firstPublished": 0, - "lastPublished": 0, - "options": {}, - "analyticsLabels": { - "pageTitle": "ስምዑ - BBC News ትግርኛ", - "pageIdentifier": "tigrinya.bbc_tigrinya_radio.liveradio.page", - "producerId": "91", - "contentType": "player-live", - "producer": "TIGRINYA" + "id": "urn:bbc:ares:ws_media:live:bbc_tigrinya_radio", + "name": "ስምዑ", + "summary": "መደባትና", + "pageTitle": "ስምዑ - BBC News ትግርኛ", + "contentType": "player-live", + "pageIdentifier": "tigrinya.bbc_tigrinya_radio.liveradio.page", + "masterBrand": "bbc_tigrinya_radio", + "radioScheduleData": null, + "metadata": { + "type": "Live Radio" }, - "tags": {}, - "version": "1.1.2", - "blockTypes": ["heading", "version", "paragraph"] - }, - "content": { - "blocks": [ + "mediaBlock": [ { - "text": "ስምዑ", - "markupType": "plain_text", - "type": "heading" - }, - { - "text": "መደባትና", - "type": "paragraph" - }, - { - "id": "liveradio", - "subType": "primary", - "format": "audio", - "externalId": "bbc_tigrinya_radio", - "duration": "PT0S", - "caption": "", - "embedding": false, - "available": true, - "live": true, - "type": "version" + "type": "liveRadio", + "model": [ + { + "text": "ስምዑ", + "markupType": "plain_text", + "type": "heading" + }, + { + "text": "መደባትና", + "type": "paragraph" + }, + { + "id": "liveradio", + "subType": "primary", + "format": "audio", + "externalId": "bbc_tigrinya_radio", + "duration": "PT0S", + "caption": "", + "embedding": false, + "available": true, + "live": true, + "type": "version" + } + ] } ] }, - "promo": { - "name": "ስምዑ", - "summary": "መደባትና", - "uri": "/tigrinya/bbc_tigrinya_radio/liveradio", - "contentType": "WS-LIVE", - "id": "urn:bbc:ares::ws_live:bbc_tigrinya_radio", - "type": "link" - }, - "relatedContent": { - "site": { - "subType": "simple", - "name": "tigrinya", - "uri": "/tigrinya", - "type": "simple" - }, - "groups": [] - } + "contentType": "application/json; charset=utf-8" } diff --git a/data/urdu/bbc_urdu_radio/liveradio.json b/data/urdu/bbc_urdu_radio/liveradio.json index be06de79e7b..40ba2b0626c 100644 --- a/data/urdu/bbc_urdu_radio/liveradio.json +++ b/data/urdu/bbc_urdu_radio/liveradio.json @@ -1,67 +1,47 @@ { - "metadata": { - "id": "urn:bbc:ares:ws_media:live:bbc_urdu_radio", - "locators": { - "pipsUrn": "urn:bbc:pips:bbc_urdu_radio" - }, - "type": "WS-LIVE", - "createdBy": "urdu", + "data": { + "heading": "بی بی سی اردو ریڈیو", + "bodySummary": "اردو زبان کے معتبر ترین خبررساں اداروں میں ایک، بی بی سی اردو کی جانب سے مصدقہ خبریں اور جامع تجزیے", "language": "ur", - "lastUpdated": 0, - "firstPublished": 0, - "lastPublished": 0, - "options": {}, - "analyticsLabels": { - "pageTitle": "بی بی سی اردو ریڈیو - BBC News اردو", - "pageIdentifier": "urdu.bbc_urdu_radio.liveradio.page", - "producerId": "95", - "contentType": "player-live", - "producer": "URDU" + "id": "urn:bbc:ares:ws_media:live:bbc_urdu_radio", + "name": "بی بی سی اردو ریڈیو", + "summary": "اردو زبان کے معتبر ترین خبررساں اداروں میں ایک، بی بی سی اردو کی جانب سے مصدقہ خبریں اور جامع تجزیے", + "pageTitle": "بی بی سی اردو ریڈیو - BBC News اردو", + "contentType": "player-live", + "pageIdentifier": "urdu.bbc_urdu_radio.liveradio.page", + "masterBrand": "bbc_urdu_radio", + "radioScheduleData": null, + "metadata": { + "type": "Live Radio" }, - "tags": {}, - "version": "1.1.2", - "blockTypes": ["heading", "version", "paragraph"] - }, - "content": { - "blocks": [ + "mediaBlock": [ { - "text": "بی بی سی اردو ریڈیو", - "markupType": "plain_text", - "type": "heading" - }, - { - "text": "اردو زبان کے معتبر ترین خبررساں اداروں میں ایک، بی بی سی اردو کی جانب سے مصدقہ خبریں اور جامع تجزیے", - "type": "paragraph" - }, - { - "id": "liveradio", - "subType": "primary", - "format": "audio", - "externalId": "bbc_urdu_radio", - "duration": "PT0S", - "caption": "", - "embedding": false, - "available": true, - "live": true, - "type": "version" + "type": "liveRadio", + "model": [ + { + "text": "بی بی سی اردو ریڈیو", + "markupType": "plain_text", + "type": "heading" + }, + { + "text": "اردو زبان کے معتبر ترین خبررساں اداروں میں ایک، بی بی سی اردو کی جانب سے مصدقہ خبریں اور جامع تجزیے", + "type": "paragraph" + }, + { + "id": "liveradio", + "subType": "primary", + "format": "audio", + "externalId": "bbc_urdu_radio", + "duration": "PT0S", + "caption": "", + "embedding": false, + "available": true, + "live": true, + "type": "version" + } + ] } ] }, - "promo": { - "name": "بی بی سی اردو ریڈیو", - "summary": "اردو زبان کے معتبر ترین خبررساں اداروں میں ایک، بی بی سی اردو کی جانب سے مصدقہ خبریں اور جامع تجزیے", - "uri": "/urdu/bbc_urdu_radio/liveradio", - "contentType": "WS-LIVE", - "id": "urn:bbc:ares::ws_live:bbc_urdu_radio", - "type": "link" - }, - "relatedContent": { - "site": { - "subType": "simple", - "name": "urdu", - "uri": "/urdu", - "type": "simple" - }, - "groups": [] - } + "contentType": "application/json; charset=utf-8" } diff --git a/data/uzbek/bbc_uzbek_radio/liveradio.json b/data/uzbek/bbc_uzbek_radio/liveradio.json index 9ac34388da9..581962304e3 100644 --- a/data/uzbek/bbc_uzbek_radio/liveradio.json +++ b/data/uzbek/bbc_uzbek_radio/liveradio.json @@ -1,67 +1,47 @@ { - "metadata": { - "id": "urn:bbc:ares:ws_media:live:bbc_uzbek_radio", - "locators": { - "pipsUrn": "urn:bbc:pips:bbc_uzbek_radio" - }, - "type": "WS-LIVE", - "createdBy": "uzbek", + "data": { + "heading": "BBC Uzbek Radio Dasturi", + "bodySummary": "O’zbekiston, mintaqa va dunyo yangiliklari O’zbek tilida", "language": "uz", - "lastUpdated": 0, - "firstPublished": 0, - "lastPublished": 0, - "options": {}, - "analyticsLabels": { - "pageTitle": "BBC Uzbek Radio - BBC News O'zbek", - "pageIdentifier": "uzbek.bbc_uzbek_radio.liveradio.page", - "producerId": "96", - "contentType": "player-live", - "producer": "UZBEK" + "id": "urn:bbc:ares:ws_media:live:bbc_uzbek_radio", + "name": "BBC Uzbek Radio Dasturi", + "summary": "O’zbekiston, mintaqa va dunyo yangiliklari O’zbek tilida", + "pageTitle": "BBC Uzbek Radio - BBC News O'zbek", + "contentType": "player-live", + "pageIdentifier": "uzbek.bbc_uzbek_radio.liveradio.page", + "masterBrand": "bbc_uzbek_radio", + "radioScheduleData": null, + "metadata": { + "type": "Live Radio" }, - "tags": {}, - "version": "1.1.2", - "blockTypes": ["heading", "version", "paragraph"] - }, - "content": { - "blocks": [ - { - "text": "BBC Uzbek Radio Dasturi", - "markupType": "plain_text", - "type": "heading" - }, + "mediaBlock": [ { - "text": "O’zbekiston, mintaqa va dunyo yangiliklari O’zbek tilida", - "type": "paragraph" - }, - { - "id": "liveradio", - "subType": "primary", - "format": "audio", - "externalId": "bbc_uzbek_radio", - "duration": "PT0S", - "caption": "", - "embedding": false, - "available": true, - "live": true, - "type": "version" + "type": "liveRadio", + "model": [ + { + "text": "BBC Uzbek Radio Dasturi", + "markupType": "plain_text", + "type": "heading" + }, + { + "text": "O’zbekiston, mintaqa va dunyo yangiliklari O’zbek tilida", + "type": "paragraph" + }, + { + "id": "liveradio", + "subType": "primary", + "format": "audio", + "externalId": "bbc_uzbek_radio", + "duration": "PT0S", + "caption": "", + "embedding": false, + "available": true, + "live": true, + "type": "version" + } + ] } ] }, - "promo": { - "name": "BBC Uzbek Radio Dasturi", - "summary": "O’zbekiston, mintaqa va dunyo yangiliklari O’zbek tilida", - "uri": "/uzbek/bbc_uzbek_radio/liveradio", - "contentType": "WS-LIVE", - "id": "urn:bbc:ares:ws_media:live:bbc_uzbek_radio", - "type": "link" - }, - "relatedContent": { - "site": { - "subType": "simple", - "name": "uzbek", - "uri": "/uzbek", - "type": "simple" - }, - "groups": [] - } + "contentType": "application/json; charset=utf-8" } From 863cdc7aa344281776069dad639aaf202540be39 Mon Sep 17 00:00:00 2001 From: HarveyPeachey Date: Wed, 27 Nov 2024 12:55:36 +0000 Subject: [PATCH 08/28] fixes media loader tests --- src/app/components/MediaLoader/utils/buildSettings.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/components/MediaLoader/utils/buildSettings.test.ts b/src/app/components/MediaLoader/utils/buildSettings.test.ts index 2c9a2d4bcb1..77daa286adb 100644 --- a/src/app/components/MediaLoader/utils/buildSettings.test.ts +++ b/src/app/components/MediaLoader/utils/buildSettings.test.ts @@ -1,5 +1,5 @@ import { PageTypes, Services } from '#app/models/types/global'; -import { MEDIA_PAGE } from '#app/routes/utils/pageTypes'; +import { LIVE_RADIO_PAGE, MEDIA_PAGE } from '#app/routes/utils/pageTypes'; import hindiTvProgramme from '#data/hindi/bbc_hindi_tv/tv_programmes/w13xttlw.json'; import hausaLiveRadio from '#data/hausa/bbc_hausa_radio/liveradio.json'; import afriqueRadio from '#data/afrique/bbc_afrique_radio/w172xqydyfv659p.json'; @@ -917,14 +917,14 @@ describe('buildSettings', () => { const hausaLiveRadioBlocks = [ { type: 'liveRadio', - model: hausaLiveRadio?.content?.blocks, + model: hausaLiveRadio?.data?.mediaBlock?.[0]?.model, }, ]; const result = buildSettings({ ...hausaLiveRadioBaseSettings, blocks: hausaLiveRadioBlocks as MediaBlock[], - pageType: MEDIA_PAGE, + pageType: LIVE_RADIO_PAGE, }); expect(result).toStrictEqual({ From c30199a69b79e069e886eeb398db1916f93be3ca Mon Sep 17 00:00:00 2001 From: HarveyPeachey Date: Wed, 27 Nov 2024 12:58:40 +0000 Subject: [PATCH 09/28] fixes live radio metadata test --- src/app/components/Metadata/index.test.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/components/Metadata/index.test.tsx b/src/app/components/Metadata/index.test.tsx index ca86fb38972..39e0aeb3d60 100644 --- a/src/app/components/Metadata/index.test.tsx +++ b/src/app/components/Metadata/index.test.tsx @@ -1015,9 +1015,9 @@ describe('Snapshot', () => { id={null} pageType={MEDIA_PAGE} pathname="/korean/bbc_korean_radio/liveradio" - title={liveRadioPageData.promo.name} - lang={liveRadioPageData.metadata.language} - description={liveRadioPageData.promo.summary} + title={liveRadioPageData.data.name} + lang={liveRadioPageData.data.language} + description={liveRadioPageData.data.summary} openGraphType="website" />, ); From d05b6426b8209303744f9c6f0283d2a42ffd280b Mon Sep 17 00:00:00 2001 From: HarveyPeachey Date: Wed, 27 Nov 2024 13:02:20 +0000 Subject: [PATCH 10/28] swaps page type to live radio --- src/app/components/Metadata/index.test.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/components/Metadata/index.test.tsx b/src/app/components/Metadata/index.test.tsx index 39e0aeb3d60..b7a67a55617 100644 --- a/src/app/components/Metadata/index.test.tsx +++ b/src/app/components/Metadata/index.test.tsx @@ -3,10 +3,10 @@ import { Helmet } from 'react-helmet'; import { ARTICLE_PAGE, FRONT_PAGE, - MEDIA_PAGE, STORY_PAGE, MEDIA_ASSET_PAGE, PHOTO_GALLERY_PAGE, + LIVE_RADIO_PAGE, } from '#app/routes/utils/pageTypes'; import { articleDataNews, @@ -1013,7 +1013,7 @@ describe('Snapshot', () => { bbcOrigin={dotComOrigin} platform="canonical" id={null} - pageType={MEDIA_PAGE} + pageType={LIVE_RADIO_PAGE} pathname="/korean/bbc_korean_radio/liveradio" title={liveRadioPageData.data.name} lang={liveRadioPageData.data.language} From 9cea62298d62da068d7d16de5d6ef13541cc85e1 Mon Sep 17 00:00:00 2001 From: HarveyPeachey Date: Wed, 27 Nov 2024 14:41:29 +0000 Subject: [PATCH 11/28] fixes tests --- .../liveRadio/getInitialData/index.test.js | 35 +++++++++++++------ src/server/index.test.jsx | 5 ++- 2 files changed, 28 insertions(+), 12 deletions(-) diff --git a/src/app/routes/liveRadio/getInitialData/index.test.js b/src/app/routes/liveRadio/getInitialData/index.test.js index ad9d2a18869..5b34c565050 100644 --- a/src/app/routes/liveRadio/getInitialData/index.test.js +++ b/src/app/routes/liveRadio/getInitialData/index.test.js @@ -1,13 +1,22 @@ import liveRadioJson from '#data/korean/bbc_korean_radio/liveradio.json'; -import { MEDIA_PAGE } from '#app/routes/utils/pageTypes'; +import { LIVE_RADIO_PAGE } from '#app/routes/utils/pageTypes'; import getInitialData from '.'; import * as fetchPageData from '../../utils/fetchPageData'; fetch.mockResponse(JSON.stringify(liveRadioJson)); + const { env } = process; const spy = jest.spyOn(fetchPageData, 'default'); jest.mock('../../utils/getConfig', () => jest.fn()); +process.env.BFF_PATH = 'https://mock-bff-path'; + +const agent = { + connect: { cert: 'cert', ca: 'ca', key: 'key' }, +}; +const mockGetAgent = () => Promise.resolve(agent); +jest.mock('../../../../server/utilities/getAgent', () => jest.fn(mockGetAgent)); + describe('Get initial data for live radio', () => { afterEach(() => { process.env = { ...env }; @@ -16,13 +25,15 @@ describe('Get initial data for live radio', () => { it('should return essential data for a page to render', async () => { const { pageData } = await getInitialData({ - path: 'mock-live-radio-path', + path: '/korean/bbc_korean_radio/liveradio', service: 'korean', - pageType: MEDIA_PAGE, + pageType: LIVE_RADIO_PAGE, + getAgent: mockGetAgent, toggles: { liveRadioSchedule: { enabled: true }, }, }); + expect(pageData.name).toEqual('BBC 코리아 라디오'); expect(pageData.language).toEqual('ko'); expect(pageData.metadata.type).toEqual('Live Radio'); @@ -39,24 +50,26 @@ describe('Get initial data for live radio', () => { it('should override renderer on test', async () => { process.env.SIMORGH_APP_ENV = 'test'; await getInitialData({ - path: 'mock-live-radio-path', - pageType: MEDIA_PAGE, + path: '/korean/bbc_korean_radio/liveradio', + pageType: LIVE_RADIO_PAGE, }); expect(spy).toHaveBeenCalledWith({ - path: 'mock-live-radio-path?renderer_env=live', - pageType: MEDIA_PAGE, + optHeaders: { 'ctx-service-env': 'test' }, + path: 'https://mock-bff-path/?id=bbc_korean_radio&pageType=liveRadio&disableRadioSchedule=true&serviceEnv=test', + pageType: LIVE_RADIO_PAGE, }); }); it('should not override renderer on live', async () => { process.env.SIMORGH_APP_ENV = 'live'; await getInitialData({ - path: 'mock-live-radio-path', - pageType: MEDIA_PAGE, + path: '/korean/bbc_korean_radio/liveradio', + pageType: LIVE_RADIO_PAGE, }); expect(spy).toHaveBeenCalledWith({ - path: 'mock-live-radio-path', - pageType: MEDIA_PAGE, + optHeaders: { 'ctx-service-env': 'live' }, + path: 'https://mock-bff-path/?id=bbc_korean_radio&pageType=liveRadio&disableRadioSchedule=true&serviceEnv=live', + pageType: LIVE_RADIO_PAGE, }); }); }); diff --git a/src/server/index.test.jsx b/src/server/index.test.jsx index 558e088adbc..33434ba0bc1 100644 --- a/src/server/index.test.jsx +++ b/src/server/index.test.jsx @@ -1041,7 +1041,10 @@ describe('Server', () => { '/korean/bbc_korean_radio/liveradio.json', ); expect(body).toEqual( - expect.objectContaining({ content: expect.any(Object) }), + expect.objectContaining({ + data: expect.any(Object), + contentType: 'application/json; charset=utf-8', + }), ); }); From 30a5d5060401cf7da20c76e73c1fa6fce9d37c71 Mon Sep 17 00:00:00 2001 From: HarveyPeachey Date: Wed, 27 Nov 2024 14:55:44 +0000 Subject: [PATCH 12/28] fixes getinitialdata test --- src/app/routes/getInitialData.test.jsx | 12 ++++++++---- src/app/routes/utils/constructPageFetchUrl/index.ts | 2 ++ 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/app/routes/getInitialData.test.jsx b/src/app/routes/getInitialData.test.jsx index 4928699944a..eea73cadcf8 100644 --- a/src/app/routes/getInitialData.test.jsx +++ b/src/app/routes/getInitialData.test.jsx @@ -32,11 +32,15 @@ describe('getInitialData', () => { routes .filter(route => !pageTypesToSkip.includes(route.pageType)) .forEach(({ getInitialData, pageType }) => { + const path = + pageType === 'liveRadio' + ? '/korean/bbc_korean_radio/liveradio' + : MOCK_PATH; it(`${pageType} - should handle Ares 404`, async () => { fetch.mockResponseOnce(JSON.stringify({}), { status: 404 }); const actual = await getInitialData({ - path: MOCK_PATH, + path, pageType, toggles, }); @@ -52,7 +56,7 @@ describe('getInitialData', () => { fetch.mockResponseOnce(JSON.stringify({}), { status: 202 }); const actual = await getInitialData({ - path: MOCK_PATH, + path, pageType, toggles, }); @@ -67,7 +71,7 @@ describe('getInitialData', () => { fetch.mockResponseOnce(JSON.stringify({}), { status: 500 }); const actual = await getInitialData({ - path: MOCK_PATH, + path, pageType, toggles, }); @@ -82,7 +86,7 @@ describe('getInitialData', () => { fetch.mockResponseOnce('dataIsNotAsExpected'); const actual = await getInitialData({ - path: MOCK_PATH, + path, pageType, toggles, }); diff --git a/src/app/routes/utils/constructPageFetchUrl/index.ts b/src/app/routes/utils/constructPageFetchUrl/index.ts index 6310b17706e..26f3d7e3719 100644 --- a/src/app/routes/utils/constructPageFetchUrl/index.ts +++ b/src/app/routes/utils/constructPageFetchUrl/index.ts @@ -102,6 +102,8 @@ const getId = ({ pageType, service, variant, env }: GetIdProps) => { const parts = path?.split('/'); const liveRadioName = parts?.[2]; + if (!liveRadioName) return null; + return liveRadioName; }; break; From 2caf58793ff602ca0a9f89999e6327b3f6c79e4c Mon Sep 17 00:00:00 2001 From: Harvey Peachey Date: Wed, 27 Nov 2024 15:22:45 +0000 Subject: [PATCH 13/28] Update src/app/contexts/EventTrackingContext/index.tsx Co-authored-by: Karina Thomas <58214768+karinathomasbbc@users.noreply.github.com> --- src/app/contexts/EventTrackingContext/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/contexts/EventTrackingContext/index.tsx b/src/app/contexts/EventTrackingContext/index.tsx index 7e8960179cc..7816ea92ad7 100644 --- a/src/app/contexts/EventTrackingContext/index.tsx +++ b/src/app/contexts/EventTrackingContext/index.tsx @@ -73,7 +73,7 @@ const getCampaignID = (pageType: CampaignPageTypes) => { [UGC_PAGE]: '', [AV_EMBEDS]: 'av-embeds', [DOWNLOADS_PAGE]: 'downloads', - [LIVE_RADIO_PAGE]: 'player-episode-tv', + [LIVE_RADIO_PAGE]: 'player-live', }[pageType]; if (!campaignID) { From 3da67004ee30351dfbdd9a283db226983a3cd79c Mon Sep 17 00:00:00 2001 From: HarveyPeachey Date: Wed, 27 Nov 2024 15:25:50 +0000 Subject: [PATCH 14/28] removes amp from snapshot --- src/app/components/Metadata/__snapshots__/index.test.tsx.snap | 4 ---- src/app/components/Metadata/index.test.tsx | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/app/components/Metadata/__snapshots__/index.test.tsx.snap b/src/app/components/Metadata/__snapshots__/index.test.tsx.snap index 9761a2945bb..8c677f9f360 100644 --- a/src/app/components/Metadata/__snapshots__/index.test.tsx.snap +++ b/src/app/components/Metadata/__snapshots__/index.test.tsx.snap @@ -2337,10 +2337,6 @@ exports[`Snapshot should match for WS Media liveradio 1`] = ` "hrefLang": "ko", "rel": "alternate", }, - { - "href": "https://www.bbc.com/korean/bbc_korean_radio/liveradio.amp", - "rel": "amphtml", - }, { "href": "http://localhost:7080/korean/images/icons/icon-192x192.png", "rel": "apple-touch-icon", diff --git a/src/app/components/Metadata/index.test.tsx b/src/app/components/Metadata/index.test.tsx index b7a67a55617..eccb5a4af7f 100644 --- a/src/app/components/Metadata/index.test.tsx +++ b/src/app/components/Metadata/index.test.tsx @@ -1019,6 +1019,7 @@ describe('Snapshot', () => { lang={liveRadioPageData.data.language} description={liveRadioPageData.data.summary} openGraphType="website" + hasAmpPage={false} />, ); const container = Helmet.peek(); From 8443e3c03d69e07163e101c8b717880a506662cc Mon Sep 17 00:00:00 2001 From: HarveyPeachey Date: Thu, 28 Nov 2024 10:27:38 +0000 Subject: [PATCH 15/28] adds live radio to local bff url constructor --- src/app/routes/utils/constructPageFetchUrl/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/routes/utils/constructPageFetchUrl/index.ts b/src/app/routes/utils/constructPageFetchUrl/index.ts index 26f3d7e3719..594a85b2f7c 100644 --- a/src/app/routes/utils/constructPageFetchUrl/index.ts +++ b/src/app/routes/utils/constructPageFetchUrl/index.ts @@ -276,6 +276,9 @@ const constructPageFetchUrl = ({ break; } + case LIVE_RADIO_PAGE: + fetchUrl = Url(`${pathname}`); + break; default: return fetchUrl; } From da49c41f46a1a2ce6727a72d0515cf897af93df1 Mon Sep 17 00:00:00 2001 From: HarveyPeachey Date: Fri, 29 Nov 2024 09:44:01 +0000 Subject: [PATCH 16/28] updates files with live radio page type const --- src/app/components/ChartbeatAnalytics/utils/index.test.ts | 5 +++-- src/app/components/ChartbeatAnalytics/utils/index.ts | 3 +++ src/app/legacy/containers/Header/index.test.jsx | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/app/components/ChartbeatAnalytics/utils/index.test.ts b/src/app/components/ChartbeatAnalytics/utils/index.test.ts index 4545b852940..fd5af4a3946 100644 --- a/src/app/components/ChartbeatAnalytics/utils/index.test.ts +++ b/src/app/components/ChartbeatAnalytics/utils/index.test.ts @@ -12,6 +12,7 @@ import { TOPIC_PAGE, MEDIA_ARTICLE_PAGE, LIVE_PAGE, + LIVE_RADIO_PAGE, } from '../../../routes/utils/pageTypes'; import { chartbeatUID, @@ -208,7 +209,7 @@ describe('Chartbeat utilities', () => { }, { service: 'korean', - pageType: MEDIA_PAGE, + pageType: LIVE_RADIO_PAGE, description: 'should return expected section for live radio', mediaPageType: 'Radio', expected: 'Korean, Korean - Radio', @@ -420,7 +421,7 @@ describe('Chartbeat utilities', () => { const fixtureData: GetConfigProps = { isAmp: true, platform: 'amp', - pageType: MEDIA_PAGE, + pageType: LIVE_RADIO_PAGE, mediaPageType: 'Radio', contentType: 'player-live', title: 'Live Radio Page Title', diff --git a/src/app/components/ChartbeatAnalytics/utils/index.ts b/src/app/components/ChartbeatAnalytics/utils/index.ts index e8020036253..c012bc54b68 100644 --- a/src/app/components/ChartbeatAnalytics/utils/index.ts +++ b/src/app/components/ChartbeatAnalytics/utils/index.ts @@ -16,6 +16,7 @@ import { TOPIC_PAGE, LIVE_PAGE, MEDIA_ARTICLE_PAGE, + LIVE_RADIO_PAGE, } from '../../../routes/utils/pageTypes'; import { Environments, @@ -70,6 +71,8 @@ export const getType = (pageType: PageTypes | 'index', shorthand = false) => { return 'Topics'; case LIVE_PAGE: return shorthand ? 'LIV' : 'Live'; + case LIVE_RADIO_PAGE: + return LIVE_RADIO_PAGE; default: return pageType; } diff --git a/src/app/legacy/containers/Header/index.test.jsx b/src/app/legacy/containers/Header/index.test.jsx index 3a0c4d0aeab..3ba19721f85 100644 --- a/src/app/legacy/containers/Header/index.test.jsx +++ b/src/app/legacy/containers/Header/index.test.jsx @@ -14,7 +14,7 @@ const { INDEX_PAGE, ARTICLE_PAGE, FRONT_PAGE, - MEDIA_PAGE, + LIVE_RADIO_PAGE, MEDIA_ASSET_PAGE, TOPIC_PAGE, HOME_PAGE, @@ -75,7 +75,7 @@ describe(`Header`, () => { it('should render correctly for WS radio page', () => { const { container } = HeaderContainerWithContext({ renderOptions: { - pageType: MEDIA_PAGE, + pageType: LIVE_RADIO_PAGE, }, }); From 9d8f670862b3c570fcc24072d15fb4e45bf06fbf Mon Sep 17 00:00:00 2001 From: HarveyPeachey Date: Fri, 29 Nov 2024 10:12:54 +0000 Subject: [PATCH 17/28] fixes ati url function --- src/app/components/ATIAnalytics/params/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/components/ATIAnalytics/params/index.ts b/src/app/components/ATIAnalytics/params/index.ts index 7f13595f18b..2b8ef7e0c49 100644 --- a/src/app/components/ATIAnalytics/params/index.ts +++ b/src/app/components/ATIAnalytics/params/index.ts @@ -78,7 +78,7 @@ const pageTypeUrlBuilders = { [UGC_PAGE]: noOp, [AV_EMBEDS]: noOp, [DOWNLOADS_PAGE]: noOp, - [LIVE_RADIO_PAGE]: buildTvRadioATIParams, + [LIVE_RADIO_PAGE]: buildTvRadioATIUrl, }; const pageTypeParamBuilders = { @@ -136,6 +136,7 @@ export const buildATIUrl = ({ atiData, }: ATIConfigurationDetailsProviders) => { const { pageType } = requestContext; + if (atiData && isMigrated(pageType)) { return buildPageATIUrl({ atiData, requestContext, serviceContext }); } From b99fdb45962956bd50d9c8e74477fab20d1981f4 Mon Sep 17 00:00:00 2001 From: HarveyPeachey Date: Fri, 29 Nov 2024 10:57:59 +0000 Subject: [PATCH 18/28] fixes live radio page in chartbeat --- src/app/components/ChartbeatAnalytics/utils/index.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/components/ChartbeatAnalytics/utils/index.ts b/src/app/components/ChartbeatAnalytics/utils/index.ts index c012bc54b68..c20d08a9654 100644 --- a/src/app/components/ChartbeatAnalytics/utils/index.ts +++ b/src/app/components/ChartbeatAnalytics/utils/index.ts @@ -57,6 +57,7 @@ export const getType = (pageType: PageTypes | 'index', shorthand = false) => { return 'article-sfv'; case MEDIA_ASSET_PAGE: return 'article-media-asset'; + case LIVE_RADIO_PAGE: case MEDIA_PAGE: return 'Radio'; case MOST_READ_PAGE: @@ -71,8 +72,6 @@ export const getType = (pageType: PageTypes | 'index', shorthand = false) => { return 'Topics'; case LIVE_PAGE: return shorthand ? 'LIV' : 'Live'; - case LIVE_RADIO_PAGE: - return LIVE_RADIO_PAGE; default: return pageType; } @@ -145,6 +144,7 @@ export const buildSections = ({ ? buildSectionItem(service, appendCategory(categoryName)) : []), ].join(', '); + case LIVE_RADIO_PAGE: case MEDIA_PAGE: return [ capitalize(service), @@ -182,6 +182,7 @@ export const getTitle = ({ pageType, title, brandName }: GetTitleProps) => { case MOST_READ_PAGE: case TOPIC_PAGE: case LIVE_PAGE: + case LIVE_RADIO_PAGE: case MEDIA_PAGE: case 'index': return `${title} - ${brandName}`; From 92f4592d2ab726cb1636ae84684a2b2ec6f83dc2 Mon Sep 17 00:00:00 2001 From: HarveyPeachey Date: Fri, 29 Nov 2024 11:10:01 +0000 Subject: [PATCH 19/28] replaces instances of media page type with live radio page type --- src/app/pages/LiveRadioPage/index.stories.tsx | 4 ++-- src/app/pages/LiveRadioPage/index.test.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/pages/LiveRadioPage/index.stories.tsx b/src/app/pages/LiveRadioPage/index.stories.tsx index 22de1cf9035..2ae13cb29e8 100644 --- a/src/app/pages/LiveRadioPage/index.stories.tsx +++ b/src/app/pages/LiveRadioPage/index.stories.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import { MEDIA_PAGE } from '#app/routes/utils/pageTypes'; +import { LIVE_RADIO_PAGE } from '#app/routes/utils/pageTypes'; import { Services } from '#app/models/types/global'; import { StoryArgs, StoryProps } from '#app/models/types/storybook'; import { LiveRadioPage } from '..'; @@ -80,7 +80,7 @@ const Component = (_: StoryArgs, { service }: StoryProps) => { service={serviceToUse} loading={false} error="" - pageType={MEDIA_PAGE} + pageType={LIVE_RADIO_PAGE} /> ); }; diff --git a/src/app/pages/LiveRadioPage/index.test.tsx b/src/app/pages/LiveRadioPage/index.test.tsx index 703e8d5ce26..1a2721f42be 100644 --- a/src/app/pages/LiveRadioPage/index.test.tsx +++ b/src/app/pages/LiveRadioPage/index.test.tsx @@ -3,7 +3,7 @@ import { BrowserRouter } from 'react-router-dom'; import { RequestContextProvider } from '#contexts/RequestContext'; import * as analyticsUtils from '#lib/analyticsUtils'; import { ToggleContextProvider } from '#contexts/ToggleContext'; -import { MEDIA_PAGE } from '#app/routes/utils/pageTypes'; +import { LIVE_RADIO_PAGE } from '#app/routes/utils/pageTypes'; import { Services } from '#app/models/types/global'; import { LiveRadioBlock } from '#app/models/types/media'; import { render } from '../../components/react-testing-library-with-providers'; @@ -26,7 +26,7 @@ const Page = ({ pageData, service, lang }: Props) => ( Date: Fri, 29 Nov 2024 11:28:58 +0000 Subject: [PATCH 20/28] replace sinhala live radio with kyrgyz --- .../__snapshots__/canonical.test.js.snap | 318 ++++++++++++++++++ .../pages/liveRadio/kyrgyz/canonical.test.js | 10 + .../__snapshots__/canonical.test.js.snap | 304 ----------------- .../pages/liveRadio/sinhala/canonical.test.js | 10 - 4 files changed, 328 insertions(+), 314 deletions(-) create mode 100644 src/integration/pages/liveRadio/kyrgyz/__snapshots__/canonical.test.js.snap create mode 100644 src/integration/pages/liveRadio/kyrgyz/canonical.test.js delete mode 100644 src/integration/pages/liveRadio/sinhala/__snapshots__/canonical.test.js.snap delete mode 100644 src/integration/pages/liveRadio/sinhala/canonical.test.js diff --git a/src/integration/pages/liveRadio/kyrgyz/__snapshots__/canonical.test.js.snap b/src/integration/pages/liveRadio/kyrgyz/__snapshots__/canonical.test.js.snap new file mode 100644 index 00000000000..8e9539408ed --- /dev/null +++ b/src/integration/pages/liveRadio/kyrgyz/__snapshots__/canonical.test.js.snap @@ -0,0 +1,318 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Canonical Kyrgyz Live Radio Page A11y I can see the skip to content link 1`] = `"Сайтка өтүү"`; + +exports[`Canonical Kyrgyz Live Radio Page Analytics ATI tracking pixel excluding src 1`] = ` + +`; + +exports[`Canonical Kyrgyz Live Radio Page Analytics ATI tracking pixel hostname 1`] = `"https://logws1363.ati-host.net/"`; + +exports[`Canonical Kyrgyz Live Radio Page Analytics ATI tracking pixel search params 1`] = ` +[ + { + "s": "598343", + }, + { + "s2": "58", + }, + { + "p": "kyrgyz.bbc_kyrgyz_radio.liveradio.page", + }, + { + "x1": "[urn:bbc:ares:ws_media:live:bbc_kyrgyz_radio]", + }, + { + "x2": "[responsive]", + }, + { + "x3": "[news-kyrgyz]", + }, + { + "x4": "[ky]", + }, + { + "x7": "[player-live]", + }, + { + "x8": "[simorgh-nojs]", + }, + { + "x9": "[Би-Би-Си%20Кыргыз%20кызматынын%20радиосу%20-%20BBC%20News%20Кыргыз%20КызMATы]", + }, +] +`; + +exports[`Canonical Kyrgyz Live Radio Page Footer Anchors should match text and url 1`] = ` +{ + "text": "BBC News, Кыргыз КызMATы", + "url": "/kyrgyz", +} +`; + +exports[`Canonical Kyrgyz Live Radio Page Footer Anchors should match text and url 2`] = ` +{ + "text": "Эмнеге BBC News ишенсе болот?", + "url": "https://www.bbc.com/kyrgyz/institutional-49677275", +} +`; + +exports[`Canonical Kyrgyz Live Radio Page Footer Anchors should match text and url 3`] = ` +{ + "text": "Колдонуу эрежелери", + "url": "https://www.bbc.com/kyrgyz/institutional-38157280", +} +`; + +exports[`Canonical Kyrgyz Live Radio Page Footer Anchors should match text and url 4`] = ` +{ + "text": "Би-Би-Си жөнүндө", + "url": "https://www.bbc.com/kyrgyz/institutional-38157281", +} +`; + +exports[`Canonical Kyrgyz Live Radio Page Footer Anchors should match text and url 5`] = ` +{ + "text": "Купуялык", + "url": "https://www.bbc.com/kyrgyz/institutional-38157282", +} +`; + +exports[`Canonical Kyrgyz Live Radio Page Footer Anchors should match text and url 6`] = ` +{ + "text": "Cookies", + "url": "https://www.bbc.com/usingthebbc/cookies/", +} +`; + +exports[`Canonical Kyrgyz Live Radio Page Footer Anchors should match text and url 7`] = ` +{ + "text": "Би-Би-Си менен байланышыңыз", + "url": "https://www.bbc.co.uk/kyrgyz/send/u50853445", +} +`; + +exports[`Canonical Kyrgyz Live Radio Page Footer Anchors should match text and url 8`] = ` +{ + "text": "Other Languages", + "url": "https://www.bbc.com/ws/languages", +} +`; + +exports[`Canonical Kyrgyz Live Radio Page Footer Anchors should match text and url 9`] = ` +{ + "text": "Башка интернет сайттардын мазмуну боюнча биздин позиция.", + "url": "https://www.bbc.com/editorialguidelines/guidance/feeds-and-links", +} +`; + +exports[`Canonical Kyrgyz Live Radio Page Footer I can click on the BBC branding and it would take me to the homepage 1`] = `"/kyrgyz"`; + +exports[`Canonical Kyrgyz Live Radio Page Footer Paragraphs should match text 1`] = `"© 2024 BBC. Би-Би-Си сырткы интернет сайттардын мазмуну үчүн жооптуу эмес. Башка интернет сайттардын мазмуну боюнча биздин позиция."`; + +exports[`Canonical Kyrgyz Live Radio Page Header I can see the branding 1`] = `"BBC News, Кыргыз КызMATы"`; + +exports[`Canonical Kyrgyz Live Radio Page Header Navigation link should match text and url 1`] = ` +{ + "text": "Башталгыч бет", + "url": "/kyrgyz", +} +`; + +exports[`Canonical Kyrgyz Live Radio Page Header Navigation link should match text and url 2`] = ` +{ + "text": "Кыргызстан", + "url": "/kyrgyz/topics/cz74kjpyk07t", +} +`; + +exports[`Canonical Kyrgyz Live Radio Page Header Navigation link should match text and url 3`] = ` +{ + "text": "Дүйнө", + "url": "/kyrgyz/topics/ck2l9z012nkt", +} +`; + +exports[`Canonical Kyrgyz Live Radio Page Header Navigation link should match text and url 4`] = ` +{ + "text": "САПАР", + "url": "/kyrgyz/topics/c6z8lg83w7mt", +} +`; + +exports[`Canonical Kyrgyz Live Radio Page Header Navigation link should match text and url 5`] = ` +{ + "text": "Журнал", + "url": "/kyrgyz/topics/czp8pjrkgp0t", +} +`; + +exports[`Canonical Kyrgyz Live Radio Page Header Navigation link should match text and url 6`] = ` +{ + "text": "Подкасттар", + "url": "/kyrgyz/podcasts/p0c80v81", +} +`; + +exports[`Canonical Kyrgyz Live Radio Page Main heading should match text 1`] = `"Би-Би-Си Кыргыз кызматынын радиосу"`; + +exports[`Canonical Kyrgyz Live Radio Page Media Loader renders a valid container 1`] = ` +
+
+
+`; + +exports[`Canonical Kyrgyz Live Radio Page SEO Apple Touch Icon should match attributes 1`] = ` +{ + "sizes": null, + "url": "http://localhost:7080/kyrgyz/images/icons/icon-192x192.png", +} +`; + +exports[`Canonical Kyrgyz Live Radio Page SEO Apple Touch Icon should match attributes 2`] = ` +{ + "sizes": "72x72", + "url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/kyrgyz/images/icons/icon-72x72.png", +} +`; + +exports[`Canonical Kyrgyz Live Radio Page SEO Apple Touch Icon should match attributes 3`] = ` +{ + "sizes": "96x96", + "url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/kyrgyz/images/icons/icon-96x96.png", +} +`; + +exports[`Canonical Kyrgyz Live Radio Page SEO Apple Touch Icon should match attributes 4`] = ` +{ + "sizes": "128x128", + "url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/kyrgyz/images/icons/icon-128x128.png", +} +`; + +exports[`Canonical Kyrgyz Live Radio Page SEO Apple Touch Icon should match attributes 5`] = ` +{ + "sizes": "144x144", + "url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/kyrgyz/images/icons/icon-144x144.png", +} +`; + +exports[`Canonical Kyrgyz Live Radio Page SEO Apple Touch Icon should match attributes 6`] = ` +{ + "sizes": "152x152", + "url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/kyrgyz/images/icons/icon-152x152.png", +} +`; + +exports[`Canonical Kyrgyz Live Radio Page SEO Apple Touch Icon should match attributes 7`] = ` +{ + "sizes": "180x180", + "url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/kyrgyz/images/icons/icon-180x180.png", +} +`; + +exports[`Canonical Kyrgyz Live Radio Page SEO Apple Touch Icon should match attributes 8`] = ` +{ + "sizes": "192x192", + "url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/kyrgyz/images/icons/icon-192x192.png", +} +`; + +exports[`Canonical Kyrgyz Live Radio Page SEO Apple Touch Icon should match attributes 9`] = ` +{ + "sizes": "384x384", + "url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/kyrgyz/images/icons/icon-384x384.png", +} +`; + +exports[`Canonical Kyrgyz Live Radio Page SEO Apple Touch Icon should match attributes 10`] = ` +{ + "sizes": "512x512", + "url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/kyrgyz/images/icons/icon-512x512.png", +} +`; + +exports[`Canonical Kyrgyz Live Radio Page SEO Canonical link 1`] = `"http://localhost:7080/kyrgyz/bbc_kyrgyz_radio/liveradio"`; + +exports[`Canonical Kyrgyz Live Radio Page SEO Dir attribute 1`] = `"ltr"`; + +exports[`Canonical Kyrgyz Live Radio Page SEO FB app ID 1`] = `"1609039196070050"`; + +exports[`Canonical Kyrgyz Live Radio Page SEO Heading level 1 1`] = `"Би-Би-Си Кыргыз кызматынын радиосу"`; + +exports[`Canonical Kyrgyz Live Radio Page SEO Lang attribute 1`] = `"ky"`; + +exports[`Canonical Kyrgyz Live Radio Page SEO Linked data should match text 1`] = ` +{ + "@context": "http://schema.org", + "@graph": [ + { + "@type": "RadioChannel", + "image": { + "@type": "ImageObject", + "height": 576, + "url": "https://news.files.bbci.co.uk/ws/img/logos/og/kyrgyz.png", + "width": 1024, + }, + "inLanguage": { + "@type": "Language", + "alternateName": "ky", + "name": "Kyrgyz", + }, + "mainEntityOfPage": { + "@id": "http://localhost:7080/kyrgyz/bbc_kyrgyz_radio/liveradio", + "@type": "WebPage", + "name": "Би-Би-Си Кыргыз кызматынын радиосу", + }, + "url": "http://localhost:7080/kyrgyz/bbc_kyrgyz_radio/liveradio", + }, + ], +} +`; + +exports[`Canonical Kyrgyz Live Radio Page SEO OG description 1`] = `"Эл аралык жана жергиликтүү жаңылыктар, аналитика, кызыктуу материалдар кыргыз тилинде"`; + +exports[`Canonical Kyrgyz Live Radio Page SEO OG image 1`] = `"https://news.files.bbci.co.uk/ws/img/logos/og/kyrgyz.png"`; + +exports[`Canonical Kyrgyz Live Radio Page SEO OG image alt 1`] = `"BBC News Кыргыз КызMATы"`; + +exports[`Canonical Kyrgyz Live Radio Page SEO OG locale 1`] = `"ky-KG"`; + +exports[`Canonical Kyrgyz Live Radio Page SEO OG site name 1`] = `"BBC News Кыргыз Кызматы"`; + +exports[`Canonical Kyrgyz Live Radio Page SEO OG title 1`] = `"Би-Би-Си Кыргыз кызматынын радиосу - BBC News Кыргыз Кызматы"`; + +exports[`Canonical Kyrgyz Live Radio Page SEO OG type 1`] = `"website"`; + +exports[`Canonical Kyrgyz Live Radio Page SEO OG url 1`] = `"http://localhost:7080/kyrgyz/bbc_kyrgyz_radio/liveradio"`; + +exports[`Canonical Kyrgyz Live Radio Page SEO Page title 1`] = `"Би-Би-Си Кыргыз кызматынын радиосу - BBC News Кыргыз Кызматы"`; + +exports[`Canonical Kyrgyz Live Radio Page SEO Robots meta tag 1`] = `"noodp, noydir, max-image-preview:large"`; + +exports[`Canonical Kyrgyz Live Radio Page SEO Twitter card 1`] = `"summary_large_image"`; + +exports[`Canonical Kyrgyz Live Radio Page SEO Twitter creator 1`] = `"@bbckyrgyz"`; + +exports[`Canonical Kyrgyz Live Radio Page SEO Twitter description 1`] = `"Эл аралык жана жергиликтүү жаңылыктар, аналитика, кызыктуу материалдар кыргыз тилинде"`; + +exports[`Canonical Kyrgyz Live Radio Page SEO Twitter image alt 1`] = `"BBC News Кыргыз КызMATы"`; + +exports[`Canonical Kyrgyz Live Radio Page SEO Twitter image src 1`] = `"https://news.files.bbci.co.uk/ws/img/logos/og/kyrgyz.png"`; + +exports[`Canonical Kyrgyz Live Radio Page SEO Twitter site 1`] = `"@bbckyrgyz"`; + +exports[`Canonical Kyrgyz Live Radio Page SEO Twitter title 1`] = `"Би-Би-Си Кыргыз кызматынын радиосу - BBC News Кыргыз Кызматы"`; + +exports[`Canonical Kyrgyz Live Radio Page Summary should match text 1`] = `"Эл аралык жана жергиликтүү жаңылыктар, аналитика, кызыктуу материалдар кыргыз тилинде"`; diff --git a/src/integration/pages/liveRadio/kyrgyz/canonical.test.js b/src/integration/pages/liveRadio/kyrgyz/canonical.test.js new file mode 100644 index 00000000000..2616ac88c99 --- /dev/null +++ b/src/integration/pages/liveRadio/kyrgyz/canonical.test.js @@ -0,0 +1,10 @@ +/** + * @service kyrgyz + * @pathname /kyrgyz/bbc_kyrgyz_radio/liveradio + */ + +import runCanonicalTests from '../canonicalTests'; + +describe('Canonical Kyrgyz Live Radio Page', () => { + runCanonicalTests(service); +}); diff --git a/src/integration/pages/liveRadio/sinhala/__snapshots__/canonical.test.js.snap b/src/integration/pages/liveRadio/sinhala/__snapshots__/canonical.test.js.snap deleted file mode 100644 index 65e051eaefc..00000000000 --- a/src/integration/pages/liveRadio/sinhala/__snapshots__/canonical.test.js.snap +++ /dev/null @@ -1,304 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`Canonical Sinhala Live Radio Page A11y I can see the skip to content link 1`] = `"අන්තර්ගතයට පිවිසෙන්න"`; - -exports[`Canonical Sinhala Live Radio Page Analytics ATI tracking pixel excluding src 1`] = ` - -`; - -exports[`Canonical Sinhala Live Radio Page Analytics ATI tracking pixel hostname 1`] = `"https://logws1363.ati-host.net/"`; - -exports[`Canonical Sinhala Live Radio Page Analytics ATI tracking pixel search params 1`] = ` -[ - { - "s": "598343", - }, - { - "s2": "82", - }, - { - "p": "sinhala.bbc_sinhala_radio.liveradio.page", - }, - { - "x1": "[urn:bbc:ares:ws_media:live:bbc_sinhala_radio]", - }, - { - "x2": "[responsive]", - }, - { - "x3": "[news-sinhala]", - }, - { - "x4": "[si]", - }, - { - "x7": "[player-live]", - }, - { - "x8": "[simorgh-nojs]", - }, - { - "x9": "[බීබීසී%20සිංහල%20සංදේශය%20-%20BBC%20News%20සිංහල]", - }, -] -`; - -exports[`Canonical Sinhala Live Radio Page Footer Anchors should match text and url 1`] = ` -{ - "text": "BBC News, සිංහල", - "url": "/sinhala", -} -`; - -exports[`Canonical Sinhala Live Radio Page Footer Anchors should match text and url 2`] = ` -{ - "text": "ඔබට බීබීසී විශ්වාස කළ හැක්කේ ඇයි", - "url": "https://www.bbc.com/sinhala/institutional-50288553", -} -`; - -exports[`Canonical Sinhala Live Radio Page Footer Anchors should match text and url 3`] = ` -{ - "text": "භාවිතයේ කොන්දේසි", - "url": "https://www.bbc.com/sinhala/institutional-36017568", -} -`; - -exports[`Canonical Sinhala Live Radio Page Footer Anchors should match text and url 4`] = ` -{ - "text": "පෞද්ගලිකත්ව ප්‍රතිපත්තිය", - "url": "https://www.bbc.com/sinhala/institutional-36019591", -} -`; - -exports[`Canonical Sinhala Live Radio Page Footer Anchors should match text and url 5`] = ` -{ - "text": "කුකීස්", - "url": "https://www.bbc.com/usingthebbc/cookies/", -} -`; - -exports[`Canonical Sinhala Live Radio Page Footer Anchors should match text and url 6`] = ` -{ - "text": "බීබීසී ය අමතන්න", - "url": "https://www.bbc.co.uk/sinhala/send/u50853687", -} -`; - -exports[`Canonical Sinhala Live Radio Page Footer Anchors should match text and url 7`] = ` -{ - "text": "Other Languages", - "url": "https://www.bbc.com/ws/languages", -} -`; - -exports[`Canonical Sinhala Live Radio Page Footer Anchors should match text and url 8`] = ` -{ - "text": "බාහිර යොමු කෙරෙහි අපගේ ප්‍රවේශය ගැන කියවන්න.", - "url": "https://www.bbc.co.uk/editorialguidelines/guidance/feeds-and-links", -} -`; - -exports[`Canonical Sinhala Live Radio Page Footer I can click on the BBC branding and it would take me to the homepage 1`] = `"/sinhala"`; - -exports[`Canonical Sinhala Live Radio Page Footer Paragraphs should match text 1`] = `"© 2024 BBC. බාහිර වෙබ් අඩවිවල අන්තර්ගතයට බීබීසී වගකියනු නොලැබේ. බාහිර යොමු කෙරෙහි අපගේ ප්‍රවේශය ගැන කියවන්න."`; - -exports[`Canonical Sinhala Live Radio Page Header I can see the branding 1`] = `"BBC News, සිංහල"`; - -exports[`Canonical Sinhala Live Radio Page Header Navigation link should match text and url 1`] = ` -{ - "text": "මුල් පිටුව", - "url": "/sinhala", -} -`; - -exports[`Canonical Sinhala Live Radio Page Header Navigation link should match text and url 2`] = ` -{ - "text": "ශ්‍රී ලංකා", - "url": "/sinhala/topics/cg7267dz901t", -} -`; - -exports[`Canonical Sinhala Live Radio Page Header Navigation link should match text and url 3`] = ` -{ - "text": "ලෝකය", - "url": "/sinhala/topics/c83plvepnq1t", -} -`; - -exports[`Canonical Sinhala Live Radio Page Header Navigation link should match text and url 4`] = ` -{ - "text": "වීඩියෝ", - "url": "/sinhala/topics/crldzm9n2lnt", -} -`; - -exports[`Canonical Sinhala Live Radio Page Header Navigation link should match text and url 5`] = ` -{ - "text": "කලා", - "url": "/sinhala/topics/c7zp5zxk8jxt", -} -`; - -exports[`Canonical Sinhala Live Radio Page Main heading should match text 1`] = `"බීබීසී සිංහල සංදේශය"`; - -exports[`Canonical Sinhala Live Radio Page Media Loader renders a valid container 1`] = ` -
-
-
-`; - -exports[`Canonical Sinhala Live Radio Page SEO Apple Touch Icon should match attributes 1`] = ` -{ - "sizes": null, - "url": "http://localhost:7080/sinhala/images/icons/icon-192x192.png", -} -`; - -exports[`Canonical Sinhala Live Radio Page SEO Apple Touch Icon should match attributes 2`] = ` -{ - "sizes": "72x72", - "url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/sinhala/images/icons/icon-72x72.png", -} -`; - -exports[`Canonical Sinhala Live Radio Page SEO Apple Touch Icon should match attributes 3`] = ` -{ - "sizes": "96x96", - "url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/sinhala/images/icons/icon-96x96.png", -} -`; - -exports[`Canonical Sinhala Live Radio Page SEO Apple Touch Icon should match attributes 4`] = ` -{ - "sizes": "128x128", - "url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/sinhala/images/icons/icon-128x128.png", -} -`; - -exports[`Canonical Sinhala Live Radio Page SEO Apple Touch Icon should match attributes 5`] = ` -{ - "sizes": "144x144", - "url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/sinhala/images/icons/icon-144x144.png", -} -`; - -exports[`Canonical Sinhala Live Radio Page SEO Apple Touch Icon should match attributes 6`] = ` -{ - "sizes": "152x152", - "url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/sinhala/images/icons/icon-152x152.png", -} -`; - -exports[`Canonical Sinhala Live Radio Page SEO Apple Touch Icon should match attributes 7`] = ` -{ - "sizes": "180x180", - "url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/sinhala/images/icons/icon-180x180.png", -} -`; - -exports[`Canonical Sinhala Live Radio Page SEO Apple Touch Icon should match attributes 8`] = ` -{ - "sizes": "192x192", - "url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/sinhala/images/icons/icon-192x192.png", -} -`; - -exports[`Canonical Sinhala Live Radio Page SEO Apple Touch Icon should match attributes 9`] = ` -{ - "sizes": "384x384", - "url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/sinhala/images/icons/icon-384x384.png", -} -`; - -exports[`Canonical Sinhala Live Radio Page SEO Apple Touch Icon should match attributes 10`] = ` -{ - "sizes": "512x512", - "url": "https://static.files.bbci.co.uk/ws/simorgh-assets/public/sinhala/images/icons/icon-512x512.png", -} -`; - -exports[`Canonical Sinhala Live Radio Page SEO Canonical link 1`] = `"http://localhost:7080/sinhala/bbc_sinhala_radio/liveradio"`; - -exports[`Canonical Sinhala Live Radio Page SEO Dir attribute 1`] = `"ltr"`; - -exports[`Canonical Sinhala Live Radio Page SEO FB app ID 1`] = `"1609039196070050"`; - -exports[`Canonical Sinhala Live Radio Page SEO Heading level 1 1`] = `"බීබීසී සිංහල සංදේශය"`; - -exports[`Canonical Sinhala Live Radio Page SEO Lang attribute 1`] = `"si"`; - -exports[`Canonical Sinhala Live Radio Page SEO Linked data should match text 1`] = ` -{ - "@context": "http://schema.org", - "@graph": [ - { - "@type": "RadioChannel", - "image": { - "@type": "ImageObject", - "height": 576, - "url": "https://news.files.bbci.co.uk/ws/img/logos/og/sinhala.png", - "width": 1024, - }, - "inLanguage": { - "@type": "Language", - "alternateName": "si", - "name": "Sinhala", - }, - "mainEntityOfPage": { - "@id": "http://localhost:7080/sinhala/bbc_sinhala_radio/liveradio", - "@type": "WebPage", - "name": "බීබීසී සිංහල සංදේශය", - }, - "url": "http://localhost:7080/sinhala/bbc_sinhala_radio/liveradio", - }, - ], -} -`; - -exports[`Canonical Sinhala Live Radio Page SEO OG description 1`] = `"බීබීසී සිංහල ඔස්සේ ශ්‍රී ලාංකීය, දකුණු ආසියාතික සහ ජාත්‍යන්තර පුවත්, විශ්ලේෂණ සහ ක්‍රීඩා පුවත්"`; - -exports[`Canonical Sinhala Live Radio Page SEO OG image 1`] = `"https://news.files.bbci.co.uk/ws/img/logos/og/sinhala.png"`; - -exports[`Canonical Sinhala Live Radio Page SEO OG image alt 1`] = `"BBC News සිංහල"`; - -exports[`Canonical Sinhala Live Radio Page SEO OG locale 1`] = `"si-LK"`; - -exports[`Canonical Sinhala Live Radio Page SEO OG site name 1`] = `"BBC News සිංහල"`; - -exports[`Canonical Sinhala Live Radio Page SEO OG title 1`] = `"බීබීසී සිංහල සංදේශය - BBC News සිංහල"`; - -exports[`Canonical Sinhala Live Radio Page SEO OG type 1`] = `"website"`; - -exports[`Canonical Sinhala Live Radio Page SEO OG url 1`] = `"http://localhost:7080/sinhala/bbc_sinhala_radio/liveradio"`; - -exports[`Canonical Sinhala Live Radio Page SEO Page title 1`] = `"බීබීසී සිංහල සංදේශය - BBC News සිංහල"`; - -exports[`Canonical Sinhala Live Radio Page SEO Robots meta tag 1`] = `"noodp, noydir, max-image-preview:large"`; - -exports[`Canonical Sinhala Live Radio Page SEO Twitter card 1`] = `"summary_large_image"`; - -exports[`Canonical Sinhala Live Radio Page SEO Twitter creator 1`] = `"@bbcsinhala"`; - -exports[`Canonical Sinhala Live Radio Page SEO Twitter description 1`] = `"බීබීසී සිංහල ඔස්සේ ශ්‍රී ලාංකීය, දකුණු ආසියාතික සහ ජාත්‍යන්තර පුවත්, විශ්ලේෂණ සහ ක්‍රීඩා පුවත්"`; - -exports[`Canonical Sinhala Live Radio Page SEO Twitter image alt 1`] = `"BBC News සිංහල"`; - -exports[`Canonical Sinhala Live Radio Page SEO Twitter image src 1`] = `"https://news.files.bbci.co.uk/ws/img/logos/og/sinhala.png"`; - -exports[`Canonical Sinhala Live Radio Page SEO Twitter site 1`] = `"@bbcsinhala"`; - -exports[`Canonical Sinhala Live Radio Page SEO Twitter title 1`] = `"බීබීසී සිංහල සංදේශය - BBC News සිංහල"`; - -exports[`Canonical Sinhala Live Radio Page Summary should match text 1`] = `"බීබීසී සිංහල ඔස්සේ ශ්‍රී ලාංකීය, දකුණු ආසියාතික සහ ජාත්‍යන්තර පුවත්, විශ්ලේෂණ සහ ක්‍රීඩා පුවත්"`; diff --git a/src/integration/pages/liveRadio/sinhala/canonical.test.js b/src/integration/pages/liveRadio/sinhala/canonical.test.js deleted file mode 100644 index 3238bfb4912..00000000000 --- a/src/integration/pages/liveRadio/sinhala/canonical.test.js +++ /dev/null @@ -1,10 +0,0 @@ -/** - * @service sinhala - * @pathname /sinhala/bbc_sinhala_radio/liveradio - */ - -import runCanonicalTests from '../canonicalTests'; - -describe('Canonical Sinhala Live Radio Page', () => { - runCanonicalTests(service); -}); From 8a2bfbbdb2d39b38536a25039dc1616b11755e25 Mon Sep 17 00:00:00 2001 From: HarveyPeachey Date: Fri, 29 Nov 2024 18:15:20 +0000 Subject: [PATCH 21/28] add atiAnalytics extraction support for live radio page --- .../bbc_afaanoromoo_radio/liveradio.json | 11 ++-- data/afrique/bbc_afrique_radio/liveradio.json | 43 +++++++------- data/amharic/bbc_amharic_radio/liveradio.json | 50 +++------------- data/arabic/bbc_arabic_radio/liveradio.json | 35 ++++++------ data/bengali/bbc_bangla_radio/liveradio.json | 11 ++-- data/burmese/bbc_burmese_radio/liveradio.json | 35 ++++++------ data/gahuza/bbc_gahuza_radio/liveradio.json | 50 ++++++++++++++-- data/hausa/bbc_hausa_radio/liveradio.json | 47 ++++++++------- .../bbc_indonesian_radio/liveradio.json | 11 ++-- data/korean/bbc_korean_radio/liveradio.json | 11 ++-- data/kyrgyz/bbc_kyrgyz_radio/liveradio.json | 11 ++-- data/nepali/bbc_nepali_radio/liveradio.json | 11 ++-- data/pashto/bbc_pashto_radio/liveradio.json | 57 ++++++++++--------- data/persian/bbc_dari_radio/liveradio.json | 55 +++++++++--------- data/somali/bbc_somali_radio/liveradio.json | 50 +++------------- data/swahili/bbc_swahili_radio/liveradio.json | 50 +++------------- data/tamil/bbc_tamil_radio/liveradio.json | 11 ++-- .../bbc_tigrinya_radio/liveradio.json | 50 ++++++++++++++-- data/urdu/bbc_urdu_radio/liveradio.json | 11 ++-- data/uzbek/bbc_uzbek_radio/liveradio.json | 11 ++-- .../components/ATIAnalytics/params/index.ts | 5 +- src/app/pages/LiveRadioPage/LiveRadioPage.tsx | 8 ++- src/app/pages/LiveRadioPage/types.ts | 2 + 23 files changed, 332 insertions(+), 304 deletions(-) diff --git a/data/afaanoromoo/bbc_afaanoromoo_radio/liveradio.json b/data/afaanoromoo/bbc_afaanoromoo_radio/liveradio.json index 58519ca0d14..573b42b555f 100644 --- a/data/afaanoromoo/bbc_afaanoromoo_radio/liveradio.json +++ b/data/afaanoromoo/bbc_afaanoromoo_radio/liveradio.json @@ -6,13 +6,16 @@ "id": "urn:bbc:ares:ws_media:live:bbc_afaanoromoo_radio", "name": "Dhaggeeffadhaa", "summary": "Sagantaawwan keenya", - "pageTitle": "Dhaggeeffadhaa - BBC News Afaan Oromoo", - "contentType": "player-live", - "pageIdentifier": "afaanoromoo.bbc_afaanoromoo_radio.liveradio.page", "masterBrand": "bbc_oromo_radio", "radioScheduleData": null, "metadata": { - "type": "Live Radio" + "type": "Live Radio", + "atiAnalytics": { + "contentId": "urn:bbc:ares:ws_media:live:bbc_afaanoromoo_radio", + "contentType": "player-live", + "pageIdentifier": "afaanoromoo.bbc_afaanoromoo_radio.liveradio.page", + "pageTitle": "Dhaggeeffadhaa - BBC News Afaan Oromoo" + } }, "mediaBlock": [ { diff --git a/data/afrique/bbc_afrique_radio/liveradio.json b/data/afrique/bbc_afrique_radio/liveradio.json index 83b64515174..16521458dff 100644 --- a/data/afrique/bbc_afrique_radio/liveradio.json +++ b/data/afrique/bbc_afrique_radio/liveradio.json @@ -6,50 +6,53 @@ "id": "urn:bbc:ares:ws_media:live:bbc_afrique_radio", "name": "BBC Afrique Radio", "summary": "Infos, musique et sports", - "pageTitle": "BBC Afrique Radio - BBC News Afrique", - "contentType": "player-live", - "pageIdentifier": "afrique.bbc_afrique_radio.liveradio.page", "masterBrand": "bbc_afrique_radio", "radioScheduleData": [ { - "id": "p0jzq76w", + "id": "p0k01c4p", "state": "next", - "startTime": "2024-11-27T16:10:00.000Z", - "link": "/afrique/bbc_afrique_radio/w172zztzpg8ppbn", - "brandTitle": "Afrique Avenir", - "summary": "Tout savoir sur les jeunes entrepreneurs africains.", - "duration": "PT20M" + "startTime": "2024-11-29T18:00:00.000Z", + "link": "/afrique/bbc_afrique_radio/w17300vglvk3fwt", + "brandTitle": "BBC Soir", + "summary": "La grande édition d'information de la soirée ", + "duration": "PT10M" }, { - "id": "p0jzmw48", - "state": "live", - "startTime": "2024-11-27T12:20:00.000Z", - "link": "/afrique/bbc_afrique_radio/liveradio", + "id": "p0k01c3n", + "state": "onDemand", + "startTime": "2024-11-29T12:20:00.000Z", + "link": "/afrique/bbc_afrique_radio/w172zzrjc8gt3ht", "brandTitle": "A Vous L'antenne", "summary": "Du lundi au vendredi les auditeurs réagissent à chaud sur les sujets qui rythment l'actualité ", "duration": "PT10M" }, { - "id": "p0jzmw46", + "id": "p0k01c3l", "state": "onDemand", - "startTime": "2024-11-27T12:10:00.000Z", - "link": "/afrique/bbc_afrique_radio/w172zzx198sdgfc", + "startTime": "2024-11-29T12:10:00.000Z", + "link": "/afrique/bbc_afrique_radio/w172zzx198sl87k", "brandTitle": "Au Coeur De L'actu", "summary": "Un jour, un thème pour aller plus en profondeur sur les sujets qui font bouger l’Afrique", "duration": "PT10M" }, { - "id": "p0jzmw44", + "id": "p0k01c3j", "state": "onDemand", - "startTime": "2024-11-27T12:00:00.000Z", - "link": "/afrique/bbc_afrique_radio/w17300vwb6v7kth", + "startTime": "2024-11-29T12:00:00.000Z", + "link": "/afrique/bbc_afrique_radio/w17300vwb6vfcmp", "brandTitle": "BBC Midi", "summary": "Le point de l'actualité à la mi-journée", "duration": "PT10M" } ], "metadata": { - "type": "Live Radio" + "type": "Live Radio", + "atiAnalytics": { + "contentId": "urn:bbc:ares:ws_media:live:bbc_afrique_radio", + "contentType": "player-live", + "pageIdentifier": "afrique.bbc_afrique_radio.liveradio.page", + "pageTitle": "BBC Afrique Radio - BBC News Afrique" + } }, "mediaBlock": [ { diff --git a/data/amharic/bbc_amharic_radio/liveradio.json b/data/amharic/bbc_amharic_radio/liveradio.json index 0bda12f49de..fb63481d6e9 100644 --- a/data/amharic/bbc_amharic_radio/liveradio.json +++ b/data/amharic/bbc_amharic_radio/liveradio.json @@ -6,50 +6,16 @@ "id": "urn:bbc:ares:ws_media:live:bbc_amharic_radio", "name": "ያድምጡ", "summary": "ዝግጅቶቻችንን’", - "pageTitle": "ያድምጡ - BBC News አማርኛ", - "contentType": "player-live", - "pageIdentifier": "amharic.bbc_amharic_radio.liveradio.page", "masterBrand": "bbc_amharic_radio", - "radioScheduleData": [ - { - "id": "p0jzqr32", - "state": "next", - "startTime": "2024-11-27T17:29:47.000Z", - "link": "/amharic/bbc_amharic_radio/w3ct74lc", - "brandTitle": "ቢቢሲ አማርኛ ዜና", - "summary": "የ15 ደቂቃ ዜናና ወቅታዊ ጉዳዮችን የሚዳስስ ፕሮግራም", - "duration": "PT14M43S" - }, - { - "id": "p0jzgnjq", - "state": "onDemand", - "startTime": "2024-11-26T17:44:30.000Z", - "link": "/amharic/bbc_amharic_radio/w3ct74bg", - "brandTitle": "ቢቢሲ አማርኛ የእንግሊዝኛ ቋንቋ ትምህርት ክፍለ-ግዜ", - "summary": "የ5 ደቂቃ የጀማሪ፣ የመለስተኛና የከፍተኛ ደረጃ የእግሊዝኛ ቋንቋ ትምህርት ክፍለ-ግዜ", - "duration": "PT5M" - }, - { - "id": "p0jzgnjn", - "state": "onDemand", - "startTime": "2024-11-26T17:29:47.000Z", - "link": "/amharic/bbc_amharic_radio/w3ct74gz", - "brandTitle": "ቢቢሲ አማርኛ ዜና", - "summary": "የ15 ደቂቃ ዜናና ወቅታዊ ጉዳዮችን የሚዳስስ ፕሮግራም", - "duration": "PT14M43S" - }, - { - "id": "p0jz81nw", - "state": "onDemand", - "startTime": "2024-11-25T17:44:30.000Z", - "link": "/amharic/bbc_amharic_radio/w3ct749b", - "brandTitle": "ቢቢሲ አማርኛ የእንግሊዝኛ ቋንቋ ትምህርት ክፍለ-ግዜ", - "summary": "የ5 ደቂቃ የጀማሪ፣ የመለስተኛና የከፍተኛ ደረጃ የእግሊዝኛ ቋንቋ ትምህርት ክፍለ-ግዜ", - "duration": "PT5M" - } - ], + "radioScheduleData": null, "metadata": { - "type": "Live Radio" + "type": "Live Radio", + "atiAnalytics": { + "contentId": "urn:bbc:ares:ws_media:live:bbc_amharic_radio", + "contentType": "player-live", + "pageIdentifier": "amharic.bbc_amharic_radio.liveradio.page", + "pageTitle": "ያድምጡ - BBC News አማርኛ" + } }, "mediaBlock": [ { diff --git a/data/arabic/bbc_arabic_radio/liveradio.json b/data/arabic/bbc_arabic_radio/liveradio.json index d054a6479e8..e307e801491 100644 --- a/data/arabic/bbc_arabic_radio/liveradio.json +++ b/data/arabic/bbc_arabic_radio/liveradio.json @@ -6,50 +6,53 @@ "id": "urn:bbc:ares:ws_media:live:bbc_arabic_radio", "name": "مباشر: إذاعة بي بي سي عربي", "summary": "خدمة إخبارية على مدار الساعة و برامج حوارية وتفاعلية تناقش قضايا المنطقة والعالم وباقة من البرامج المنوعة من إذاعة بي بي سي", - "pageTitle": "مباشر: إذاعة بي بي سي عربي - BBC News Arabic", - "contentType": "player-live", - "pageIdentifier": "arabic.bbc_arabic_radio.liveradio.page", "masterBrand": "bbc_arabic_radio", "radioScheduleData": [ { - "id": "p0jzp568", + "id": "p0k0bdf6", "state": "next", - "startTime": "2024-11-27T14:59:30.000Z", - "link": "/arabic/bbc_arabic_radio/w17300stqdbjnyp", + "startTime": "2024-11-30T05:59:30.000Z", + "link": "/arabic/bbc_arabic_radio/w17300sf011fmr5", "brandTitle": "غزة اليوم ", "summary": "البرنامج يقدم خدمة اخبارية ومعلومات تهدف الى توعية الجمهور في غزة بما يحدث على الأرض ", "duration": "PT30M" }, { - "id": "p0jzk212", + "id": "p0k01c0p", "state": "onDemand", - "startTime": "2024-11-27T05:59:30.000Z", - "link": "/arabic/bbc_arabic_radio/w17300sf0114y0w", + "startTime": "2024-11-29T14:59:30.000Z", + "link": "/arabic/bbc_arabic_radio/w17300stqdbqgrw", "brandTitle": "غزة اليوم ", "summary": "البرنامج يقدم خدمة اخبارية ومعلومات تهدف الى توعية الجمهور في غزة بما يحدث على الأرض ", "duration": "PT30M" }, { - "id": "p0jzfdqh", + "id": "p0k01c0m", "state": "onDemand", - "startTime": "2024-11-26T14:59:30.000Z", - "link": "/arabic/bbc_arabic_radio/w17300stqdbfs1l", + "startTime": "2024-11-29T05:59:30.000Z", + "link": "/arabic/bbc_arabic_radio/w17300sf011bqv2", "brandTitle": "غزة اليوم ", "summary": "البرنامج يقدم خدمة اخبارية ومعلومات تهدف الى توعية الجمهور في غزة بما يحدث على الأرض ", "duration": "PT30M" }, { - "id": "p0jzbcyn", + "id": "p0jzy6j5", "state": "onDemand", - "startTime": "2024-11-26T05:59:30.000Z", - "link": "/arabic/bbc_arabic_radio/w17300sf011213s", + "startTime": "2024-11-28T14:59:30.000Z", + "link": "/arabic/bbc_arabic_radio/w17300stqdbmkvs", "brandTitle": "غزة اليوم ", "summary": "البرنامج يقدم خدمة اخبارية ومعلومات تهدف الى توعية الجمهور في غزة بما يحدث على الأرض ", "duration": "PT30M" } ], "metadata": { - "type": "Live Radio" + "type": "Live Radio", + "atiAnalytics": { + "contentId": "urn:bbc:ares:ws_media:live:bbc_arabic_radio", + "contentType": "player-live", + "pageIdentifier": "arabic.bbc_arabic_radio.liveradio.page", + "pageTitle": "مباشر: إذاعة بي بي سي عربي - BBC News Arabic" + } }, "mediaBlock": [ { diff --git a/data/bengali/bbc_bangla_radio/liveradio.json b/data/bengali/bbc_bangla_radio/liveradio.json index 977a443b9de..3065dae8885 100644 --- a/data/bengali/bbc_bangla_radio/liveradio.json +++ b/data/bengali/bbc_bangla_radio/liveradio.json @@ -6,13 +6,16 @@ "id": "urn:bbc:ares:ws_media:live:bbc_bangla_radio", "name": "বিবিসি বাংলা", "summary": "বাংলাদেশ, তার প্রতিবেশী এবং গোটা বিশ্বের সংবাদ পরিবেশন করে। সংবাদদাতার প্রতিবেদন ছাড়াও আছে সাক্ষাৎকার, সংবাদপত্র পর্যালোচনা এবং সরাসরি ফোন-ইন।", - "pageTitle": "বিবিসি বাংলা - BBC News বাংলা", - "contentType": "player-live", - "pageIdentifier": "bengali.bbc_bangla_radio.liveradio.page", "masterBrand": "bbc_bangla_radio", "radioScheduleData": null, "metadata": { - "type": "Live Radio" + "type": "Live Radio", + "atiAnalytics": { + "contentId": "urn:bbc:ares:ws_media:live:bbc_bangla_radio", + "contentType": "player-live", + "pageIdentifier": "bengali.bbc_bangla_radio.liveradio.page", + "pageTitle": "বিবিসি বাংলা - BBC News বাংলা" + } }, "mediaBlock": [ { diff --git a/data/burmese/bbc_burmese_radio/liveradio.json b/data/burmese/bbc_burmese_radio/liveradio.json index c12cc7bf248..848fe03de34 100644 --- a/data/burmese/bbc_burmese_radio/liveradio.json +++ b/data/burmese/bbc_burmese_radio/liveradio.json @@ -6,50 +6,53 @@ "id": "urn:bbc:ares:ws_media:live:bbc_burmese_radio", "name": "ဘီဘီစီ မြန်မာပိုင်း ရေဒီယို", "summary": "နေ့စဉ် ပြည်တွင်း ပြည်ပ သတင်းနဲ့ သုံးသပ်ချက်များ၊ ပညာရေး၊ ကျန်းမာရေး၊ အားကစား၊ နည်းပညာ အစီအစဉ်များ နဲ့ မျက်မှောက်ရေးရာ ဆွေးနွေးခန်းများ", - "pageTitle": "ဘီဘီစီ မြန်မာပိုင်း ရေဒီယို - BBC News မြန်မာ", - "contentType": "player-live", - "pageIdentifier": "burmese.bbc_burmese_radio.liveradio.page", "masterBrand": "bbc_burmese_radio", "radioScheduleData": [ { - "id": "p0jznlhr", + "id": "p0k0crj5", "state": "next", - "startTime": "2024-11-27T13:29:30.000Z", - "link": "/burmese/bbc_burmese_radio/w3ct768s", + "startTime": "2024-11-30T13:29:30.000Z", + "link": "/burmese/bbc_burmese_radio/w3ct7620", "brandTitle": "ကမ္ဘာ့မျက်မှောက်ရေးရာ။", "summary": "သတင်းနှင့်ကမ္ဘာ့မျက်မှောက်ရေးရာ", "duration": "PT15M" }, { - "id": "p0jzf5pt", + "id": "p0k01c52", "state": "onDemand", - "startTime": "2024-11-26T13:29:30.000Z", - "link": "/burmese/bbc_burmese_radio/w3ct765d", + "startTime": "2024-11-29T13:29:30.000Z", + "link": "/burmese/bbc_burmese_radio/w3ct75zr", "brandTitle": "ကမ္ဘာ့မျက်မှောက်ရေးရာ။", "summary": "သတင်းနှင့်ကမ္ဘာ့မျက်မှောက်ရေးရာ", "duration": "PT15M" }, { - "id": "p0jz6r6c", + "id": "p0jzxtnc", "state": "onDemand", - "startTime": "2024-11-25T13:29:30.000Z", - "link": "/burmese/bbc_burmese_radio/w3ct760w", + "startTime": "2024-11-28T13:29:30.000Z", + "link": "/burmese/bbc_burmese_radio/w3ct7648", "brandTitle": "ကမ္ဘာ့မျက်မှောက်ရေးရာ။", "summary": "သတင်းနှင့်ကမ္ဘာ့မျက်မှောက်ရေးရာ", "duration": "PT15M" }, { - "id": "p0jz0q6x", + "id": "p0jznlhr", "state": "onDemand", - "startTime": "2024-11-24T13:29:30.000Z", - "link": "/burmese/bbc_burmese_radio/w3ct7633", + "startTime": "2024-11-27T13:29:30.000Z", + "link": "/burmese/bbc_burmese_radio/w3ct768s", "brandTitle": "ကမ္ဘာ့မျက်မှောက်ရေးရာ။", "summary": "သတင်းနှင့်ကမ္ဘာ့မျက်မှောက်ရေးရာ", "duration": "PT15M" } ], "metadata": { - "type": "Live Radio" + "type": "Live Radio", + "atiAnalytics": { + "contentId": "urn:bbc:ares:ws_media:live:bbc_burmese_radio", + "contentType": "player-live", + "pageIdentifier": "burmese.bbc_burmese_radio.liveradio.page", + "pageTitle": "ဘီဘီစီ မြန်မာပိုင်း ရေဒီယို - BBC News မြန်မာ" + } }, "mediaBlock": [ { diff --git a/data/gahuza/bbc_gahuza_radio/liveradio.json b/data/gahuza/bbc_gahuza_radio/liveradio.json index 1496041313c..ba1ac6301cb 100644 --- a/data/gahuza/bbc_gahuza_radio/liveradio.json +++ b/data/gahuza/bbc_gahuza_radio/liveradio.json @@ -6,13 +6,53 @@ "id": "urn:bbc:ares:ws_media:live:bbc_gahuza_radio", "name": "Radio BBC Gahuza", "summary": "Amakuru y’amahanga, ubusesenguzi, amakuru y’akarere k’ibiyaga bigari, ikinamico, ubuzima, imibereho y’abagore. Kuri FM no kuri internet.", - "pageTitle": "Radio BBC Gahuza - BBC News Gahuza", - "contentType": "player-live", - "pageIdentifier": "gahuza.bbc_gahuza_radio.liveradio.page", "masterBrand": "bbc_gahuza_radio", - "radioScheduleData": null, + "radioScheduleData": [ + { + "id": "p0k0bdd3", + "state": "next", + "startTime": "2024-11-30T05:00:00.000Z", + "link": "/gahuza/bbc_gahuza_radio/w3ct79bn", + "brandTitle": "Imvo n'Imvano", + "summary": "Ikiganiro gicukumbuye ku bibazo bitandukanye.", + "duration": "PT59M" + }, + { + "id": "p0k01by7", + "state": "onDemand", + "startTime": "2024-11-29T16:29:30.000Z", + "link": "/gahuza/bbc_gahuza_radio/w172zyj4c8vhw4n", + "brandTitle": "Amakuru ya Gahuzamiryango", + "summary": "Amakuru yo hirya no hino yibanda cyane cyane ku karere k'ibiyaga bigari muri Afrika, n'amakuru mpuzamakungu.", + "duration": "PT30M" + }, + { + "id": "p0jzzggs", + "state": "onDemand", + "startTime": "2024-11-28T16:29:30.000Z", + "link": "/gahuza/bbc_gahuza_radio/w17300mcpzgxt1z", + "brandTitle": "Amakuru ya Gahuzamiryango", + "summary": "Amakuru yo hirya no hino yibanda cyane cyane ku karere k'ibiyaga bigari muri Afrika, n'amakuru mpuzamakungu.", + "duration": "PT15M" + }, + { + "id": "p0jzq75g", + "state": "onDemand", + "startTime": "2024-11-27T16:29:30.000Z", + "link": "/gahuza/bbc_gahuza_radio/w172zyj4c8vb2bg", + "brandTitle": "Amakuru ya Gahuzamiryango", + "summary": "Amakuru yo hirya no hino yibanda cyane cyane ku karere k'ibiyaga bigari muri Afrika, n'amakuru mpuzamakungu.", + "duration": "PT30M" + } + ], "metadata": { - "type": "Live Radio" + "type": "Live Radio", + "atiAnalytics": { + "contentId": "urn:bbc:ares:ws_media:live:bbc_gahuza_radio", + "contentType": "player-live", + "pageIdentifier": "gahuza.bbc_gahuza_radio.liveradio.page", + "pageTitle": "Radio BBC Gahuza - BBC News Gahuza" + } }, "mediaBlock": [ { diff --git a/data/hausa/bbc_hausa_radio/liveradio.json b/data/hausa/bbc_hausa_radio/liveradio.json index edc0e4c2fd3..3500e8e23a8 100644 --- a/data/hausa/bbc_hausa_radio/liveradio.json +++ b/data/hausa/bbc_hausa_radio/liveradio.json @@ -6,50 +6,53 @@ "id": "urn:bbc:ares:ws_media:live:bbc_hausa_radio", "name": "BBC Hausa Rediyo", "summary": "Labaran duniya da sharhi da kuma bayanai kan al'amuran yau da kullum daga sashin Hausa na BBC.", - "pageTitle": "BBC Hausa Rediyo - BBC News Hausa", - "contentType": "player-live", - "pageIdentifier": "hausa.bbc_hausa_radio.liveradio.page", "masterBrand": "bbc_hausa_radio", "radioScheduleData": [ { - "id": "p0jznlc9", + "id": "p0k01c1g", "state": "next", - "startTime": "2024-11-27T13:59:30.000Z", - "link": "/hausa/bbc_hausa_radio/w3ct772n", + "startTime": "2024-11-29T19:29:30.000Z", + "link": "/hausa/bbc_hausa_radio/w3ct76x0", + "brandTitle": "Ra’ayi Riga", + "summary": "Shiri ne a duk ranar Juma'a da ke baiwa masu sauraro damar bayyana ra'ayoyinsu.", + "duration": "PT1H" + }, + { + "id": "p0k01c1d", + "state": "onDemand", + "startTime": "2024-11-29T13:59:30.000Z", + "link": "/hausa/bbc_hausa_radio/w3ct76y4", "brandTitle": "Shirin Rana", "summary": "Shiri ne na minti 30 wanda ya kunshi labaru da rahotanni daga sassa daban-daban na duniya.", "duration": "PT30M" }, { - "id": "p0jzk21x", + "id": "p0k01c1b", "state": "onDemand", - "startTime": "2024-11-27T06:30:00.000Z", - "link": "/hausa/bbc_hausa_radio/w172zxmn0vn85jx", + "startTime": "2024-11-29T06:30:00.000Z", + "link": "/hausa/bbc_hausa_radio/w172zxmn0vnfzc3", "brandTitle": "Shirin Hantsi", "summary": "Shiri ne na minti 30 wanda ya kunshi labaru da rahotanni daga sassa daban na duniya.", "duration": "PT29M30S" }, { - "id": "p0jzk21v", + "id": "p0k01c18", "state": "onDemand", - "startTime": "2024-11-27T05:29:30.000Z", - "link": "/hausa/bbc_hausa_radio/w3ct77bk", + "startTime": "2024-11-29T05:29:30.000Z", + "link": "/hausa/bbc_hausa_radio/w3ct773s", "brandTitle": "Shirin Safe", "summary": "Shiri ne na minti 30 wanda ya kunshi labaru da rahotanni daga sassa daban na duniya.", "duration": "PT30M" - }, - { - "id": "p0jzgzkh", - "state": "onDemand", - "startTime": "2024-11-26T19:29:30.000Z", - "link": "/hausa/bbc_hausa_radio/w3ct77j6", - "brandTitle": "Shirin Yamma", - "summary": "Shiri ne na minti 30 wanda ya kunshi labaru da rahotanni daga sassa daban na duniya.", - "duration": "PT30M" } ], "metadata": { - "type": "Live Radio" + "type": "Live Radio", + "atiAnalytics": { + "contentId": "urn:bbc:ares:ws_media:live:bbc_hausa_radio", + "contentType": "player-live", + "pageIdentifier": "hausa.bbc_hausa_radio.liveradio.page", + "pageTitle": "BBC Hausa Rediyo - BBC News Hausa" + } }, "mediaBlock": [ { diff --git a/data/indonesia/bbc_indonesian_radio/liveradio.json b/data/indonesia/bbc_indonesian_radio/liveradio.json index 674e422fe23..40d72b6d9c7 100644 --- a/data/indonesia/bbc_indonesian_radio/liveradio.json +++ b/data/indonesia/bbc_indonesian_radio/liveradio.json @@ -6,13 +6,16 @@ "id": "urn:bbc:ares:ws_media:live:bbc_indonesian_radio", "name": "BBC Indonesia Radio", "summary": "BBC Indonesia Radio: Berita dunia, ulasan, berita olahraga dan majalah mingguan dari BBC Indonesia Radio.", - "pageTitle": "BBC Indonesia Radio - BBC News Indonesia", - "contentType": "player-live", - "pageIdentifier": "indonesia.bbc_indonesian_radio.liveradio.page", "masterBrand": "bbc_indonesian_radio", "radioScheduleData": null, "metadata": { - "type": "Live Radio" + "type": "Live Radio", + "atiAnalytics": { + "contentId": "urn:bbc:ares:ws_media:live:bbc_indonesian_radio", + "contentType": "player-live", + "pageIdentifier": "indonesia.bbc_indonesian_radio.liveradio.page", + "pageTitle": "BBC Indonesia Radio - BBC News Indonesia" + } }, "mediaBlock": [ { diff --git a/data/korean/bbc_korean_radio/liveradio.json b/data/korean/bbc_korean_radio/liveradio.json index b2eb4dd10c8..baff0c899ea 100644 --- a/data/korean/bbc_korean_radio/liveradio.json +++ b/data/korean/bbc_korean_radio/liveradio.json @@ -6,13 +6,16 @@ "id": "urn:bbc:ares:ws_media:live:bbc_korean_radio", "name": "BBC 코리아 라디오", "summary": "세계와 한반도 뉴스를 공정하고 객관적으로 전달해 드립니다", - "pageTitle": "BBC 코리아 라디오 - BBC News 코리아", - "contentType": "player-live", - "pageIdentifier": "korean.bbc_korean_radio.liveradio.page", "masterBrand": "bbc_korean_radio", "radioScheduleData": null, "metadata": { - "type": "Live Radio" + "type": "Live Radio", + "atiAnalytics": { + "contentId": "urn:bbc:ares:ws_media:live:bbc_korean_radio", + "contentType": "player-live", + "pageIdentifier": "korean.bbc_korean_radio.liveradio.page", + "pageTitle": "BBC 코리아 라디오 - BBC News 코리아" + } }, "mediaBlock": [ { diff --git a/data/kyrgyz/bbc_kyrgyz_radio/liveradio.json b/data/kyrgyz/bbc_kyrgyz_radio/liveradio.json index d141dfb222b..d5bbb33b27f 100644 --- a/data/kyrgyz/bbc_kyrgyz_radio/liveradio.json +++ b/data/kyrgyz/bbc_kyrgyz_radio/liveradio.json @@ -6,13 +6,16 @@ "id": "urn:bbc:ares:ws_media:live:bbc_kyrgyz_radio", "name": "Би-Би-Си Кыргыз кызматынын радиосу", "summary": "Эл аралык жана жергиликтүү жаңылыктар, аналитика, кызыктуу материалдар кыргыз тилинде", - "pageTitle": "Би-Би-Си Кыргыз кызматынын радиосу - BBC News Кыргыз КызMATы", - "contentType": "player-live", - "pageIdentifier": "kyrgyz.bbc_kyrgyz_radio.liveradio.page", "masterBrand": "bbc_kyrgyz_radio", "radioScheduleData": null, "metadata": { - "type": "Live Radio" + "type": "Live Radio", + "atiAnalytics": { + "contentId": "urn:bbc:ares:ws_media:live:bbc_kyrgyz_radio", + "contentType": "player-live", + "pageIdentifier": "kyrgyz.bbc_kyrgyz_radio.liveradio.page", + "pageTitle": "Би-Би-Си Кыргыз кызматынын радиосу - BBC News Кыргыз КызMATы" + } }, "mediaBlock": [ { diff --git a/data/nepali/bbc_nepali_radio/liveradio.json b/data/nepali/bbc_nepali_radio/liveradio.json index 89e6622fc3c..51e0328cbb2 100644 --- a/data/nepali/bbc_nepali_radio/liveradio.json +++ b/data/nepali/bbc_nepali_radio/liveradio.json @@ -6,13 +6,16 @@ "id": "urn:bbc:ares:ws_media:live:bbc_nepali_radio", "name": "बीबीसी नेपाली रेडियो", "summary": "नेपाली भाषामा बीबीसी विश्व सेवाको राष्ट्रिय तथा अन्तर्राष्ट्रिय समाचार तथा समसामयिक चर्चा, राष्ट्रिय तथा अन्तर्राष्ट्रिय समाचार विश्लेषण, समाचारमा रहेका व्यक्तित्वहरुसंगको अन्तर्वार्ता, साप्ताहिक बहस तथा छलफल, विज्ञान, स्वास्थ्य.", - "pageTitle": "बीबीसी नेपाली रेडियो - BBC News नेपाली", - "contentType": "player-live", - "pageIdentifier": "nepali.bbc_nepali_radio.liveradio.page", "masterBrand": "bbc_nepali_radio", "radioScheduleData": null, "metadata": { - "type": "Live Radio" + "type": "Live Radio", + "atiAnalytics": { + "contentId": "urn:bbc:ares:ws_media:live:bbc_nepali_radio", + "contentType": "player-live", + "pageIdentifier": "nepali.bbc_nepali_radio.liveradio.page", + "pageTitle": "बीबीसी नेपाली रेडियो - BBC News नेपाली" + } }, "mediaBlock": [ { diff --git a/data/pashto/bbc_pashto_radio/liveradio.json b/data/pashto/bbc_pashto_radio/liveradio.json index 474e881af09..0a29173b152 100644 --- a/data/pashto/bbc_pashto_radio/liveradio.json +++ b/data/pashto/bbc_pashto_radio/liveradio.json @@ -6,50 +6,53 @@ "id": "urn:bbc:ares:ws_media:live:bbc_pashto_radio", "name": "بي بي سي افغانستان (پښتو خپرونه)", "summary": "بي بي سي د افغانستان لپاره کورني، سیمه ییز او نړیوال وروستي او کره خبرونه د هر اړخېزو څېړونو او شننو سره تاسې ته وړاندې کوي. په پښتو او دري ژبو بېلا بېلې سیاسي، اقتصادي، ټولنېزې او روزنیزې خپرونې هر ورځ د سهار له ۵ بجو نه د شپې تر ۱۲ بجو پورې خپروي", - "pageTitle": "بي بي سي افغانستان (پښتو خپرونه) - BBC News پښتو", - "contentType": "player-live", - "pageIdentifier": "pashto.bbc_pashto_radio.liveradio.page", "masterBrand": "bbc_pashto_radio", "radioScheduleData": [ { - "id": "p0jznlhy", + "id": "p0k09cr2", "state": "next", - "startTime": "2024-11-27T13:30:00.000Z", - "link": "/pashto/bbc_pashto_radio/w3ct7hh0", - "brandTitle": "پښتو تلویزیون", - "summary": "دا خپرونه له بي‌ بي سي پښتو اورئ", - "duration": "PT28M" + "startTime": "2024-11-30T02:00:00.000Z", + "link": "/pashto/bbc_pashto_radio/w3ct7c3z", + "brandTitle": "لومړنۍ سهارنۍ خپرونه", + "summary": "لومړۍ سهارنۍ خبري راډيويي خپرونه", + "duration": "PT29M30S" }, { - "id": "p0jzk28y", + "id": "p0k01c67", "state": "onDemand", - "startTime": "2024-11-27T05:00:00.000Z", - "link": "/pashto/bbc_pashto_radio/w172zzqwck8rtr4", - "brandTitle": "د نن خبرې", - "summary": "د اورېدونکو نظرونه او وړانديزونه\n", + "startTime": "2024-11-29T16:30:00.000Z", + "link": "/pashto/bbc_pashto_radio/w172zzjb5zrmfgn", + "brandTitle": "خبر او نظر", + "summary": "دا خپرونه له بي‌ بي سي پښتو اورئ\n", "duration": "PT29M30S" }, { - "id": "p0jzk28t", + "id": "p0k01c63", "state": "onDemand", - "startTime": "2024-11-27T03:00:00.000Z", - "link": "/pashto/bbc_pashto_radio/w3ct7cjd", - "brandTitle": "دویمه سهارنۍ خپرونه", - "summary": "دوهمه سهارنۍ خبري راډيويي خپرونه", - "duration": "PT29M30S" + "startTime": "2024-11-29T15:00:00.000Z", + "link": "/pashto/bbc_pashto_radio/w3ct7ckj", + "brandTitle": "ماښامنۍ خپرونه", + "summary": "ماښامنۍ خبري راډيويي خپرونه", + "duration": "PT30M" }, { - "id": "p0jzj0m5", + "id": "p0k01c61", "state": "onDemand", - "startTime": "2024-11-27T02:00:00.000Z", - "link": "/pashto/bbc_pashto_radio/w3ct7c8h", - "brandTitle": "لومړنۍ سهارنۍ خپرونه", - "summary": "لومړۍ سهارنۍ خبري راډيويي خپرونه", - "duration": "PT29M30S" + "startTime": "2024-11-29T13:30:00.000Z", + "link": "/pashto/bbc_pashto_radio/w3ct7h87", + "brandTitle": "پښتو تلویزیون", + "summary": "دا خپرونه له بي‌ بي سي پښتو اورئ", + "duration": "PT28M" } ], "metadata": { - "type": "Live Radio" + "type": "Live Radio", + "atiAnalytics": { + "contentId": "urn:bbc:ares:ws_media:live:bbc_pashto_radio", + "contentType": "player-live", + "pageIdentifier": "pashto.bbc_pashto_radio.liveradio.page", + "pageTitle": "بي بي سي افغانستان (پښتو خپرونه) - BBC News پښتو" + } }, "mediaBlock": [ { diff --git a/data/persian/bbc_dari_radio/liveradio.json b/data/persian/bbc_dari_radio/liveradio.json index 2b7864fd871..fcaff4c1121 100644 --- a/data/persian/bbc_dari_radio/liveradio.json +++ b/data/persian/bbc_dari_radio/liveradio.json @@ -6,50 +6,53 @@ "id": "urn:bbc:ares:ws_media:live:bbc_dari_radio", "name": "بی بی سی افغانستان (برنامه های دری)", "summary": "بی بی سی برای افغانستان تازه ترین و دقیق ترین خبرهای افغانستان ، منطقه و جهان را با تحلیل های همه جانبه ارایه می کند. برنامه های مختلف سیاسی، اجتماعی، فرهنگی و آموزشی از ساعت پنج صبح تا دوازده شب به زبان های دری و پشتو از بی بی سی برای افغانستان.", - "pageTitle": "بی بی سی افغانستان (برنامه های دری) - BBC News فارسی", - "contentType": "player-live", - "pageIdentifier": "persian.bbc_dari_radio.liveradio.page", "masterBrand": "bbc_dari_radio", "radioScheduleData": [ { - "id": "p0jzp562", + "id": "p0k09903", "state": "next", - "startTime": "2024-11-27T14:00:00.000Z", - "link": "/persian/bbc_dari_radio/w3ct7b6r", - "brandTitle": "مجله شامگاهی", - "summary": "برنامه خبری و تحلیلی شامگاهی \n", - "duration": "PT30M" + "startTime": "2024-11-30T01:30:00.000Z", + "link": "/persian/bbc_dari_radio/w3ct79kf", + "brandTitle": "چشم انداز بامدادی 1", + "summary": "برنامه خبری صبح بی بی سی ۱\n", + "duration": "PT29M30S" }, { - "id": "p0jzj0jx", + "id": "p0k01bzz", "state": "onDemand", - "startTime": "2024-11-27T02:30:00.000Z", - "link": "/persian/bbc_dari_radio/w3ct79yv", - "brandTitle": "چشم انداز بامدادی 2", - "summary": "برنامه خبری صبح بی بی سی ۱", + "startTime": "2024-11-29T16:00:00.000Z", + "link": "/persian/bbc_dari_radio/w172zyy8fyhhp56", + "brandTitle": "خبر و نظر", + "summary": "برنامه نظر و تحلیل شنوندگان\n", "duration": "PT29M30S" }, { - "id": "p0jzhszf", + "id": "p0k01bzv", "state": "onDemand", - "startTime": "2024-11-27T01:30:00.000Z", - "link": "/persian/bbc_dari_radio/w3ct79py", - "brandTitle": "چشم انداز بامدادی 1", - "summary": "برنامه خبری صبح بی بی سی ۱\n", - "duration": "PT29M30S" + "startTime": "2024-11-29T14:00:00.000Z", + "link": "/persian/bbc_dari_radio/w3ct79zz", + "brandTitle": "مجله شامگاهی", + "summary": "برنامه خبری و تحلیلی شامگاهی \n", + "duration": "PT30M" }, { - "id": "p0jzg8nl", + "id": "p0k01bz6", "state": "onDemand", - "startTime": "2024-11-26T16:00:00.000Z", - "link": "/persian/bbc_dari_radio/w172zyy8fyh6zfx", - "brandTitle": "خبر و نظر", - "summary": "برنامه نظر و تحلیل شنوندگان\n", + "startTime": "2024-11-29T02:30:00.000Z", + "link": "/persian/bbc_dari_radio/w3ct79r2", + "brandTitle": "چشم انداز بامدادی 2", + "summary": "برنامه خبری صبح بی بی سی ۱", "duration": "PT29M30S" } ], "metadata": { - "type": "Live Radio" + "type": "Live Radio", + "atiAnalytics": { + "contentId": "urn:bbc:ares:ws_media:live:bbc_dari_radio", + "contentType": "player-live", + "pageIdentifier": "persian.bbc_dari_radio.liveradio.page", + "pageTitle": "بی بی سی افغانستان (برنامه های دری) - BBC News فارسی" + } }, "mediaBlock": [ { diff --git a/data/somali/bbc_somali_radio/liveradio.json b/data/somali/bbc_somali_radio/liveradio.json index e9f7c27eac4..b6baff7d0f5 100644 --- a/data/somali/bbc_somali_radio/liveradio.json +++ b/data/somali/bbc_somali_radio/liveradio.json @@ -6,50 +6,16 @@ "id": "urn:bbc:ares:ws_media:live:bbc_somali_radio", "name": "Raadiyaha BBC Soomaali", "summary": "Wararka iyo xaaladda taagan ee dunida oo dhan, faallo, muusig, madadaallo iyo cayaaro.", - "pageTitle": "Raadiyaha BBC Soomaali - BBC News Somali", - "contentType": "player-live", - "pageIdentifier": "somali.bbc_somali_radio.liveradio.page", "masterBrand": "bbc_somali_radio", - "radioScheduleData": [ - { - "id": "p0jznlbb", - "state": "next", - "startTime": "2024-11-27T13:59:30.000Z", - "link": "/somali/bbc_somali_radio/w172zyh9xk7mgjv", - "brandTitle": "Dunida Iyo Maanta", - "summary": "Barnaamij aan ku eegno wararkii ugu dambeeyay ee caalamka iyo Soomaalida.", - "duration": "PT1H" - }, - { - "id": "p0jzk210", - "state": "onDemand", - "startTime": "2024-11-27T04:00:00.000Z", - "link": "/somali/bbc_somali_radio/w172zyhqmxjxxb5", - "brandTitle": "Idaacadda Subaxnimo", - "summary": "Barnaamijka aroornimo ee soo bandhiga wararka gogoldhaca u ah maalinta iyo cayaaraha.", - "duration": "PT29M" - }, - { - "id": "p0jzf5jq", - "state": "onDemand", - "startTime": "2024-11-26T13:59:30.000Z", - "link": "/somali/bbc_somali_radio/w172zyh9xk7jkmr", - "brandTitle": "Dunida Iyo Maanta", - "summary": "Barnaamij aan ku eegno wararkii ugu dambeeyay ee caalamka iyo Soomaalida.", - "duration": "PT1H" - }, - { - "id": "p0jzbcyj", - "state": "onDemand", - "startTime": "2024-11-26T04:00:00.000Z", - "link": "/somali/bbc_somali_radio/w172zyhqmxjv0f2", - "brandTitle": "Idaacadda Subaxnimo", - "summary": "Barnaamijka aroornimo ee soo bandhiga wararka gogoldhaca u ah maalinta iyo cayaaraha.", - "duration": "PT29M" - } - ], + "radioScheduleData": null, "metadata": { - "type": "Live Radio" + "type": "Live Radio", + "atiAnalytics": { + "contentId": "urn:bbc:ares:ws_media:live:bbc_somali_radio", + "contentType": "player-live", + "pageIdentifier": "somali.bbc_somali_radio.liveradio.page", + "pageTitle": "Raadiyaha BBC Soomaali - BBC News Somali" + } }, "mediaBlock": [ { diff --git a/data/swahili/bbc_swahili_radio/liveradio.json b/data/swahili/bbc_swahili_radio/liveradio.json index c6b2f6243c9..ad04f25beb8 100644 --- a/data/swahili/bbc_swahili_radio/liveradio.json +++ b/data/swahili/bbc_swahili_radio/liveradio.json @@ -6,50 +6,16 @@ "id": "urn:bbc:ares:ws_media:live:bbc_swahili_radio", "name": "BBC Swahili Radio", "summary": "Habari za kimataifa, michezo na uchambuzi kutoka kwa idhaa ya dunia.", - "pageTitle": "BBC Swahili Radio - BBC News Swahili", - "contentType": "player-live", - "pageIdentifier": "swahili.bbc_swahili_radio.liveradio.page", "masterBrand": "bbc_swahili_radio", - "radioScheduleData": [ - { - "id": "p0jzpxmb", - "state": "next", - "startTime": "2024-11-27T15:29:30.000Z", - "link": "/swahili/bbc_swahili_radio/w172zygh3kbthgl", - "brandTitle": "Dira Ya Dunia", - "summary": "Kipindi cha habari, makala na mahojiano cha kila siku kuanzia saa kumi na mbili unusu jioni Afrika Mashariki", - "duration": "PT1H" - }, - { - "id": "p0jzk26y", - "state": "onDemand", - "startTime": "2024-11-27T03:59:30.000Z", - "link": "/swahili/bbc_swahili_radio/w172zyg2d61fg5g", - "brandTitle": "Amka Na BBC", - "summary": "Kipindi cha habari, mahojiano na makala kila siku saa kumi na mbili na saa moja asubuhi Afrika Mashariki", - "duration": "PT29M30S" - }, - { - "id": "p0jzj0lj", - "state": "onDemand", - "startTime": "2024-11-27T02:59:30.000Z", - "link": "/swahili/bbc_swahili_radio/w172zyg2d61fbfb", - "brandTitle": "Amka Na BBC", - "summary": "Kipindi cha habari, mahojiano na makala kila siku saa kumi na mbili na saa moja asubuhi Afrika Mashariki", - "duration": "PT29M30S" - }, - { - "id": "p0jzfxtb", - "state": "onDemand", - "startTime": "2024-11-26T15:29:30.000Z", - "link": "/swahili/bbc_swahili_radio/w172zygh3kbqlkh", - "brandTitle": "Dira Ya Dunia", - "summary": "Kipindi cha habari, makala na mahojiano cha kila siku kuanzia saa kumi na mbili unusu jioni Afrika Mashariki", - "duration": "PT1H" - } - ], + "radioScheduleData": null, "metadata": { - "type": "Live Radio" + "type": "Live Radio", + "atiAnalytics": { + "contentId": "urn:bbc:ares:ws_media:live:bbc_swahili_radio", + "contentType": "player-live", + "pageIdentifier": "swahili.bbc_swahili_radio.liveradio.page", + "pageTitle": "BBC Swahili Radio - BBC News Swahili" + } }, "mediaBlock": [ { diff --git a/data/tamil/bbc_tamil_radio/liveradio.json b/data/tamil/bbc_tamil_radio/liveradio.json index 22e4394eb89..2ad60d6f67f 100644 --- a/data/tamil/bbc_tamil_radio/liveradio.json +++ b/data/tamil/bbc_tamil_radio/liveradio.json @@ -6,13 +6,16 @@ "id": "urn:bbc:ares:ws_media:live:bbc_tamil_radio", "name": "பிபிசி தமிழோசை", "summary": "சர்வதேச, இந்திய, இலங்கை செய்திகள் மற்றும் நடப்புத் தகவல்களை வழங்கும் ஓர் நிகழ்ச்சி. அறிவியல், விளையாட்டு, கலை, கலாச்சாரம் மற்றும் பொழுதுபோக்கு தொடர்பான செய்திகளும் இதில் இடம்பெறும். சிற்றலை வானொலியிலும் பிபிசிதமிழ்.காம் இணையதளத்திலும் இதைக் கேட்கலாம்.", - "pageTitle": "பிபிசி தமிழோசை - BBC News தமிழ்", - "contentType": "player-live", - "pageIdentifier": "tamil.bbc_tamil_radio.liveradio.page", "masterBrand": "bbc_tamil_radio", "radioScheduleData": null, "metadata": { - "type": "Live Radio" + "type": "Live Radio", + "atiAnalytics": { + "contentId": "urn:bbc:ares:ws_media:live:bbc_tamil_radio", + "contentType": "player-live", + "pageIdentifier": "tamil.bbc_tamil_radio.liveradio.page", + "pageTitle": "பிபிசி தமிழோசை - BBC News தமிழ்" + } }, "mediaBlock": [ { diff --git a/data/tigrinya/bbc_tigrinya_radio/liveradio.json b/data/tigrinya/bbc_tigrinya_radio/liveradio.json index 686b615b83a..4a504090d43 100644 --- a/data/tigrinya/bbc_tigrinya_radio/liveradio.json +++ b/data/tigrinya/bbc_tigrinya_radio/liveradio.json @@ -6,13 +6,53 @@ "id": "urn:bbc:ares:ws_media:live:bbc_tigrinya_radio", "name": "ስምዑ", "summary": "መደባትና", - "pageTitle": "ስምዑ - BBC News ትግርኛ", - "contentType": "player-live", - "pageIdentifier": "tigrinya.bbc_tigrinya_radio.liveradio.page", "masterBrand": "bbc_tigrinya_radio", - "radioScheduleData": null, + "radioScheduleData": [ + { + "id": "p0k01c0r", + "state": "next", + "startTime": "2024-11-29T18:09:47.000Z", + "link": "/tigrinya/bbc_tigrinya_radio/w3ct7557", + "brandTitle": "ቢቢሲ ትግርኛ ዜና / ዜና፡ ካብ ቢቢሲ ትግርኛ", + "summary": "ናይ 15 ደቒቕ ዜናን እዋናዊ ዛዕባታትን ዝሽፍን ፕሮግራም", + "duration": "PT14M43S" + }, + { + "id": "p0k00j1g", + "state": "onDemand", + "startTime": "2024-11-28T18:09:47.000Z", + "link": "/tigrinya/bbc_tigrinya_radio/w3ct757h", + "brandTitle": "ቢቢሲ ትግርኛ ዜና / ዜና፡ ካብ ቢቢሲ ትግርኛ", + "summary": "ናይ 15 ደቒቕ ዜናን እዋናዊ ዛዕባታትን ዝሽፍን ፕሮግራም", + "duration": "PT14M43S" + }, + { + "id": "p0jzr5tw", + "state": "onDemand", + "startTime": "2024-11-27T18:09:47.000Z", + "link": "/tigrinya/bbc_tigrinya_radio/w3ct759r", + "brandTitle": "ቢቢሲ ትግርኛ ዜና / ዜና፡ ካብ ቢቢሲ ትግርኛ", + "summary": "ናይ 15 ደቒቕ ዜናን እዋናዊ ዛዕባታትን ዝሽፍን ፕሮግራም", + "duration": "PT14M43S" + }, + { + "id": "p0jzgthd", + "state": "onDemand", + "startTime": "2024-11-26T18:09:47.000Z", + "link": "/tigrinya/bbc_tigrinya_radio/w3ct758m", + "brandTitle": "ቢቢሲ ትግርኛ ዜና / ዜና፡ ካብ ቢቢሲ ትግርኛ", + "summary": "ናይ 15 ደቒቕ ዜናን እዋናዊ ዛዕባታትን ዝሽፍን ፕሮግራም", + "duration": "PT14M43S" + } + ], "metadata": { - "type": "Live Radio" + "type": "Live Radio", + "atiAnalytics": { + "contentId": "urn:bbc:ares:ws_media:live:bbc_tigrinya_radio", + "contentType": "player-live", + "pageIdentifier": "tigrinya.bbc_tigrinya_radio.liveradio.page", + "pageTitle": "ስምዑ - BBC News ትግርኛ" + } }, "mediaBlock": [ { diff --git a/data/urdu/bbc_urdu_radio/liveradio.json b/data/urdu/bbc_urdu_radio/liveradio.json index 40ba2b0626c..da07fc97834 100644 --- a/data/urdu/bbc_urdu_radio/liveradio.json +++ b/data/urdu/bbc_urdu_radio/liveradio.json @@ -6,13 +6,16 @@ "id": "urn:bbc:ares:ws_media:live:bbc_urdu_radio", "name": "بی بی سی اردو ریڈیو", "summary": "اردو زبان کے معتبر ترین خبررساں اداروں میں ایک، بی بی سی اردو کی جانب سے مصدقہ خبریں اور جامع تجزیے", - "pageTitle": "بی بی سی اردو ریڈیو - BBC News اردو", - "contentType": "player-live", - "pageIdentifier": "urdu.bbc_urdu_radio.liveradio.page", "masterBrand": "bbc_urdu_radio", "radioScheduleData": null, "metadata": { - "type": "Live Radio" + "type": "Live Radio", + "atiAnalytics": { + "contentId": "urn:bbc:ares:ws_media:live:bbc_urdu_radio", + "contentType": "player-live", + "pageIdentifier": "urdu.bbc_urdu_radio.liveradio.page", + "pageTitle": "بی بی سی اردو ریڈیو - BBC News اردو" + } }, "mediaBlock": [ { diff --git a/data/uzbek/bbc_uzbek_radio/liveradio.json b/data/uzbek/bbc_uzbek_radio/liveradio.json index 581962304e3..86125037679 100644 --- a/data/uzbek/bbc_uzbek_radio/liveradio.json +++ b/data/uzbek/bbc_uzbek_radio/liveradio.json @@ -6,13 +6,16 @@ "id": "urn:bbc:ares:ws_media:live:bbc_uzbek_radio", "name": "BBC Uzbek Radio Dasturi", "summary": "O’zbekiston, mintaqa va dunyo yangiliklari O’zbek tilida", - "pageTitle": "BBC Uzbek Radio - BBC News O'zbek", - "contentType": "player-live", - "pageIdentifier": "uzbek.bbc_uzbek_radio.liveradio.page", "masterBrand": "bbc_uzbek_radio", "radioScheduleData": null, "metadata": { - "type": "Live Radio" + "type": "Live Radio", + "atiAnalytics": { + "contentId": "urn:bbc:ares:ws_media:live:bbc_uzbek_radio", + "contentType": "player-live", + "pageIdentifier": "uzbek.bbc_uzbek_radio.liveradio.page", + "pageTitle": "BBC Uzbek Radio - BBC News O'zbek" + } }, "mediaBlock": [ { diff --git a/src/app/components/ATIAnalytics/params/index.ts b/src/app/components/ATIAnalytics/params/index.ts index 2b8ef7e0c49..d8681030d2c 100644 --- a/src/app/components/ATIAnalytics/params/index.ts +++ b/src/app/components/ATIAnalytics/params/index.ts @@ -52,6 +52,7 @@ const MIGRATED_PAGE_TYPES: PageTypes[] = [ LIVE_PAGE, STATIC_PAGE, DOWNLOADS_PAGE, + LIVE_RADIO_PAGE, ]; const noOp = () => { @@ -78,7 +79,7 @@ const pageTypeUrlBuilders = { [UGC_PAGE]: noOp, [AV_EMBEDS]: noOp, [DOWNLOADS_PAGE]: noOp, - [LIVE_RADIO_PAGE]: buildTvRadioATIUrl, + [LIVE_RADIO_PAGE]: noOp, }; const pageTypeParamBuilders = { @@ -101,7 +102,7 @@ const pageTypeParamBuilders = { [UGC_PAGE]: noOp, [AV_EMBEDS]: noOp, [DOWNLOADS_PAGE]: noOp, - [LIVE_RADIO_PAGE]: buildTvRadioATIParams, + [LIVE_RADIO_PAGE]: noOp, }; type BuilderFunction = { diff --git a/src/app/pages/LiveRadioPage/LiveRadioPage.tsx b/src/app/pages/LiveRadioPage/LiveRadioPage.tsx index 26db6995e5b..f2a3b967642 100644 --- a/src/app/pages/LiveRadioPage/LiveRadioPage.tsx +++ b/src/app/pages/LiveRadioPage/LiveRadioPage.tsx @@ -5,6 +5,7 @@ import RadioScheduleContainer from '#containers/RadioSchedule'; import ComscoreAnalytics from '#containers/ComscoreAnalytics'; import Grid, { GelPageGrid } from '#components/Grid'; import MediaLoader from '#app/components/MediaLoader'; +import { ContentType } from '#app/components/ChartbeatAnalytics/types'; import ATIAnalytics from '../../components/ATIAnalytics'; import ChartbeatAnalytics from '../../components/ChartbeatAnalytics'; import MetadataContainer from '../../components/Metadata'; @@ -19,7 +20,6 @@ const LiveRadioPage = ({ pageData }: { pageData: LiveRadioPageData }) => { summary, heading, bodySummary, - contentType, radioScheduleData, mediaBlock, } = pageData; @@ -29,11 +29,13 @@ const LiveRadioPage = ({ pageData }: { pageData: LiveRadioPageData }) => { return ( <> - + Date: Fri, 29 Nov 2024 18:25:05 +0000 Subject: [PATCH 22/28] sets gahuza radio schedule to null --- data/gahuza/bbc_gahuza_radio/liveradio.json | 39 +-------------------- 1 file changed, 1 insertion(+), 38 deletions(-) diff --git a/data/gahuza/bbc_gahuza_radio/liveradio.json b/data/gahuza/bbc_gahuza_radio/liveradio.json index ba1ac6301cb..67db19b9231 100644 --- a/data/gahuza/bbc_gahuza_radio/liveradio.json +++ b/data/gahuza/bbc_gahuza_radio/liveradio.json @@ -7,44 +7,7 @@ "name": "Radio BBC Gahuza", "summary": "Amakuru y’amahanga, ubusesenguzi, amakuru y’akarere k’ibiyaga bigari, ikinamico, ubuzima, imibereho y’abagore. Kuri FM no kuri internet.", "masterBrand": "bbc_gahuza_radio", - "radioScheduleData": [ - { - "id": "p0k0bdd3", - "state": "next", - "startTime": "2024-11-30T05:00:00.000Z", - "link": "/gahuza/bbc_gahuza_radio/w3ct79bn", - "brandTitle": "Imvo n'Imvano", - "summary": "Ikiganiro gicukumbuye ku bibazo bitandukanye.", - "duration": "PT59M" - }, - { - "id": "p0k01by7", - "state": "onDemand", - "startTime": "2024-11-29T16:29:30.000Z", - "link": "/gahuza/bbc_gahuza_radio/w172zyj4c8vhw4n", - "brandTitle": "Amakuru ya Gahuzamiryango", - "summary": "Amakuru yo hirya no hino yibanda cyane cyane ku karere k'ibiyaga bigari muri Afrika, n'amakuru mpuzamakungu.", - "duration": "PT30M" - }, - { - "id": "p0jzzggs", - "state": "onDemand", - "startTime": "2024-11-28T16:29:30.000Z", - "link": "/gahuza/bbc_gahuza_radio/w17300mcpzgxt1z", - "brandTitle": "Amakuru ya Gahuzamiryango", - "summary": "Amakuru yo hirya no hino yibanda cyane cyane ku karere k'ibiyaga bigari muri Afrika, n'amakuru mpuzamakungu.", - "duration": "PT15M" - }, - { - "id": "p0jzq75g", - "state": "onDemand", - "startTime": "2024-11-27T16:29:30.000Z", - "link": "/gahuza/bbc_gahuza_radio/w172zyj4c8vb2bg", - "brandTitle": "Amakuru ya Gahuzamiryango", - "summary": "Amakuru yo hirya no hino yibanda cyane cyane ku karere k'ibiyaga bigari muri Afrika, n'amakuru mpuzamakungu.", - "duration": "PT30M" - } - ], + "radioScheduleData": null, "metadata": { "type": "Live Radio", "atiAnalytics": { From 4ed713ff094b9ef6b7ddbae8b67eb15d86dc2018 Mon Sep 17 00:00:00 2001 From: HarveyPeachey Date: Mon, 2 Dec 2024 09:39:10 +0000 Subject: [PATCH 23/28] updates snapshot --- src/app/pages/LiveRadioPage/__snapshots__/index.test.tsx.snap | 1 - 1 file changed, 1 deletion(-) diff --git a/src/app/pages/LiveRadioPage/__snapshots__/index.test.tsx.snap b/src/app/pages/LiveRadioPage/__snapshots__/index.test.tsx.snap index 7d0209e653e..bac0151f7f4 100644 --- a/src/app/pages/LiveRadioPage/__snapshots__/index.test.tsx.snap +++ b/src/app/pages/LiveRadioPage/__snapshots__/index.test.tsx.snap @@ -1075,7 +1075,6 @@ exports[`Radio Page Main should match snapshot for Canonical 1`] = ` }
-