Home Artists Posts Import Register

Content

Hello!

Just an update to go through some of the changes to Tdarr this month. There haven't been as many new features added but I have been working on a few things to make Tdarr run better in the long run. 

I spent a fair while converting all Tdarr modules (and the website) from JavaScript into Typescript which helped find and fix quite a few bugs. I've also slimmed down the number of Tdarr modules from five to three. As of 2.00.08, Tdarr_WebUI has been incorporated into Tdarr_Server and Tdarr_Desktop has been removed as there hasn't been a need for it. So now there are only the following modules:

Tdarr_Updater

Tdarr_Server

Tdarr_Node

Both those changes should make things much easier for new and existing users running Tdarr natively.

On the side, I've been evaluating whether it would be worthwhile rewriting Tdarr's backend in a compiled language to reduce the binary size of each module and have better resource usage. For example, I created a small test application in NodeJS, Dart, Go and Rust:

Lang      - Binary   - RAM

NodeJS - 71.8MB  - 5.6MB

Dart       - 4.8MB    - 3.9MB

Go          - 2.1MB    - 1.6MB

Rust       - 0.2MB   - 0.3MB

Dart has been great fun as it's pretty similar to JS/TS. Go has great cross-compilation features but isn't great for working with JSON. Rust has amazing resource stats, is pretty good with JSON through json-rust but is a bit more difficult to work with. So still not too sure on that one; there's also the fact that Tdarr plugins are all in JS so those would either have to be re-written (highly unlikely), or Tdarr would need to come with the NodeJS runtime, negating any space-saving (at least for the first download, subsequent updates would be relatively small). I'll leave that for now.

Furthermore, I've been working on some new end-to-end tests for Tdarr to help keep releases consistent (there are now 30 tests or so for the containers which check FFmpeg and HandBrake work correctly with various plugins and settings and that the UI responds accordingly). It would be nice to have a testing system for the Tdarr_Plugins repo too. I'll see if I can make a start on that in April.

Welcome to the new pledgers and thanks for the support!

Roy/HGG


2.00.08 [(Latest) 29th March 2021]

- Tdarr_WebUI integrated into Tdarr_Server. No need to run separate Tdarr_WebUI process anymore.

- Tdarr_Desktop no longer used

- Added side by side comparison between old and new file when clicking "H" history button

- Scan (Find new) will detect new files which have the same filenames as old ones.

- UI will show when a new version is available

- New end-to-end tests

- Fix Tdarr detecting files renamed by plugins as new files


2.00.07 [8th March 2021]

- Can click on staged files (source and cache) to see full file info (on-demand scan)

- Can sort queue by container

- Can collapse sections on Tdarr tab

- Server will attempt to move new files from cache to library else fall back to copy/delete

- Added low process priority Node option (no effect on Docker)

- Added extra information when no Nodes detected

- Added icon to clarify Node and library selection

- Added VAAPI support to container (thanks to richardbrodie)

- Added friendly node IDs

- Added UI connection splash screen

- Fix bug when using a Linux Server, Windows Node and a root drive location on the Node

- Fix status table update UI bug

- Fix theme bug if upgrading and then downgrading version

- Fix staged file limit UI bug

- Fix UI not showing in Safari






Comments

Dan S

How can I submit fix/feature requests?

Tdarr

Hi, feel free to open an issue here: https://github.com/HaveAGitGat/Tdarr/issues