From b59fbcf53376482ae30ff4c55f5944a2967863a2 Mon Sep 17 00:00:00 2001 From: RemixDev Date: Sun, 31 Jan 2021 21:01:13 +0100 Subject: [PATCH] Added support for pasting multiple tracks directly from Spotify In reference to https://git.rip/RemixDev/deemix/-/issues/18 --- src/app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app.js b/src/app.js index 7e9e518..405f9d4 100644 --- a/src/app.js +++ b/src/app.js @@ -52,6 +52,7 @@ document.addEventListener('paste', pasteEvent => { if (router.currentRoute.name === 'Link Analyzer') { socket.emit('analyzeLink', pastedText) } else { + if (pastedText.indexOf("\n") != -1) pastedText = pastedText.replace(/\n/g, ';'); sendAddToQueue(pastedText) } } else {