hzeller / gmrender-resurrect

Resource efficient UPnP/DLNA renderer, optimal for Raspberry Pi, CuBox or a general MediaServer. Fork of GMediaRenderer to add some features to make it usable.
GNU General Public License v2.0
832 stars 202 forks source link

Scrobbling #271

Open GioF71 opened 5 months ago

GioF71 commented 5 months ago

Hello, thank you for your great project. I would like to use a last.fm scrobbler with gmrender-resurrect. I didn't find an already available application, but I see your project upnp-display might be a starting point, am I right? Please provide a different suggestion if I am wrong. If I had to write a program, I'd prefer python, but that's not a hard requirement. C/C++ would also be fine.

Thank you

mill1000 commented 5 months ago

Another potential option would be to take PR #222, extend it to also output metadata (i.e. artist, track, album, etc) via MPRIS and then combine with either mpris-scrobbler or rescrobbled.

GioF71 commented 5 months ago

Hello and thank you for your answer, I will have a look at the code. I must tell you that given that there is a pending PR involved, maybe taking inspiration from the upnp-display project seems to be a shorter path? Am I wrong?

mill1000 commented 5 months ago

The upnp-display approach does have the benefit of A. Not requiring modification to gmrender-ressurect B. Being compatible with other UPnP renderers (theorectially)

GioF71 commented 5 months ago

Not requiring a modification to gmrender-resurrect seems a big plus for me. I will try deriving something from upnp-display. Another nice option might be to add a source for multi-scrobbler