# \[WS\] Google Play Music

**URL:** https://community.mp3tag.de/t/ws-google-play-music/43609
**Category:** Web Sources Scripts
**Created:** [November 19, 2018, 11:23pm UTC](https://community.mp3tag.de/t/ws-google-play-music/43609 "2018-11-19T23:23:15Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![vikaesar](https://community.mp3tag.de/user_avatar/community.mp3tag.de/vikaesar/32/5892_2.png) [@vikaesar](https://community.mp3tag.de/u/vikaesar)
#### Post date: [November 19, 2018, 11:23pm UTC](https://community.mp3tag.de/t/ws-google-play-music/43609/1 "2018-11-19T23:23:16Z")

</div>

Hi everyone!

I was looking for a Google Play Music tag source a couple of days ago and only could find one that worked partially so I have been improving it and it's now working for me.

You can try it and make suggestions or tell me how to improve it. Enjoy!

[Google Play Music v1.03.src](https://community.mp3tag.de/uploads/default/original/2X/9/94e5fde3d6336fc4ce221d3c5704de89905d6d14.src) (9.0 KB)

> **Changelog**
>
> ```
> [2019-05-15] v1.03
> CHANGE: Revamped script code that works with the obfuscated HTML
> structure currently used on Google Play Music web pages.
> 
> ```
> 
> **Deprecated, non-working script versions:**
> 
> [Google Play Music v1.02.src](https://community.mp3tag.de/uploads/default/original/2X/1/15e63327ebb58e845204024d3a0d8b019cdfed8f.src) (22.3 KB)
> 
> ```
> [2018-11-22] v1.02
> FIX: albums with no genre information were not parsed correctly.
> FIX: multi-disc albums were not parsed correctly.
> Now working for up to 20-disc albums.
> 
> ```
> 
> [Google Play Music v1.01.src](https://community.mp3tag.de/uploads/default/original/2X/7/7b24e7237bc8f3d16369918fd2320fa7bf841f6e.src) (13.6 KB)
> 
> ```
> [2018-11-22] v1.01
> FIX: multi-disc albums were not parsed correctly.
> 
> ```
> 
> [Google Play Music.src](https://community.mp3tag.de/uploads/default/original/2X/9/9559b7050179a98791a1f658eced7f9eac7b9e92.src) (6.7 KB)
> 
> ```
> [2018-11-19] v1.00 based on Tag Source for Google Play Music by SheepKid12
> 
> ```

Please note, the tag source works only in countries where Google Play Music is available at the moment.

> **List of countries**
>
> Argentina, Australia, Austria, Belarus, Belgium, Bolivia, Bosnia-Herzegovina, Brazil, Bulgaria, Canada, Chile, Colombia, Costa Rica, Croatia, Cyprus, Czech Republic, Denmark, Dominican Republic, Ecuador, El Salvador, Estonia, Finland, France, Germany, Greece, Guatemala, Honduras, Hungary, Iceland, India, Ireland, Italy, Japan, Latvia, Liechtenstein, Lithuania, Luxembourg, Macedonia, Malta, Mexico, Netherlands, New Zealand, Nicaragua, Norway, Panama, Paraguay, Peru, Poland, Portugal, Romania, Russia, Serbia, Slovakia, Slovenia, South Africa, Spain, Sweden, Switzerland, Ukraine, United Kingdom, United States, Uruguay, Venezuela.

---

<div class="post-metadata">

### Author: ![richard.fuermann](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/f475e1/32.png) [@richard.fuermann](https://community.mp3tag.de/u/richard.fuermann)
#### Post date: [November 20, 2018, 12:47pm UTC](https://community.mp3tag.de/t/ws-google-play-music/43609/2 "2018-11-20T12:47:54Z")

</div>

Hello,  
I get the following error message:  
Error connecting to server: [play.google.com](http://play.google.com)

> 403:Forbidden

---

<div class="post-metadata">

### Author: ![vikaesar](https://community.mp3tag.de/user_avatar/community.mp3tag.de/vikaesar/32/5892_2.png) [@vikaesar](https://community.mp3tag.de/u/vikaesar)
#### Post date: [November 20, 2018, 2:07pm UTC](https://community.mp3tag.de/t/ws-google-play-music/43609/3 "2018-11-20T14:07:43Z")

</div>

Maybe it works for me because I had signed into my Google account in a web browser before using Mp3tag. It seems weird because the script is using the Google Play Music store web page and that is public to browse.

Check this URL in your web browser:

[https://play.google.com/store/search?q=Dover%20Complications&c=music&hl=en](https://play.google.com/store/search?q=Dover%20Complications&c=music&hl=en)

Tell me if it works for you too. Anyways, I'll look into it.

---

<div class="post-metadata">

### Author: ![oempaloempa](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/o/a3d4f5/32.png) [@oempaloempa](https://community.mp3tag.de/u/oempaloempa)
#### Post date: [November 20, 2018, 7:51pm UTC](https://community.mp3tag.de/t/ws-google-play-music/43609/4 "2018-11-20T19:51:43Z")

</div>

For me it's working, but I have to admit, I am also logged in with google (already for years, so they know everything from me 😃 )

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [November 21, 2018, 6:02am UTC](https://community.mp3tag.de/t/ws-google-play-music/43609/5 "2018-11-21T06:02:29Z")

</div>

> [@oempaloempa](#):
>
> For me it's working, but I have to admit, I am also logged in with google

It works for me (with the known bugs) and I am not logged into a google account.

---

<div class="post-metadata">

### Author: ![skippy](https://community.mp3tag.de/user_avatar/community.mp3tag.de/skippy/32/5830_2.png) [@skippy](https://community.mp3tag.de/u/skippy)
#### Post date: [November 21, 2018, 9:10am UTC](https://community.mp3tag.de/t/ws-google-play-music/43609/6 "2018-11-21T09:10:10Z")

</div>

Working or not, it depends on where you are, I guess.

 ![2018-11-21_170817](https://community.mp3tag.de/uploads/default/original/2X/d/dc534750905bbdd41c6cc945f29bbcc2c372bb1d.png)

---

<div class="post-metadata">

### Author: ![richard.fuermann](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/f475e1/32.png) [@richard.fuermann](https://community.mp3tag.de/u/richard.fuermann)
#### Post date: [November 21, 2018, 12:16pm UTC](https://community.mp3tag.de/t/ws-google-play-music/43609/7 "2018-11-21T12:16:05Z")

</div>

Thanks,  
I have the same problem with the link as User skippy  
I think if it works depends on the country

---

<div class="post-metadata">

### Author: ![vikaesar](https://community.mp3tag.de/user_avatar/community.mp3tag.de/vikaesar/32/5892_2.png) [@vikaesar](https://community.mp3tag.de/u/vikaesar)
#### Post date: [November 21, 2018, 1:17pm UTC](https://community.mp3tag.de/t/ws-google-play-music/43609/8 "2018-11-21T13:17:55Z")

</div>

This is the country availability for Google Play Music at this moment:

Argentina, Australia, Austria, Belarus, Belgium, Bolivia, Bosnia-Herzegovina, Brazil, Bulgaria, Canada, Chile, Colombia, Costa Rica, Croatia, Cyprus, Czech Republic, Denmark, Dominican Republic, Ecuador, El Salvador, Estonia, Finland, France, Germany, Greece, Guatemala, Honduras, Hungary, Iceland, India, Ireland, Italy, Japan, Latvia, Liechtenstein, Lithuania, Luxembourg, Macedonia, Malta, Mexico, Netherlands, New Zealand, Nicaragua, Norway, Panama, Paraguay, Peru, Poland, Portugal, Romania, Russia, Serbia, Slovakia, Slovenia, South Africa, Spain, Sweden, Switzerland, Ukraine, United Kingdom, United States, Uruguay, Venezuela.

The tag source script should work for everyone connecting from one of these countries. I don't know if some kind of web proxy URL could be used in the script to bypass this regional restriction. We'll see.

---

<div class="post-metadata">

### Author: ![vikaesar](https://community.mp3tag.de/user_avatar/community.mp3tag.de/vikaesar/32/5892_2.png) [@vikaesar](https://community.mp3tag.de/u/vikaesar)
#### Post date: [November 21, 2018, 11:52pm UTC](https://community.mp3tag.de/t/ws-google-play-music/43609/9 "2018-11-21T23:52:04Z")

</div>

I have been working on the bug that involved parsing multi-disc albums and now is mostly fixed. The script parses all data provided by Google Play Music for up to 8-disc albums. This should be enough for every album available out there.

[Google Play Music v1.01.src](https://community.mp3tag.de/uploads/default/original/2X/7/7b24e7237bc8f3d16369918fd2320fa7bf841f6e.src) (13.6 KB)

Changelog:

```
[2018-11-22] v1.01
        FIX: multi-disc albums were not parsed correctly.
[2018-11-19] v1.00 based on Tag Source for Google Play Music by SheepKid12
```

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [November 22, 2018, 7:06am UTC](https://community.mp3tag.de/t/ws-google-play-music/43609/10 "2018-11-22T07:06:18Z")

</div>

@vikaesar  
Many thanks for your work

> Known bugs: When parsing multi-disc albums with more than 8 albums –do they  
> even exist on Google Play?– then the total tracks for every disc  
> past the eight one aren't parsed correctly.

You are too optimistic.😀  
Of course there are. Here some examples for testing:

[https://play.google.com/store/music/album/Hank\_Williams\_The\_Complete\_Hank\_Williams?id=B5ql6q4g6et4bbeab4fejr6yjvi&hl=en](https://play.google.com/store/music/album/Hank_Williams_The_Complete_Hank_Williams?id=B5ql6q4g6et4bbeab4fejr6yjvi&hl=en)

[https://play.google.com/store/music/album/David\_Bowie\_A\_New\_Career\_In\_A\_New\_Town\_1977\_1982?id=Bse4cyvlck4tjtrqcmww7qx3i3q&hl=en](https://play.google.com/store/music/album/David_Bowie_A_New_Career_In_A_New_Town_1977_1982?id=Bse4cyvlck4tjtrqcmww7qx3i3q&hl=en)

[https://play.google.com/store/music/album/Yes\_The\_Studio\_Albums\_1969\_1987?id=B3g54lac464z4pwnn3dubq2e3dm&hl=en](https://play.google.com/store/music/album/Yes_The_Studio_Albums_1969_1987?id=B3g54lac464z4pwnn3dubq2e3dm&hl=en)

[https://play.google.com/store/music/album/The\_Academy\_of\_Ancient\_Music\_Mozart\_The\_Symphonies?id=B537eftg4lilae4byfy7dyv4jri&hl=en](https://play.google.com/store/music/album/The_Academy_of_Ancient_Music_Mozart_The_Symphonies?id=B537eftg4lilae4byfy7dyv4jri&hl=en)

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [November 22, 2018, 4:36pm UTC](https://community.mp3tag.de/t/ws-google-play-music/43609/11 "2018-11-22T16:36:16Z")

</div>

This one does not work:

[Robert Earl Keen - Best](https://play.google.com/store/music/album/Robert_Earl_Keen_Best?id=B7bff2hhrsj5ury4twbhmwnfmri)

---

<div class="post-metadata">

### Author: ![vikaesar](https://community.mp3tag.de/user_avatar/community.mp3tag.de/vikaesar/32/5892_2.png) [@vikaesar](https://community.mp3tag.de/u/vikaesar)
#### Post date: [November 22, 2018, 8:03pm UTC](https://community.mp3tag.de/t/ws-google-play-music/43609/12 "2018-11-22T20:03:37Z")

</div>

Well, here we go:

I've modified the script again to support parsing up to 20-disc albums. This should suffice (for now).

In addition, I've fixed the problem with (weird) albums that don't have any genre information, like the Robert Earl Keen's one you reported above.

[Google Play Music v1.02.src](https://community.mp3tag.de/uploads/default/original/2X/1/15e63327ebb58e845204024d3a0d8b019cdfed8f.src) (22.3 KB)

Changelog:

```
[2018-11-22] v1.02
        FIX: albums with no genre information were not parsed correctly.
        FIX: multi-disc albums were not parsed correctly.
             Now working for up to 20-disc albums.
```

---

<div class="post-metadata">

### Author: ![tydaa](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/ce7236/32.png) [@tydaa](https://community.mp3tag.de/u/tydaa)
#### Post date: [March 3, 2019, 5:54pm UTC](https://community.mp3tag.de/t/ws-google-play-music/43609/14 "2019-03-03T17:54:00Z")

</div>

hi,  
this script ist really usefull!

can you fix it ?

thank you!

---

<div class="post-metadata">

### Author: ![vikaesar](https://community.mp3tag.de/user_avatar/community.mp3tag.de/vikaesar/32/5892_2.png) [@vikaesar](https://community.mp3tag.de/u/vikaesar)
#### Post date: [March 3, 2019, 6:49pm UTC](https://community.mp3tag.de/t/ws-google-play-music/43609/15 "2019-03-03T18:49:19Z")

</div>

It seems Google has obfuscated the document structure of the Google Play Music album pages. Now it is quite more difficult to parse all the data the script did before, so I don't know if it can be fixed at all.

I'll take a look into it and see what can be done.

---

<div class="post-metadata">

### Author: ![vikaesar](https://community.mp3tag.de/user_avatar/community.mp3tag.de/vikaesar/32/5892_2.png) [@vikaesar](https://community.mp3tag.de/u/vikaesar)
#### Post date: [May 15, 2019, 9:09pm UTC](https://community.mp3tag.de/t/ws-google-play-music/43609/16 "2019-05-15T21:09:26Z")

</div>

I have finally had the time to fix the script so it can work with the current Google Play Music web pages, which have their document structure obfuscated. Here it is:

[Google Play Music v1.03.src](https://community.mp3tag.de/uploads/default/original/2X/9/94e5fde3d6336fc4ce221d3c5704de89905d6d14.src) (9.0 KB)

Changelog:

```
[2019-05-15] v1.03
     CHANGE: Revamped script code that works with the obfuscated HTML
             structure currently used on Google Play Music web pages.
```

---

<div class="post-metadata">

### Author: ![tydaa](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/ce7236/32.png) [@tydaa](https://community.mp3tag.de/u/tydaa)
#### Post date: [May 20, 2019, 4:38pm UTC](https://community.mp3tag.de/t/ws-google-play-music/43609/17 "2019-05-20T16:38:42Z")

</div>

Big THX. Now I Can Fix My Other Tags.

Thank You!

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [June 15, 2019, 3:13pm UTC](https://community.mp3tag.de/t/ws-google-play-music/43609/18 "2019-06-15T15:13:47Z")

</div>

5 posts were split to a new topic: [Using the Google Play Music web source](https://community.mp3tag.de/t/using-the-google-play-music-web-source/45694)

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [December 20, 2019, 3:15pm UTC](https://community.mp3tag.de/t/ws-google-play-music/43609/19 "2019-12-20T15:15:14Z")

</div>

@vikaesar  
Google Play Music v.1.03.src does not work here anymore. (no search result)  
It would be nice if you could fix it.

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [March 30, 2020, 10:10am UTC](https://community.mp3tag.de/t/ws-google-play-music/43609/20 "2020-03-30T10:10:52Z")

</div>

Only few changes were needed so here is a fix:  
[Google Play Music.zip](https://community.mp3tag.de/uploads/short-url/6dzLkTYjWNot2BQw9WECMLS2NJR.zip) (2.9 KB)

---

<div class="post-metadata">

### Author: ![SvD](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/3ab097/32.png) [@SvD](https://community.mp3tag.de/u/SvD)
#### Post date: [April 8, 2020, 1:21pm UTC](https://community.mp3tag.de/t/ws-google-play-music/43609/21 "2020-04-08T13:21:35Z")

</div>

Hello,  
Is there a way to only download Cover Art with this script and exclude every other tags?

[Next page](https://community.mp3tag.de/t/ws-google-play-music/43609.md?page=2)
