Fix artwork in rdio

This commit is contained in:
Jonathan Cremin 2014-12-13 13:03:43 +00:00
parent 0c1bcb728d
commit fcb690d7e5

View file

@ -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
}