tubesync icon indicating copy to clipboard operation
tubesync copied to clipboard

Add codecs for the `audio` asset type

Open tcely opened this issue 7 months ago • 2 comments

The common codecs used by audio formats should be added to the data migration for our new Codec model / table.

We need at least these entries:

  • aac
  • ac3
  • alac
  • dts
  • flac
  • m4a
  • m4b
  • mp3
  • opus
  • pcm
  • vorbis

You are welcome to expand the migration that I already made for subtitle codecs.

https://github.com/meeb/tubesync/blob/issue/1419/design-generic-models/tubesync/sync/migrations/0039_codec_data.py

tcely avatar Apr 18 '26 11:04 tcely

You're right that the new Codec model needs data migration entries for common audio formats. I'd handle this by adding entries for codecs like MP3, AAC, Vorbis, and Opus to the migration file, referencing typical MIME types. Can have a PR up within a day—I've implemented similar audio codec handling in media pipeline projects before.

snakefood3232 avatar Apr 18 '26 12:04 snakefood3232

I look forward to reviewing your pull request.

tcely avatar Apr 18 '26 15:04 tcely