diff --git a/src/renderer/helpers/api/local.js b/src/renderer/helpers/api/local.js index f390f4c6f4cfd..5aacf1d223c7f 100644 --- a/src/renderer/helpers/api/local.js +++ b/src/renderer/helpers/api/local.js @@ -949,7 +949,7 @@ export function parseChannelHomeTab(homeTab, channelId, channelName) { title: shelf.title?.text, content: shelf.contents.map(e => parseListItem(e.content, channelId, channelName)), subtitle: shelf.subtitle?.text, - playlistId: shelf.endpoint?.metadata.url.includes('/playlist') ? shelf.endpoint?.metadata.url.replace('/playlist?list=', '') : null + playlistId: shelf.endpoint?.metadata.url?.includes('/playlist') ? shelf.endpoint?.metadata.url.replace('/playlist?list=', '') : null }) } }