Use SSL urls for all artwork (no more protocol relative)
This commit is contained in:
parent
65af698a78
commit
90c59078c0
5 changed files with 11 additions and 11 deletions
|
@ -34,7 +34,7 @@ module.exports.lookupId = function(id, type, next) {
|
|||
name: album.name,
|
||||
streamUrl: "https://play.google.com/music/listen#/album/" + album.albumId,
|
||||
purchaseUrl: "https://play.google.com/store/music/album?id=" + album.albumId,
|
||||
artwork: album.albumArtRef.replace("http:", ""),
|
||||
artwork: album.albumArtRef.replace("http:", "https:"),
|
||||
artist: {
|
||||
name: album.artist
|
||||
}
|
||||
|
@ -51,7 +51,7 @@ module.exports.lookupId = function(id, type, next) {
|
|||
name: track.title,
|
||||
streamUrl: "https://play.google.com/music/listen#/track/" + track.nid + "/" + track.albumId,
|
||||
purchaseUrl: "https://play.google.com/store/music/album?id=" + track.albumId,
|
||||
artwork: track.albumArtRef[0].url.replace("http:", ""),
|
||||
artwork: track.albumArtRef[0].url.replace("http:", "https:"),
|
||||
album: {
|
||||
name: track.album
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue