Skip to content

Commit df9fafd

Browse files
Fix wrong live stream playlist used for subscriptions (#5876)
1 parent e7e2cb2 commit df9fafd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/renderer/helpers/utils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -875,9 +875,9 @@ export function getChannelPlaylistId(channelId, type, sortBy) {
875875
}
876876
case 'live':
877877
if (sortBy === 'popular') {
878-
return channelId.replace(/^UC/, 'UULV')
879-
} else {
880878
return channelId.replace(/^UC/, 'UUPV')
879+
} else {
880+
return channelId.replace(/^UC/, 'UULV')
881881
}
882882
case 'shorts':
883883
if (sortBy === 'popular') {

0 commit comments

Comments
 (0)