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 New Issue
Block a user