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", 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", 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