diff --git a/package.json b/package.json index 0cb23351..d1a97dbf 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "dependencies": { "@sentry/electron": "^3.0.7", "@sentry/integrations": "^6.19.6", - "adm-zip": "0.4.10", + "adm-zip": "0.5.9", "airtunes2": "git+https://github.com/vapormusic/node_airtunes2.git#hap", "castv2-client": "^1.2.0", "chokidar": "^3.5.3", @@ -73,7 +73,7 @@ }, "devDependencies": { "@types/adm-zip": "^0.5.0", - "@types/discord-rpc": "4.0.2", + "@types/discord-rpc": "4.0.3", "@types/express": "^4.17.13", "@types/qrcode-terminal": "^0.12.0", "@types/ws": "^8.5.3", diff --git a/src/main/base/store.ts b/src/main/base/store.ts index c088ed2e..0edf8b67 100644 --- a/src/main/base/store.ts +++ b/src/main/base/store.ts @@ -52,39 +52,39 @@ export class Store { }, "keybindings": { "search": [ - process.platform == "darwin" ? "Command" : "Control", + "CommandOrControl", "F" ], "listnow": [ - process.platform == "darwin" ? "Command" : "Control", + "CommandOrControl", "L" ], "browse": [ - process.platform == "darwin" ? "Command" : "Control", + "CommandOrControl", "B" ], "recentAdd": [ - process.platform == "darwin" ? "Command" : "Control", + "CommandOrControl", "G" ], "songs" : [ - process.platform == "darwin" ? "Command" : "Control", + "CommandOrControl", "J" ], "albums": [ - process.platform == "darwin" ? "Command" : "Control", - "S" + "CommandOrControl", + "A" ], "artists": [ - process.platform == "darwin" ? "Command" : "Control", + "CommandOrControl", "D" ], "togglePrivateSession": [ - process.platform == "darwin" ? "Command" : "Control", + "CommandOrControl", "P" ], "webRemote": [ - process.platform == "darwin" ? "Command" : "Control", + "CommandOrControl", "W" ], "audioSettings": [ @@ -100,12 +100,12 @@ export class Store { "C" ], "settings": [ - process.platform == "darwin" ? "Option" : "Shift", + "CommandOrControl", // Who the hell uses a different key for this? Fucking Option? "S" ], "openDeveloperTools": [ - process.platform == "darwin" ? "Command" : "Control", - process.platform == "darwin" ? "Option" : "Shift", + "CommandOrControl", + "Shift", "I" ] }, diff --git a/src/renderer/audio/audio.js b/src/renderer/audio/audio.js index 6852fd92..7a1dd251 100644 --- a/src/renderer/audio/audio.js +++ b/src/renderer/audio/audio.js @@ -270,7 +270,7 @@ const CiderAudio = { constructor() { super(); - this._bufferSize = 1024; + this._bufferSize = 2048; this._buffers = null; this._initBuffer(); } @@ -296,6 +296,7 @@ const CiderAudio = { if (this._isBufferFull()) { this._flush(); } + try{ let dataLength = audioRawData[0].length; for (let idx=0; idx -
+

{{app.getLz('term.topResult')}}