sslize images from itunes and deezer

This commit is contained in:
Jonathan Cremin 2014-12-04 21:58:27 +00:00
parent dcca32c998
commit bd5eadee0c
2 changed files with 4 additions and 4 deletions

View file

@ -31,7 +31,7 @@ module.exports.lookupId = function(id, type) {
name: result.trackName ? result.trackName : result.collectionName,
streamUrl: null,
purchaseUrl: result.collectionViewUrl,
artwork: result.artworkUrl100.replace("100x100", "200x200"),
artwork: result.artworkUrl100.replace("100x100", "200x200").replace("http:", ""),
artist: {
name: result.artistName
}
@ -79,7 +79,7 @@ module.exports.search = function(data) {
name: result.trackName ? result.trackName : result.collectionName,
streamUrl: null,
purchaseUrl: result.collectionViewUrl,
artwork: result.artworkUrl100.replace("100x100", "200x200"),
artwork: result.artworkUrl100.replace("100x100", "200x200").replace("http:", ""),
artist: {
name: result.artistName
}