-
Notifications
You must be signed in to change notification settings - Fork 18
All Access tracks never appear in playlists #10
Comments
Yup! Can you open the background script log (click the "background page" link by the "Inspect views" section on chrome://extensions, then navigate to the "console" tab), then hit the "force update of track cache..." button? The log output will help us narrow down what's going on. |
Will do that when I get back to the office in 14 hours. I did try the force I will also repeat the same playlist at home to see if its any different. |
The 5 star rating was well over 1000 tracks, like 3.6k. The other 1 star was 400 odd according to the when I click test. But both playlists are empty, bu do actually appear in play music |
Hm, everything looks pretty normal to me in the logs. And since the remote playlist actually got created, there probably wasn't a problem with auth. The equals 1 playlist is particularly weird, since it saw a response from Google indicating that those tracks were in the playlist. Sometimes the changes can take a few seconds to show up -- if you look at the playlists today, are they still empty? |
The one star one is now populated. But took quite a while. I checked after But the 5 star one is still empty.
|
Ok, good to know about the 1 star list. There's a clientside-initiated cache invalidation protocol that I haven't implemented, but retrying the idempotent updates has worked well enough in my testing. The 5 star playlist probably has to do with 1k+ support (#5). I'll play around with it when I have a chance. |
Great. On another note, any idea what the "unrated" rating is? I thought it was What I want to get to eventually is create a Thumbs up (4 or 5 star) and So far your extension seems to have some great promise for this. I'm happy to donate if you are planning that at any time, as what you are |
Without the 5-star ratings lab, it should be 0, 1, or 5 for no thumb, down thumb, up thumb, respectively (I had to look this up from the gmusicapi docs).
Thanks! I'm still thinking about if/how to charge. My most recent idea is something like:
But that's still at least a month or two away, so I'm not worrying about it for now. |
Unfortunately, I waited about 18 hours and still no songs in the playlists. I can take some logs if that's helpful? Tested on both Mac OS X 10.11 and latest version of Chrome OS. |
Huh, sorry for the trouble, @johnrobertlawson. Let's take a look at the logs (instructions in #10 (comment)). Feel free to paste them inline with triple backticks. |
I've attached the log file, seeing as Markdown was making a mess of my inline code. hjigmfiohhedacoipgnjbcmooocdljmo-1448648256525.txt Hope this helps. As you can see, there are two playlists it's trying to sync, "Latest_loved" and "2015 Faves". |
Hm, it looks like the editplaylist requests are nooping for some reason. Let's take a closer look at the requests being sent. @johnrobertlawson, can you send me a HAR? Here are instructions in case you need them:
That should be enough for me to figure out what's going on. |
OK, cheers; just sent that now. |
Perfect, thanks @johnrobertlawson. I think I figured it out: you use All Access, right? It seems like any tracks of type 7 (which I got by adding an All Access track to my library) don't add since Google wants the store id and not the library id. Looks like an easy fix 👍 |
Correct! GPAA has a nasty habit of removing items from your Library and re-adding them, or something it doesn't re-add them but preserved your thumbs-up rating. Glad it isn't terminal! |
@johnrobertlawson alright, I think https://github.com/simon-weber/Autoplaylists-for-Google-Music/releases/tag/0.1.2 should fix this. Give it a shot and let me know if it works for you. |
It's working, though the Google Music webpage appears to be overloading on memory or something, and reloads the playlist non-stop, and become unresponsive. I noticed the order of the playlist and number of tracks is fluctuating too. This could just be a temporary thing as it chugs through the logic of sorting the playlist? |
@johnrobertlawson I triggered that at one point -- I think it has to do with existing state when syncing. Can you try deleting all the tracks in the playlist and then re-syncing? |
Unfortunately Google Play Music locks up too much to do anything via web interface. However, I noticed via Gear Player for Mac that tracks were being duplicated 2-5 times in some cases, and the playlist length was getting much larger than the size when you "Test" in the extension script. |
Hm, I just tried manually duplicating different types of tracks and wasn't able to recreate this. You can manually kill the background script by opening the Chrome task manager. That should get the web interface responsive again. |
OK, I deleted all and waited for the resync, and now different tracks are duplicated in the playlist. Seems random (there are no duplicates in my actual library). After two minutes or so, the webpage refreshes and the playlist length shortens but all duplicates are gone, and everything seems OK! So after creating a playlist, there's a few minutes of flux where the webpage is not responsive and there a lots of duplicates, but afterwards the playlist is fixed. However, the page still refreshes every minute or so and locks up temporarily, presumably as the script is checking the remote playlist? |
Got it. Let's move this to #17 now that we've seemingly fixed the problem with AA tracks not appearing. |
I hope this the right way to post problems.. First day on github and not familiar with how it all works.
I created a playlist with rating "does not equal" certain values (0 to 5 I believe play uses). On the extension it says there are songs that fit the category of the playlist but google play music see only empty playlists. Although the playlists names are in my library, just empty.
The text was updated successfully, but these errors were encountered: