From 4b4a5caa88e61b9d3d45fba87fe5ff827fdb96d6 Mon Sep 17 00:00:00 2001 From: syncng Date: Tue, 6 Oct 2020 21:47:40 +0000 Subject: [PATCH] Live video count fix (#602) * Fix video card info bar for live video * Lowercase publication date on video card * Revert "Lowercase publication date on video card" Due to problems in certain languages --- package-lock.json | 6 +++--- package.json | 2 +- .../components/ft-list-video/ft-list-video.vue | 13 ++++++------- 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9cabfa76..53ad9dac 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20757,9 +20757,9 @@ } }, "ytsr": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/ytsr/-/ytsr-1.0.3.tgz", - "integrity": "sha512-MZwBNF5Myaa+VA/tMPHaXXNQPwLON90hVEXSUBAcHKVAy330GPDQ4LU0UzZ4vGyWBEDlW5pEAS1Eg846jU5Yeg==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/ytsr/-/ytsr-1.0.4.tgz", + "integrity": "sha512-wI58LREviYnlsCgB0R+NC3kqsbQpH/C42shbAaq1tlAZN2zBqr2JONE+eGimygpU/fdiJSB9XLFaXe6AgCG5Uw==", "requires": { "html-entities": "^1.3.1", "miniget": "^2.0.1" diff --git a/package.json b/package.json index 701592d4..b63e8031 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "yt-xml2vtt": "^1.1.2", "ytdl-core": "^3.3.0", "ytpl": "^1.0.1", - "ytsr": "^1.0.3" + "ytsr": "^1.0.4" }, "description": "A private YouTube client", "devDependencies": { diff --git a/src/renderer/components/ft-list-video/ft-list-video.vue b/src/renderer/components/ft-list-video/ft-list-video.vue index db74c95c..a7de2114 100644 --- a/src/renderer/components/ft-list-video/ft-list-video.vue +++ b/src/renderer/components/ft-list-video/ft-list-video.vue @@ -78,12 +78,11 @@ > {{ channelName }} - • {{ parsedViewCount }} - {{ $t("Video.View") }} - {{ $t("Video.Views").toLowerCase() }} + • {{ viewCount }} {{ $t("Video.Watching").toLowerCase() }} + >• {{ parsedViewCount }} {{ $t("Video.Watching").toLowerCase() }}