Merge branch 'ciderapp:develop' into develop
This commit is contained in:
commit
31e4a1c617
3 changed files with 5 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
"name": "cider",
|
"name": "cider",
|
||||||
"applicationId": "Cider",
|
"applicationId": "Cider",
|
||||||
"productName": "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.",
|
"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",
|
"license": "AGPL-3.0",
|
||||||
"main": "./build/index.js",
|
"main": "./build/index.js",
|
||||||
|
|
|
@ -378,6 +378,8 @@
|
||||||
"settings.header.visual.theme.github.page": "Témák a GitHub-ról",
|
"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.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.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.success": "Téma sikeresen telepítve",
|
||||||
"settings.notyf.visual.theme.install.error": "Sikertelen volt a téma telepítése",
|
"settings.notyf.visual.theme.install.error": "Sikertelen volt a téma telepítése",
|
||||||
"settings.header.visual.plugin": "Plugin",
|
"settings.header.visual.plugin": "Plugin",
|
||||||
|
|
|
@ -87,6 +87,7 @@ const MusicKitInterop = {
|
||||||
const nowPlayingItem = mk.nowPlayingItem;
|
const nowPlayingItem = mk.nowPlayingItem;
|
||||||
const isPlayingExport = mk.isPlaying;
|
const isPlayingExport = mk.isPlaying;
|
||||||
const remainingTimeExport = mk.currentPlaybackTimeRemaining;
|
const remainingTimeExport = mk.currentPlaybackTimeRemaining;
|
||||||
|
const currentPlaybackProgress = mk.currentPlaybackProgress;
|
||||||
const attributes = (nowPlayingItem != null ? nowPlayingItem.attributes : {});
|
const attributes = (nowPlayingItem != null ? nowPlayingItem.attributes : {});
|
||||||
|
|
||||||
attributes.status = isPlayingExport ?? null;
|
attributes.status = isPlayingExport ?? null;
|
||||||
|
@ -109,6 +110,7 @@ const MusicKitInterop = {
|
||||||
? remainingTimeExport * 1000
|
? remainingTimeExport * 1000
|
||||||
: 0;
|
: 0;
|
||||||
attributes.durationInMillis = attributes?.durationInMillis ?? 0;
|
attributes.durationInMillis = attributes?.durationInMillis ?? 0;
|
||||||
|
attributes.currentPlaybackProgress = currentPlaybackProgress ?? 0;
|
||||||
attributes.startTime = Date.now();
|
attributes.startTime = Date.now();
|
||||||
attributes.endTime = Math.round(
|
attributes.endTime = Math.round(
|
||||||
attributes?.playParams?.id === cache.playParams.id
|
attributes?.playParams?.id === cache.playParams.id
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue