1
0
Fork 0

Do not fail out on undefined cover URLs.

liquidsoap-2.2
Icedream 2022-09-14 07:24:01 +02:00
parent 75664529a8
commit 257097c1f6
Signed by: icedream
GPG Key ID: 468BBEEBB9EC6AEA
1 changed files with 3 additions and 1 deletions

View File

@ -447,7 +447,9 @@
.replace(/\b(holland|italy)\b/i, '')
.trim()
: null,
cover: data.cover_url + "?nprandid=" + btoa(id),
cover: data.cover_url
? data.cover_url + "?nprandid=" + btoa(id)
: undefined,
});
showProgress({
id,