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

Add Flow Plugin for Set Default Audio Stream by Language #604

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ProfDoof
Copy link

@ProfDoof ProfDoof commented Mar 1, 2024

Hi! I have been using Tdarr, and I need to set the default audio for different videos and so I tried to craft this plugin. I haven't been able to test it yet as I have don't have a convenient way to load this plugin at this moment and so I mostly just developed it in a github codespace. I also changed some things with regards to your getOutputStreamIndex and getOutputStreamTypeIndex logic to avoid needing to loop through the array of streams every time and then added the disposition flag.

Feel free to adjust any part of this or let me know if there's anything you'd like me to change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants