Fix artwork in rdio
This commit is contained in:
parent
0c1bcb728d
commit
fcb690d7e5
1 changed files with 4 additions and 1 deletions
|
@ -157,7 +157,10 @@ module.exports.search = function(data) {
|
|||
name: result.name,
|
||||
streamUrl: result.shortUrl,
|
||||
purchaseUrl: null,
|
||||
artwork: result.icon.replace("square-200", "square-250").replace("http:", "https:"),
|
||||
artwork: {
|
||||
small: result.icon.replace("square-200", "square-250").replace("http:", "https:"),
|
||||
large: result.icon.replace("square-200", "square-600").replace("http:", "https:")
|
||||
},
|
||||
artist: {
|
||||
name: result.artist
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue