Closed vale981 closed 5 years ago
Hey folks. Thanks for the interest :).
This request was only meant as a proposal (because it's just a dirty hack) so I have absolutely no problems modifying it according to the change requests :)
Cheers.
I've squashed the commits and made the increment_placount method async. The optional callback seems to me as the sanest option for the use case
The wrapper in gp
could be extended to the full functionality from gmusicapi
but for now, I saw no reason to do that.
One could add some more advanced metrics for the playcount incrementation (like a threshold playtime).
Cheers.
Could you squash the commit?
@vale981 I just applied the patches to the development branch with a few changes (made checking callback for None more global and changed the documentation.) Do you agree with this since your name is on it.
Absolutely!
Alright, then I am closing this merge request now.
By the way, I somewhat enjoy the fact that, when you translate it English, that commit it says: authored by Valentine, signed off by Valentine. Beautiful.
I've added this to keep gmusic stats on track and in the hope, that the artists get paid if the play count increases.