kawaiiDango / pano-scrobbler

Scrobbles to last.fm, ListenBrainz, libre.fm, GNU FM, Maloja, Pleroma or to a file, on Android

Home Page:https://play.google.com/store/apps/details?id=com.arn.scrobble

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extra media session metadata for filtering

Tolriq opened this issue · comments

Is your feature request related to a problem, or particular use cases? Please describe.

I'm currently recommending Pano as the scrobbler app for my music player app. Everything works well, but Symfonium have a small particularity as it can connect to multi media providers.

Some users wants to be able to filter on the source provider as their server might be already doing the scrobbling.

Describe the solution you'd like

Use a currently unused MediaSession Metadata like AUTHOR or WRITER, that I'll fill with the provider name, and Pano allows users to filter on that field on Pano side.

Additional info

It is possible to use your own custom keys in mediasession metadata.

I cant think of an intuitive UI where users can filter out that field. If this feature is added to the blocked metadata dialog, the user would have to type in the custom key and the provider name they want to block. They can make typos and probably wont know what they are doing.

I think it is better to put a toggle in Symfonium, in each media provider settings, something like, send do-not-scrobble to scrobblers that support it. And put a media metadata key "com.something.DO_NOT_SCROBBLE" = 1 (Int). I will look for that key and not scrobble those.

Pano already does that for android.media.metadata.ADVERTISEMENT to prevent Spotify ads from scrobbling.

cant think of an intuitive UI where users can filter out that field.

That's why I proposed the AUTHOR or WRITER field that are well know and could make sense on the pano side.

I don't like the idea of a custom field on Symfonium that is just a specific on / off toggle as users would not understand why it does not work with other scrobbler apps. And can't enable future usage of the provider name to send it to scrobbler servers to know the source of playback.

But I like the ADVERTISEMENT key, I was not aware of it, I can definitively add a per provider setting to add that to the session as it might work with other scrobbler apps too.

Does it needs to be enabled on your side or it's always active as a filter ? (And does it work for any app?)

The advertisement key is always active and works for any app on Pano's side. I am not aware of any other scrobblers that read that field.

Well one more reason to recommend Pano, while not naming it in the app and having Google rejecting updates due to ads or whatever the dumb reviewer might decide.

This works for me, I'll add the option to report plays with ADVERTISEMENT at 1