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

New Plugin to clean audio and subtitle streams #579

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

Conversation

cpadil
Copy link

@cpadil cpadil commented Dec 28, 2023

This plugin is a combination of other plugins to clean the audio and subtitle streams. No video transcoding happens here.
For AUDIO streams, it will look for the original language in Radarr/Sonarr or TMDB to KEEP it,
it will also keep any additional audio stream based on the parameter audio_language (ISO-639-2), and it will remove the rest, including commentary audio stream.
For SUBTITLE streams, it will keep subtitles based on the parameter subtitle_language (ISO-639-2) and remove based on the parameter subtitle_codecs (e.g. hdmv_pgs_subtitle).
If the subtitle_language is left empty, it will remove all subtitles.
If a subtitle is found with a codec specified in the parameter subtitle_codecs it will be removed regardless of the parameter subtitle_language

cpadil and others added 2 commits December 28, 2023 11:46
@supersnellehenk
Copy link
Collaborator

supersnellehenk commented Dec 28, 2023

Instead of creating a new plugin, could you add the subtitle features to my original plugin? Otherwise there will be two pieces of nearly identical code in the plugin repository.

Edit: is see this is pretty destructive out of the box, so disregard my message above.

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