Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
c8d4390
fix: issue with sonarr/radarr not understanding addresses. Closes #11
jordanlambrecht Apr 8, 2025
3a26da5
fix: missing emoji lol
jordanlambrecht Apr 8, 2025
04fd9a8
feat: set unraid permissions via 'use_unraid' variable
jordanlambrecht Apr 9, 2025
ec5ab81
chore: added license
jordanlambrecht Apr 9, 2025
2591272
chore: added notation on custom plugin removal to top of file
jordanlambrecht May 30, 2025
7bab09b
feat: added new `nvenc_preset` logic. breaking! see changelog.
jordanlambrecht May 30, 2025
04daaf5
chore: minor comment
jordanlambrecht May 30, 2025
163de95
breaking: added custom plugins that need to be installed. see changelog
jordanlambrecht May 30, 2025
c1b19b7
docs: added image
jordanlambrecht May 30, 2025
2da17f5
fix: checks for anime dubs for aac
jordanlambrecht May 30, 2025
4fca915
breaking: new initialization flow! see changelog
jordanlambrecht May 30, 2025
71a1d3e
release: v2.0.0 (beta)
jordanlambrecht May 30, 2025
7ecad17
Update README.md
jordanlambrecht May 30, 2025
7d21dc9
fix: now properly strips away SDH + CC + eia_608
jordanlambrecht May 31, 2025
2eabbe4
removed: input file entry point
jordanlambrecht May 31, 2025
045c9e8
feat: flows now check for 'file processed' state. uses hash checking
jordanlambrecht May 31, 2025
b2c449a
feat: all flows now run mkPropEdit towards the beginning of flow
jordanlambrecht May 31, 2025
a3eff74
fix: plugin errors were causing an infinite loop. now uses JS checks โ€ฆ
jordanlambrecht May 31, 2025
f2f87f0
fix: mjpeg fix would cause infinite loop. Now uses JS for error logic
jordanlambrecht May 31, 2025
024ef4f
release: v2.1.0
jordanlambrecht May 31, 2025
ad50888
fix: flows would fail on non-mkv videos due to MkvEditProps
jordanlambrecht May 31, 2025
7727b82
fix: dangling curly brackets on a few variable names. Closes #20
jordanlambrecht Jun 1, 2025
5a513a9
fix: now checks for and removes dvd_nav_packet codecs. Closes #19
jordanlambrecht Jun 6, 2025
7d0218d
feat: better font attachment removal logic
jordanlambrecht Jun 6, 2025
06c52ba
feat: audio cleaning now prompts for user review upon checkpoint failure
jordanlambrecht Jun 6, 2025
03e902d
chore: removed unused plugins. Closes #23
jordanlambrecht Jun 6, 2025
35e5855
fix: oops looks like this one wasn't fully merged
jordanlambrecht Jun 6, 2025
9a8c749
removed: audio codec filter was merged as a community plugin
jordanlambrecht Jun 6, 2025
a83f5fb
feat: audio codec filters merged into community plugins. custom plugiโ€ฆ
jordanlambrecht Jun 6, 2025
23f0c83
feat: added filesize preflight checks for x265 videos. See changelog
jordanlambrecht Jun 6, 2025
bbe7c4d
release: v2.2.1-beta
jordanlambrecht Jun 6, 2025
0355ad3
chore: added date
jordanlambrecht Jun 6, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "docs/wiki"]
path = docs/wiki
url = https://github.com/jordanlambrecht/modular-tdarr-flows.wiki.git
162 changes: 162 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,167 @@
# CHANGELOG

## v2.2.1-beta - June 6, 2025

### Added

