From 0806a1a0ae8aead561d5aca56d0fe9a4e9617b0b Mon Sep 17 00:00:00 2001 From: Preston Date: Sat, 9 Apr 2022 16:23:34 -0400 Subject: [PATCH] Bump yt-channel-info version, fix playlist / history search bar hiding and fix text in resolution for stats modal --- package.json | 2 +- .../components/ft-element-list/ft-element-list.js | 5 ----- .../components/ft-video-player/ft-video-player.js | 2 +- src/renderer/views/History/History.vue | 11 +++++++++-- src/renderer/views/UserPlaylists/UserPlaylists.vue | 11 +++++++++-- static/locales/en-US.yaml | 2 ++ yarn.lock | 8 ++++---- 7 files changed, 26 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index c74293ee..cadb3823 100644 --- a/package.json +++ b/package.json @@ -89,7 +89,7 @@ "vue-router": "^3.5.2", "vuex": "^3.6.2", "youtube-suggest": "^1.1.2", - "yt-channel-info": "^3.0.2", + "yt-channel-info": "^3.0.3", "yt-dash-manifest-generator": "1.1.0", "yt-trending-scraper": "^2.0.1", "ytdl-core": "^4.11.0", diff --git a/src/renderer/components/ft-element-list/ft-element-list.js b/src/renderer/components/ft-element-list/ft-element-list.js index 744355c1..095ed6be 100644 --- a/src/renderer/components/ft-element-list/ft-element-list.js +++ b/src/renderer/components/ft-element-list/ft-element-list.js @@ -16,11 +16,6 @@ export default Vue.extend({ required: true } }, - data: function () { - return { - test: 'hello' - } - }, computed: { listType: function () { return this.$store.getters.getListType diff --git a/src/renderer/components/ft-video-player/ft-video-player.js b/src/renderer/components/ft-video-player/ft-video-player.js index c10c6752..3d94c5d6 100644 --- a/src/renderer/components/ft-video-player/ft-video-player.js +++ b/src/renderer/components/ft-video-player/ft-video-player.js @@ -1449,7 +1449,7 @@ export default Vue.extend({ const droppedFrames = this.playerStats.videoPlaybackQuality.droppedVideoFrames const totalFrames = this.playerStats.videoPlaybackQuality.totalVideoFrames const frames = `${droppedFrames} / ${totalFrames}` - const resolution = `${this.selectedResolution}@${this.selectedFPS}fps` + const resolution = this.selectedResolution === 'auto' ? 'auto' : `${this.selectedResolution}@${this.selectedFPS}fps` const playerDimensions = `${this.playerStats.playerDimensions.width}x${this.playerStats.playerDimensions.height}` const statsArray = [ [this.$t('Video.Stats.Video ID'), this.videoId], diff --git a/src/renderer/views/History/History.vue b/src/renderer/views/History/History.vue index 7e4b1db2..9703421c 100644 --- a/src/renderer/views/History/History.vue +++ b/src/renderer/views/History/History.vue @@ -10,7 +10,7 @@ >

{{ $t("History.History") }}

{{ $t("History['Your history list is currently empty.']") }}

+ +

+ {{ $t("History['Empty Search Message']") }} +

+

{{ $t("User Playlists['Your saved videos are empty. Click on the save button on the corner of a video to have it listed here']") }}

+ +

+ {{ $t("User Playlists['Empty Search Message']") }} +

+