Skip to content

Commit 5a6d4d5

Browse files
authored
! Fix playlist type not passed when playing next/prev item in a user playlist (#4623)
1 parent cec2d36 commit 5a6d4d5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/renderer/components/watch-video-playlist/watch-video-playlist.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,8 @@ export default defineComponent({
302302

303303
playNextVideo: function () {
304304
const playlistInfo = {
305-
playlistId: this.playlistId
305+
playlistId: this.playlistId,
306+
playlistType: this.playlistType,
306307
}
307308

308309
const videoIndex = this.videoIndexInPlaylistItems
@@ -349,7 +350,8 @@ export default defineComponent({
349350
showToast(this.$t('Playing Previous Video'))
350351

351352
const playlistInfo = {
352-
playlistId: this.playlistId
353+
playlistId: this.playlistId,
354+
playlistType: this.playlistType,
353355
}
354356

355357
const videoIndex = this.videoIndexInPlaylistItems

0 commit comments

Comments
 (0)