From df9fafd8b69831c6e23f0d4b1d1e6ead10bbfc28 Mon Sep 17 00:00:00 2001 From: ChunkyProgrammer <78101139+ChunkyProgrammer@users.noreply.github.com> Date: Wed, 16 Oct 2024 00:25:42 -0400 Subject: [PATCH] Fix wrong live stream playlist used for subscriptions (#5876) --- 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') {