You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
3.1 KiB
40 lines
3.1 KiB
# Tdarr custom plugins
|
|
My local custom plugins I use for Tdarr. I use Tdarr primarily for anime, so most of these plugins I use for that purpose.
|
|
|
|
# Plugins
|
|
## Tdarr_Plugin_gabehf_Set_Subtitle_Dispositions_By_Title
|
|
Sets the disposition (default, forced, none) of subtitle tracks based on their title. I use this to set subtitles that are named Full or Dialogue to be default, and remove the disposition of
|
|
subtitles named Signs & Songs or Forced. This is because I tend to download dual audio anime, however those releases tend to make the dub default, however I usually watch the sub.
|
|
|
|
## Tdarr_Plugin_gabehf_Anime_Subtitle_Fixer
|
|
If no subtitles in the preferred language are made default already, this plugin sets the subtitle stream in that language as default that is not named "Forced" and is not Signs & Songs.
|
|
This is meant to set the full subtitle stream as default for anime that use an unnamed track for full subtitles.
|
|
|
|
This plugin is used after Tdarr_Plugin_gabehf_Set_Subtitle_Dispositions_By_Title in order to catch edge cases for old anime (usually with one unnamed subtitle track) or non-standard releases
|
|
(with an unnamed Full track or similar).
|
|
|
|
## Tdarr_Plugin_gabehf_Make_First_Audio_In_Lang_Default
|
|
Makes the first audio track in the preferred language the default, removes the disposition from all other audio tracks.
|
|
|
|
## Tdarr_Plugin_gabehf_Make_First_Subtitle_In_Lang_Default
|
|
Makes the first subtitle track in the preferred language the default, removes the disposition from all other subtitle tracks.
|
|
|
|
## Tdarr_Plugin_gabehf_Remove_PGS_If_ASS_Exists
|
|
Removes all PGS subtitles if the container has ASS/SSA subtitles. You can see I do a lot of standardization on my anime subs.
|
|
|
|
## Tdarr_Plugin_gabehf_Set_First_Audio_Stream_Default
|
|
Sets the first audio stream as default. Removes all other default audio tracks' dispositions.
|
|
|
|
## Tdarr_Plugin_gabehf_Make_Default_Tracks_First
|
|
Moves the default audio and default subtitle tracks to the first index, if they aren't there already.
|
|
|
|
# Todo
|
|
- [x] Make_Default_Tracks_First will duplicate streams when more than one default exists. Make it quit instantly when the first track is already default to fix this.
|
|
- [x] Give Anime_Subtitle_Fixer the option to set honorific tracks as default (enm language code or "honorific"/"weeb" in the title). (Made another plugin for this)
|
|
- [ ] Create a flow plugin to check if a file both has ASS/SSA subtitles, and does not have attached fonts
|
|
- [ ] Create a flow plugin to check if a file has an audio track in a certain lang
|
|
- [ ] Create a flow plugin to check if a file has embedded subtitle tracks
|
|
- [ ] Make Anime Subtitle Fixer have an option to exclude titles when counting (this is hardcoded right now)
|
|
- [ ] Investigate using mkvmerge instead of ffmpeg in Set Subtitle Dispositions By Title to stop increase in file size (https://www.reddit.com/r/ffmpeg/comments/wsogpl/removing_subtitle_track_results_in_a_bigger_file/)
|
|
- [x] Plugin to strip PGA subs if ASS exists
|
|
- [x] Plugin to move first audio track in language to first audio track (can be done as a combination of Make First Audio in Lang Default and Make Default Tracks First) |