I've found the media_attachment model:
https://github.com/tootsuite/mastodon/blob/master/app/models/media_attachment.rb
Defining audio types there looks straightforward in enough. What I have no idea how to even begin doing is making it render an <audio> tag in the timeline for inline playback.
Forgive me, I am not a developer.
do you have a moment to hear about my lord and savior, audio uploads? Show more
do you have a moment to hear about my lord and savior, audio uploads? Show more
do you have a moment to hear about my lord and savior, audio uploads? Show more
do you have a moment to hear about my lord and savior, audio uploads? Show more
do you have a moment to hear about my lord and savior, audio uploads? Show more
do you have a moment to hear about my lord and savior, audio uploads? Show more
@nivex the Spotify widget is delivered via their oembed, so not available to our use, unfortunately.
looks like this issue is the most recently closed iteration of this request: https://github.com/tootsuite/mastodon/issues/7495