From 50bc255de4f156838cc90f4ed5623602ce3618b6 Mon Sep 17 00:00:00 2001 From: ChunkyProgrammer <78101139+ChunkyProgrammer@users.noreply.github.com> Date: Tue, 15 Oct 2024 21:52:16 -0400 Subject: [PATCH] Fix wrong live stream playlist used for subscriptions --- src/renderer/helpers/utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/helpers/utils.js b/src/renderer/helpers/utils.js index 79c8369302484..697cec8c9c5e9 100644 --- a/src/renderer/helpers/utils.js +++ b/src/renderer/helpers/utils.js @@ -875,9 +875,9 @@ export function getChannelPlaylistId(channelId, type, sortBy) { } case 'live': if (sortBy === 'popular') { - return channelId.replace(/^UC/, 'UULV') - } else { return channelId.replace(/^UC/, 'UUPV') + } else { + return channelId.replace(/^UC/, 'UULV') } case 'shorts': if (sortBy === 'popular') {