sslize images from itunes and deezer
This commit is contained in:
parent
dcca32c998
commit
bd5eadee0c
2 changed files with 4 additions and 4 deletions
|
@ -36,7 +36,7 @@ module.exports.lookupId = function(id) {
|
|||
name: result.title,
|
||||
streamUrl: "https://listen.beatsmusic.com/albums/" + result.id,
|
||||
purchaseUrl: null,
|
||||
artwork: artwork,
|
||||
artwork: artwork.replace("http:", ""),
|
||||
artist: {
|
||||
name: result.artist_display_name
|
||||
}
|
||||
|
@ -55,7 +55,7 @@ module.exports.lookupId = function(id) {
|
|||
name: result.title,
|
||||
streamUrl: "https://listen.beatsmusic.com/albums/" + result.refs.album.id + "/tracks/" + result.id,
|
||||
purchaseUrl: null,
|
||||
artwork: artwork,
|
||||
artwork: artwork.replace("http:", ""),
|
||||
artist: {
|
||||
name: result.artist_display_name
|
||||
},
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue