feat: add AssetType/AssetCodec choices and Codec model#1422
Open
P-r-e-m-i-u-m wants to merge 9 commits intomeeb:issue/1419/design-generic-modelsfrom
Open
feat: add AssetType/AssetCodec choices and Codec model#1422P-r-e-m-i-u-m wants to merge 9 commits intomeeb:issue/1419/design-generic-modelsfrom
P-r-e-m-i-u-m wants to merge 9 commits intomeeb:issue/1419/design-generic-modelsfrom
Conversation
Signed-off-by: 🄂ʏᴇᴅ 🄰ʙᴅᴜʟ 🄰ᴍᴀ🄝 ✧ <amanbaba9404522@gmail.com>
Signed-off-by: 🄂ʏᴇᴅ 🄰ʙᴅᴜʟ 🄰ᴍᴀ🄝 ✧ <amanbaba9404522@gmail.com>
This was referenced Mar 15, 2026
tcely
requested changes
Mar 15, 2026
tcely
reviewed
Mar 15, 2026
tcely
reviewed
Mar 15, 2026
tcely
reviewed
Mar 15, 2026
Add `MP4A`, also known as: `M4A`
Add `AVC1` from the `YouTube_VideoCodec` earlier in this file.
Add `AV1` from the `YouTube_VideoCodec` earlier in this file.
…pe/AssetCodec Signed-off-by: 🄂ʏᴇᴅ 🄰ʙᴅᴜʟ 🄰ᴍᴀ🄝 ✧ <amanbaba9404522@gmail.com>
Author
|
"Added SUBTITLE to AssetType and added PNG, VTT, SRT, ASS codecs to AssetCodec to cover thumbnails and subtitles. Ready for re-review @tcely |
Switch to `.jpg` and add `.webp`
Add `.ttml`
tcely
approved these changes
Mar 15, 2026
Collaborator
|
This looks good to me. @P-r-e-m-i-u-m |
tcely
reviewed
Mar 15, 2026
Author
|
"Looks good to me! Nothing else to add. Thanks for the suggestions @tcely |
Switch to a text value aligned with the extension.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1420
Closes #1421
Changes
tubesync/sync/choices.pyAssetTypechoices:thumbnail,audio,videoAssetCodecchoices:jpeg,opus,vp9,av1tubesync/sync/models/codec.pyCodecmodel withasset_typeandcodecfieldsAssetTypeandAssetCodecchoices(asset_type, codec)tubesync/sync/models/__init__.pyCodecfrom the models package