From 82ba0bd717e5e32784cc9474505eb17e1d89057c Mon Sep 17 00:00:00 2001 From: Amaru8 <52407090+Amaru8@users.noreply.github.com> Date: Sun, 8 May 2022 13:41:47 +0200 Subject: [PATCH 1/3] Update hu_HU.json --- src/i18n/hu_HU.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/i18n/hu_HU.json b/src/i18n/hu_HU.json index 55706b2c..8108143d 100644 --- a/src/i18n/hu_HU.json +++ b/src/i18n/hu_HU.json @@ -378,6 +378,8 @@ "settings.header.visual.theme.github.page": "Témák a GitHub-ról", "settings.option.visual.theme.github.install.confirm": "Biztosan szeretnéd telepíteni a(z) {{ repo }} témát?", "settings.prompt.visual.theme.github.URL": "Add meg a telepítendő téma URL-jét", + "settings.option.visual.theme.github.available": "Elérhető", + "settings.option.visual.theme.github.applied": "Alkalmazva", "settings.notyf.visual.theme.install.success": "Téma sikeresen telepítve", "settings.notyf.visual.theme.install.error": "Sikertelen volt a téma telepítése", "settings.header.visual.plugin": "Plugin", From d4efa688c61068cd8e091c7fd498da2e9d3e3fdd Mon Sep 17 00:00:00 2001 From: cryptofyre Date: Sun, 8 May 2022 17:03:23 -0500 Subject: [PATCH 2/3] Bump version. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9c22e95d..d446201a 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "cider", "applicationId": "Cider", "productName": "Cider", - "version": "1.4.5", + "version": "1.4.6", "description": "A new cross-platform Apple Music experience based on Electron and Vue.js written from scratch with performance in mind.", "license": "AGPL-3.0", "main": "./build/index.js", From 89999f4be47d5d9bf12eac364673d2bca753c337 Mon Sep 17 00:00:00 2001 From: cryptofyre Date: Sun, 8 May 2022 19:47:02 -0500 Subject: [PATCH 3/3] Expose playback progress. --- src/preload/cider-preload.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/preload/cider-preload.js b/src/preload/cider-preload.js index 309eb381..f5cc6dd2 100644 --- a/src/preload/cider-preload.js +++ b/src/preload/cider-preload.js @@ -87,6 +87,7 @@ const MusicKitInterop = { const nowPlayingItem = mk.nowPlayingItem; const isPlayingExport = mk.isPlaying; const remainingTimeExport = mk.currentPlaybackTimeRemaining; + const currentPlaybackProgress = mk.currentPlaybackProgress; const attributes = (nowPlayingItem != null ? nowPlayingItem.attributes : {}); attributes.status = isPlayingExport ?? null; @@ -109,6 +110,7 @@ const MusicKitInterop = { ? remainingTimeExport * 1000 : 0; attributes.durationInMillis = attributes?.durationInMillis ?? 0; + attributes.currentPlaybackProgress = currentPlaybackProgress ?? 0; attributes.startTime = Date.now(); attributes.endTime = Math.round( attributes?.playParams?.id === cache.playParams.id