mirror of
https://gitlab.com/RemixDev/deemix-webui.git
synced 2025-01-16 03:25:17 +00:00
Added support for pasting multiple tracks directly from Spotify In reference to https://git.rip/RemixDev/deemix/-/issues/18
This commit is contained in:
parent
e8ee55a1db
commit
b59fbcf533
|
@ -52,6 +52,7 @@ document.addEventListener('paste', pasteEvent => {
|
||||||
if (router.currentRoute.name === 'Link Analyzer') {
|
if (router.currentRoute.name === 'Link Analyzer') {
|
||||||
socket.emit('analyzeLink', pastedText)
|
socket.emit('analyzeLink', pastedText)
|
||||||
} else {
|
} else {
|
||||||
|
if (pastedText.indexOf("\n") != -1) pastedText = pastedText.replace(/\n/g, ';');
|
||||||
sendAddToQueue(pastedText)
|
sendAddToQueue(pastedText)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue