soundcloudthumbnail in itempage

This commit is contained in:
Flummi
2016-09-13 14:12:36 +02:00
parent c3656a06dd
commit 5ad62b5c5d
3 changed files with 8 additions and 1 deletions

View File

@ -106,6 +106,7 @@ function Websrv(tbot, tsql, tlib) {
size: '',
userchannel: '',
usernetwork: '',
thumb: null,
next: null,
prev: null
};
@ -131,6 +132,7 @@ function Websrv(tbot, tsql, tlib) {
data.srcurl = e.src;
data.src = urlm.parse(e.src).hostname;
data.thumb = (e.thumb != '' && e.thumb.match(/sndcdn\.com/i))?e.thumb:null;
data.dest = e.dest;
data.mime = e.mime;