gmusicapi icon indicating copy to clipboard operation
gmusicapi copied to clipboard

actions don't log into "My Activity"

Open tadly opened this issue 7 years ago • 5 comments

I'm just curious and because there hasn't been an issue about it yet I though I'd create one :)

Basically, google also keeps taps on every played track over at https://myactivity.google.com. This does not apply to gmusicapi however (I'm thinking of Mobileclient.increment_song_playcount)

The only reason I'm curious is (well partially because of OCD :D) because I'm not sure how this could affect machine learning related stuff (radio stations, IFL, etc.).

Does anyone know more about it?

tadly avatar Nov 10 '17 10:11 tadly

Interesting; I didn't know this was a thing. There are some out-of-band metrics calls I've seen Google make that presumably report into this system. I can't remember what they are off the top of my head, but I'm pretty sure they've been noted in some issues before.

simon-weber avatar Nov 10 '17 18:11 simon-weber

The whole music tracking is somewhat new actually. Also, I usually try to block everything tracking related I can (ublock, some vpn based adblocker on android) yet they show up on the myactivities page anyways. Just something I wanted to add :)

tadly avatar Nov 10 '17 18:11 tadly

The api calls are to useractivity/useractivity, it's done when you skip songs. Not sure what your use case is, but i find myself doing the reverse, i.e. retrieve all the entries from myactivity to keep track of my listen history on scrobblers like last.fm/listenbrainz. I have recently released a tool to scrape the listen data : https://github.com/jpathy/google-myactivity .

jpathy avatar Nov 21 '17 00:11 jpathy

Sorry it took me this long to reply. Thanks for that @jpathy, that's interesting and I'll certainly have a look.

@simon-weber is logging into googles "my activity" something that'd fit into gmusicapi (if at all possible)? I was thinking something similar to how the playcount is increased.

tadly avatar Dec 01 '17 08:12 tadly

Sure, I can picture something like Mobileclient.report_song_play.

simon-weber avatar Dec 01 '17 21:12 simon-weber