Re-added paste-in functionality for newline separated link lists

Library patch update
This commit is contained in:
RemixDev 2021-07-03 11:10:07 +02:00
parent 46980af0b6
commit d6bf3678f4
4 changed files with 7 additions and 7 deletions

View File

@ -56,7 +56,7 @@
"electron-window-state-manager": "^0.3.2",
"cookie-parser": "1.4.5",
"debug": "2.6.9",
"deemix": "3.0.1",
"deemix": "3.0.2",
"deezer-js": "1.0.0",
"dotenv": "8.2.0",
"express": "4.17.1",

View File

@ -17,7 +17,7 @@ const handler = (req, res) => __awaiter(void 0, void 0, void 0, function* () {
if (!main_1.sessionDZ[req.session.id])
main_1.sessionDZ[req.session.id] = new deezer_js_1.Deezer();
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;
if (bitrate === 'null')
bitrate = main_1.getSettings().settings.maxBitrate;

View File

@ -9,7 +9,7 @@ const handler: ApiHandler['handler'] = async (req, res) => {
if (!sessionDZ[req.session.id]) sessionDZ[req.session.id] = new Deezer()
const dz = sessionDZ[req.session.id]
const url = req.query.url.split(';')
const url = req.query.url.split(/[\s;]+/)
let bitrate = req.query.bitrate
if (bitrate === 'null') bitrate = getSettings().settings.maxBitrate
let obj: any

View File

@ -2332,10 +2332,10 @@ decompress-response@^6.0.0:
dependencies:
mimic-response "^3.1.0"
deemix@3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/deemix/-/deemix-3.0.1.tgz#692f14b799000516d1b91fa768c145978bbe1b5e"
integrity sha512-wxI3aRs2NELf7U/bEEd0MMJkKxqEt5Y+U5B3xNjHp3hzmq6BTt5C50q8qBL7hE6vaytkG/P4HX7oFJmJVoYyUw==
deemix@3.0.2:
version "3.0.2"
resolved "https://registry.yarnpkg.com/deemix/-/deemix-3.0.2.tgz#4e975ea7059b0c6202ab4cf681b57a8a14db5378"
integrity sha512-57fWOKq2uMDI4UUge2N5y2Gqlc0nvtM+Bzg85L1k1ic8pmoJtpGtVAi9Cqj+XlhMS4jvNCmOj4ZHzKIsM+F6pA==
dependencies:
async "^3.2.0"
crypto "^1.0.1"