CappielloAntonio / tempo

An open source and lightweight music client for Subsonic, designed and built natively for Android.
GNU General Public License v3.0
865 stars 39 forks source link

[Feature Request] - Send out "now playing" scrobbles to server #154

Closed caiocotts closed 5 months ago

caiocotts commented 5 months ago

Summary

Send out "now playing" scrobbles to server.

Description

Tempo already sends out scrobbles to the subsonic server when the the current song finishes playing, but it'll only send out the scrobbles as submissions. I'd like for tempo to also send out a "now playing" scrobble whenever a new song starts playing.

Use Case

Overall, it would just be nice to be able to share what song you're currently listening to on LastFM.

Additional context

The key part of this implementation is being able to specify if the scrobble submission parameter is true or false. Here is an example request from Airsonic: https://music.caiocotts.com/rest/scrobble?id=[......]&submission=false

If submission is false, the scrobble is treated as a "now playing" notification.