Add optional URL value for scrobbles
Checklist
-
Adding a changelog: In the changelog.ddirectory, create a file named<code>.<type>.
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
Listenactivity in line with ActivityPub's definition of anAudioobject, 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; one has been approved on PleromaFE, and the other one is in an MR here. You can see it in action on iddqd.social and breastmilk.club right now.
Edited by NEETzsche