diff --git a/src/renderer/components/watch-video-playlist/watch-video-playlist.js b/src/renderer/components/watch-video-playlist/watch-video-playlist.js index 53c34abe..62a028b0 100644 --- a/src/renderer/components/watch-video-playlist/watch-video-playlist.js +++ b/src/renderer/components/watch-video-playlist/watch-video-playlist.js @@ -332,10 +332,7 @@ export default Vue.extend({ const payload = { resource: 'playlists', - id: this.playlistId, - params: { - page: this.playlistPage - } + id: this.playlistId } this.invidiousGetPlaylistInfo(payload).then((result) => { @@ -349,13 +346,7 @@ export default Vue.extend({ this.channelId = result.authorId this.playlistItems = this.playlistItems.concat(result.videos) - if (this.playlistItems.length < result.videoCount) { - console.log('getting next page') - this.playlistPage++ - this.getPlaylistInformationInvidious() - } else { - this.isLoading = false - } + this.isLoading = false }).catch((err) => { console.log(err) const errorMessage = this.$t('Invidious API Error (Click to copy)') diff --git a/src/renderer/views/Playlist/Playlist.js b/src/renderer/views/Playlist/Playlist.js index d40a91bc..e706fa11 100644 --- a/src/renderer/views/Playlist/Playlist.js +++ b/src/renderer/views/Playlist/Playlist.js @@ -113,10 +113,7 @@ export default Vue.extend({ const payload = { resource: 'playlists', - id: this.playlistId, - params: { - page: this.playlistPage - } + id: this.playlistId } this.invidiousGetPlaylistInfo(payload).then((result) => { @@ -142,13 +139,7 @@ export default Vue.extend({ this.playlistItems = this.playlistItems.concat(result.videos) - if (this.playlistItems.length < result.videoCount) { - console.log('getting next page') - this.playlistPage++ - this.getPlaylistInvidious() - } else { - this.isLoading = false - } + this.isLoading = false }).catch((err) => { console.log(err) if (this.backendPreference === 'invidious' && this.backendFallback) {