Skip to content

Add optional URL value for scrobbles

Accepts a url value. It has the shape as seen here: https://www.w3.org/TR/activitystreams-vocabulary/#dfn-document

Going by the examples of different kinds of documents, it seems kind of flexible how the url object should be shaped. Maybe it should be a Link object. Maybe it should be just a URL. Maybe it should be an array of Link objects.

This MR accomplishes two things:

  • Brings Pleroma's use of the Listen activity in line with ActivityPub's definition of an Audio object, and
  • Allows frontends to make use of the URL field, which can be a literal audio file or just a website that discusses it

This is already deployed on two instances. I've written working modifications to the frontends. You can see it in action on iddqd.social and breastmilk.club right now.

Merge request reports