- Finished added emojis to `๐Ÿ“ผ Video Transcoding` flow (lol)
- ๐ŸŽ‰ Three new library variables! Users can now set
`use_minimum_filesize_boundary` to true or false, and
- Anime/Foreign safety check in `๐Ÿ’ฌ Handle Subtitle Cleaning`.
- `๐ŸŽง Handle Audio Cleaning` now holds files for review if file size/duration
- Alternative method for detecting font files checks fail instead of
automatically failing the flow
- `๐Ÿ‘‹ Initialization` now checks for and removes `dvd_nav_packet` codecs. Closes
[#19](https://github.com/jordanlambrecht/modular-tdarr-flows/issues/19)

### Fixed

- A few variables in the `๐Ÿ“ผ Video Transcoding` flow had dangling curly
brackets. Closes
[#20](https://github.com/jordanlambrecht/modular-tdarr-flows/issues/20)
- `๐Ÿ’ฌ Handle Subtitle Cleaning` was not properly removing TTF files
- Turns out a lot of issues were due to a community plugin error. I opened an
issue with Tdarr and they added `checkStreamProperty` as an official plugin.
Closes [#9](https://github.com/jordanlambrecht/modular-tdarr-flows/issues/9),
closes [#21](https://github.com/jordanlambrecht/modular-tdarr-flows/issues/21)
- `๐Ÿ”Š Handle Audio Transcoding` was not correctly using `keep_8ch_logic`

### Changed

- Subtitles will no longer be removed if library variables `is_anime` or
`is_foreign` are `true`. It's better to have annoying subtitle formats than no
subtitles at all when it comes to foreign content. Open to feedback on this
ideaology though
- ~~`Tdarr_Plugin_jordy_Remove_Audio_By_Codec_Channels` was officially merged
with tdarr-plugins!! Users no longer need to install it as a custom plugin.
Closes
[#22](https://github.com/jordanlambrecht/modular-tdarr-flows/issues/22)~~ Just
kidding, only the tests were merged
- `Tdarr_Plugin_jordy_Filter_By_Audio_Codec_and_Channels` was officially merged
with tdarr-plugins!! Users no longer need to install it as a custom plugin

### Removed

- Mono logic and mono plugin in `๐Ÿ”Š Handle Audio Transcoding` until I can
further diagnose what's going on with it
- Old, unused nodes in `๐Ÿ”Š Handle Audio Transcoding`. Closes
[#23](https://github.com/jordanlambrecht/modular-tdarr-flows/issues/23)

### Docs

- Added page for users to contribute their encoding journey to help better
account for fringe scenarios

## v2.1.0-beta - May 31, 2025

### Added

- `๐Ÿง  CONTROLLER FLOW` now checks to see if a file is already processed and
holds for review if it is
- All flows check to see if a file is already processed and holds for review if
it is if the entry point is `๐Ÿ›ฌ Input File`
- Flows would fail on non-mkv videos due to MkvEditProps

- `๐Ÿง  CONTROLLER FLOW` now marks a file as processed at the end of flow run
- All individual flows mark a file as processed at the end of a run if the main
entry point is `๐Ÿ›ฌ Input File`
- All flows now run MkPropEdit towards the beginning of the flow. This adds a
bit of processing time, but it makes things a lot smoother/safer. And all
we've got is time, am I right?
- Two new flow variables, `flowErrorThreshold` and `pluginErrorThreshold`. These
are used to set the maximum number of errors allowed before
`๐Ÿ‘‹ Initialization` is failed.

### Fixed

- `๐Ÿ’ฌ Handle Subtitle Cleaning` now properly strips away SDH + CC + eia_608
subtitle streams
- `๐Ÿ‘‹ Initialization` flow would enter an infinite loop if a plugin failed.
Switched over to JS functions for error handling instead.

## Removed

- `๐Ÿ›Ž๏ธ Handle Notifications` does not need an `input file` entry point, so it was
removed.

## v2.0.0-beta - May 30, 2025

There are a lot of breaking changes in this update. I highly recommend reading
through them all and running test videos on your flows before using with actual
content.

### Added

- `keep_8ch_audio` library variable. Defaults to false. This variable is
optional.
- `remove_commentary` library variable. Defaults to false. Setting to true will
remove any audio tracks that are flagged as commentary. This variable is
optional. Executed in the Audio Cleaning flow.
- `๐Ÿ”Š Handle Audio Transcoding` flow will now automatically upmix mono tracks to
stereo and remove the mono track.
- Cleanup now changes file perms if `enable_unraid` is set to `true`
- New flow!! Early logic and safety considerations have been added to a flow
called `๐Ÿ‘‹ Initialization`. It can be activated using the variable
`enable_initialization`
- `๐Ÿ”Š Handle Audio Transcoding` flow now fails at the
`Create 2-channel aac (jp)` and `Create 2-channel aac (en)` steps because 2ch
AAC is _mandatory_. **Further investigation is required for 'en' vs 'eng' and
'jp' vs 'jpn' language codes.**
- Safety checks in the `๐Ÿ”Š Handle Audio Transcoding` flow to ensure that a valid
audio codec is found before scrubbing unwanted ones. This was put in place due
to rare cases where mp2 2ch audio was not transcoding to aac 2ch and was being
removed instead, leaving no audio track at all.
- `๐Ÿ”Š Handle Audio Transcoding` now checks for dubs to transcode in addition to
japanese (for anime)
- New logic for detecting external and/or unwanted subtitle types. This is still
shaky since Tdarr does not have great subtitle handling logic. Please report
any issues you find with subtitles.
- Added new `nvenc_preset` variable to the `video transcoding` flow. This is
used to set the preset for the NVENC encoder. Defaults to `p7`. Nvenc encoding
now uses
`-c:0 hevc_nvenc -preset p{{{args.variables.user.use_nvenc_preset}}} -tune hq -spatial-aq 1 -temporal-aq 1 -rc-lookahead 32 -no-scenecut 1 -qmin 0 -g 250 -bf 3 -b_ref_mode middle -b_adapt 0 -fps_mode passthrough -i_qfactor 0.75 -b_qfactor 1.1`

### Changed

- `๐Ÿ”Š Handle Audio Transcoding` now removes 8ch streams by default now
- `๐Ÿ”Š Handle Audio Transcoding` now removes any AAC codecs from 6ch streams,
leaving only AC3
- Better audio codec removal logic
- `๐Ÿ“ผ Video Transcoding` flow now checks for small h265 movie files and does not
transcode them if they're under 4.5gb. This is to prevent unnecessary
transcoding of small files that are already in a good format.
- `๐Ÿ“ผ Video Transcoding` flow now renders 480p and 576p videos as 480p instead
of up converting them to 720p. This is to prevent unnecessary upscaling of
videos that are already in a good format.

### Fixed

- Issue with Keep Native Lang Plus Eng (anime) plugin not working. This was due
to the global variable being used with http://, but the plugin does not want
http:// in it's input field. See Issue #11
- Missing emoji in the subtitle flow lol
- Issue with 480p videos upscaling to 1080p

### BREAKING

- I wrote 3x custom community plugins to handle the AAC 6ch removal logic.
Please see this
[pull request](https://github.com/HaveAGitGat/Tdarr_Plugins/pull/811). Until
it is merged, you will need to create custom plugins into it. Please open an
issue if you run into trouble. Referr to the [[๐Ÿ•น๏ธ Custom Plugins]] wiki page
for detailed setup instructions
- I also wrote a custom community plugin to upmix mono tracks to stereo. Until
it is merged, you will need to create a custom plugin and copy/paste
[this code](https://github.com/jordanlambrecht/Tdarr_Plugins/blob/upmix_mono_to_stereo/Community/Tdarr_Plugin_jordy_Upmix_Mono_to_Stereo.js)
into it. Referr to the [[๐Ÿ•น๏ธ Custom Plugins]] wiki page for detailed setup
instructions
- I also wrote a custom community plugin to filter specifically by audio codec
AND audio channel. Same deal.
[Github repo here](https://github.com/jordanlambrecht/Tdarr_Plugins/blob/filter_by_audio_codec_and_channels/Community/Tdarr_Plugin_jordy_filter_by_audio_codec_and_channels.js).
Referr to the [[๐Ÿ•น๏ธ Custom Plugins]] wiki page for detailed setup instructions
- Sonarr/Radarr IP addresses in the global config MUST NOT contain http:// or
https:// anymore. Please update your global variables accordingly.

## v1.2.0 - March 4, 2025

### Added
Expand Down
Loading