From c0cce9e35ff5e0c6a1e9b57ae7a7519c21c172cc Mon Sep 17 00:00:00 2001
From: Jason Henriquez
Date: Mon, 14 Oct 2024 16:04:50 -0500
Subject: [PATCH] Remove now-redundant playlist pause feature
---
.../watch-video-playlist.js | 11 ----------
.../watch-video-playlist.vue | 12 -----------
src/renderer/views/Watch/Watch.js | 21 +------------------
static/locales/en-GB.yaml | 4 ----
static/locales/en-US.yaml | 2 --
5 files changed, 1 insertion(+), 49 deletions(-)
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 bfe449b6eb0ec..3bf5e39b284fd 100644
--- a/src/renderer/components/watch-video-playlist/watch-video-playlist.js
+++ b/src/renderer/components/watch-video-playlist/watch-video-playlist.js
@@ -48,7 +48,6 @@ export default defineComponent({
shuffleEnabled: false,
loopEnabled: false,
reversePlaylist: false,
- pauseOnCurrentVideo: false,
prevVideoBeforeDeletion: null,
channelName: '',
channelId: '',
@@ -294,16 +293,6 @@ export default defineComponent({
})
},
- togglePauseOnCurrentVideo: function () {
- if (this.pauseOnCurrentVideo) {
- this.pauseOnCurrentVideo = false
- showToast(this.$t('Playlist will not pause when current video is finished'))
- } else {
- this.pauseOnCurrentVideo = true
- showToast(this.$t('Playlist will pause when current video is finished'))
- }
- },
-
playNextVideo: function () {
const playlistInfo = {
playlistId: this.playlistId,
diff --git a/src/renderer/components/watch-video-playlist/watch-video-playlist.vue b/src/renderer/components/watch-video-playlist/watch-video-playlist.vue
index 85abbd3efb880..f3d01b0efd1e9 100644
--- a/src/renderer/components/watch-video-playlist/watch-video-playlist.vue
+++ b/src/renderer/components/watch-video-playlist/watch-video-playlist.vue
@@ -105,18 +105,6 @@
@keydown.enter.prevent="playNextVideo"
@keydown.space.prevent="playNextVideo"
/>
-