Re-added paste-in functionality for newline separated link lists
Library patch update
This commit is contained in:
parent
46980af0b6
commit
d6bf3678f4
@ -56,7 +56,7 @@
|
|||||||
"electron-window-state-manager": "^0.3.2",
|
"electron-window-state-manager": "^0.3.2",
|
||||||
"cookie-parser": "1.4.5",
|
"cookie-parser": "1.4.5",
|
||||||
"debug": "2.6.9",
|
"debug": "2.6.9",
|
||||||
"deemix": "3.0.1",
|
"deemix": "3.0.2",
|
||||||
"deezer-js": "1.0.0",
|
"deezer-js": "1.0.0",
|
||||||
"dotenv": "8.2.0",
|
"dotenv": "8.2.0",
|
||||||
"express": "4.17.1",
|
"express": "4.17.1",
|
||||||
|
2
server/dist/routes/api/post/addToQueue.js
vendored
2
server/dist/routes/api/post/addToQueue.js
vendored
@ -17,7 +17,7 @@ const handler = (req, res) => __awaiter(void 0, void 0, void 0, function* () {
|
|||||||
if (!main_1.sessionDZ[req.session.id])
|
if (!main_1.sessionDZ[req.session.id])
|
||||||
main_1.sessionDZ[req.session.id] = new deezer_js_1.Deezer();
|
main_1.sessionDZ[req.session.id] = new deezer_js_1.Deezer();
|
||||||
const dz = main_1.sessionDZ[req.session.id];
|
const dz = main_1.sessionDZ[req.session.id];
|
||||||
const url = req.query.url.split(';');
|
const url = req.query.url.split(/[\s;]+/);
|
||||||
let bitrate = req.query.bitrate;
|
let bitrate = req.query.bitrate;
|
||||||
if (bitrate === 'null')
|
if (bitrate === 'null')
|
||||||
bitrate = main_1.getSettings().settings.maxBitrate;
|
bitrate = main_1.getSettings().settings.maxBitrate;
|
||||||
|
@ -9,7 +9,7 @@ const handler: ApiHandler['handler'] = async (req, res) => {
|
|||||||
if (!sessionDZ[req.session.id]) sessionDZ[req.session.id] = new Deezer()
|
if (!sessionDZ[req.session.id]) sessionDZ[req.session.id] = new Deezer()
|
||||||
const dz = sessionDZ[req.session.id]
|
const dz = sessionDZ[req.session.id]
|
||||||
|
|
||||||
const url = req.query.url.split(';')
|
const url = req.query.url.split(/[\s;]+/)
|
||||||
let bitrate = req.query.bitrate
|
let bitrate = req.query.bitrate
|
||||||
if (bitrate === 'null') bitrate = getSettings().settings.maxBitrate
|
if (bitrate === 'null') bitrate = getSettings().settings.maxBitrate
|
||||||
let obj: any
|
let obj: any
|
||||||
|
@ -2332,10 +2332,10 @@ decompress-response@^6.0.0:
|
|||||||
dependencies:
|
dependencies:
|
||||||
mimic-response "^3.1.0"
|
mimic-response "^3.1.0"
|
||||||
|
|
||||||
deemix@3.0.1:
|
deemix@3.0.2:
|
||||||
version "3.0.1"
|
version "3.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/deemix/-/deemix-3.0.1.tgz#692f14b799000516d1b91fa768c145978bbe1b5e"
|
resolved "https://registry.yarnpkg.com/deemix/-/deemix-3.0.2.tgz#4e975ea7059b0c6202ab4cf681b57a8a14db5378"
|
||||||
integrity sha512-wxI3aRs2NELf7U/bEEd0MMJkKxqEt5Y+U5B3xNjHp3hzmq6BTt5C50q8qBL7hE6vaytkG/P4HX7oFJmJVoYyUw==
|
integrity sha512-57fWOKq2uMDI4UUge2N5y2Gqlc0nvtM+Bzg85L1k1ic8pmoJtpGtVAi9Cqj+XlhMS4jvNCmOj4ZHzKIsM+F6pA==
|
||||||
dependencies:
|
dependencies:
|
||||||
async "^3.2.0"
|
async "^3.2.0"
|
||||||
crypto "^1.0.1"
|
crypto "^1.0.1"
|
||||||
|
Loading…
Reference in New Issue
Block a user