Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio attachments in ActivityPub posts are silently dropped when posted to Bluesky #1503

Open
dos1 opened this issue Nov 17, 2024 · 1 comment
Labels
compat Protocol differences that need special handling.

Comments

@dos1
Copy link

dos1 commented Nov 17, 2024

A post with audio file (as can be uploaded with e.g. Mastodon) reaches Bluesky with no audio and no mention that the audio file was supposed to be there.

Example:
https://social.librem.one/@dos/113499714989458870 -> https://bsky.app/profile/dosowisko.net/post/3lb5zyx3e4f22

Since AFAIK Bluesky doesn't allow audio files to be shared, I'd expect the bridge to at least put a card with original file (or post) linked, so the media content is still accessible by the reader on Bluesky. The bridge could potentially turn audio files into videos with empty visual content, although I'm not sure if it's worth the effort given rather short duration limit for videos on Bluesky.

@Tamschi Tamschi added the compat Protocol differences that need special handling. label Nov 17, 2024
@snarfed
Copy link
Owner

snarfed commented Nov 18, 2024

Ooh, audio, exciting!

Here's what the AS2 attachment looks like:

  "attachment": [
    {
      "type": "Document",
      "mediaType": "audio/mpeg",
      "url": "https://social.librem.one/system/media_attachments/files/018/622/172/original/41b8341a33f5cb72.mp3",
      "name": null,
      "blurhash": null
    }
  ],

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compat Protocol differences that need special handling.
Projects
None yet
Development

No branches or pull requests

3 participants