From c56e66e12b0ae813ba696198445904c4db9cd06d Mon Sep 17 00:00:00 2001 From: Jonathan Cremin Date: Wed, 7 Jan 2015 12:16:42 +0000 Subject: [PATCH] Use better urls for Google streaming --- lib/services/google/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/services/google/index.js b/lib/services/google/index.js index 61a7bef..e5ece8d 100644 --- a/lib/services/google/index.js +++ b/lib/services/google/index.js @@ -56,7 +56,7 @@ module.exports.lookupId = function(id, type) { type: "album", id: album.albumId, name: album.name, - streamUrl: "https://play.google.com/music/listen#/album/" + album.albumId, + streamUrl: "https://play.google.com/music/m/" + album.albumId + "?signup_if_needed=1", purchaseUrl: "https://play.google.com/store/music/album?id=" + album.albumId, artwork: { small: album.albumArtRef.replace("http:", "https:"), @@ -76,7 +76,7 @@ module.exports.lookupId = function(id, type) { type: "track", id: track.nid, name: track.title, - streamUrl: "https://play.google.com/music/listen#/track/" + track.nid + "/" + track.albumId, + streamUrl: "https://play.google.com/music/m/" + track.nid + "?signup_if_needed=1", purchaseUrl: "https://play.google.com/store/music/album?id=" + track.albumId, artwork: { small: track.albumArtRef[0].url.replace("http:", "https:"),