Skip to main content

Tdarr

Automatic video transcoding to H.265 - A more modern and space efficient format

Tdarr server

Running as a Home Assistant addon: https://home.freakycowbot.com/hassio/addon/db21ed7f_tdarr/info

UI: http://homeassistant.local:8265

Tdarr nodes

  • Home Assistant - This node can only use CPU transcoding and is trash. It's running alongside the server
    • Ideally it should be using VA-API, but it either is not, or this CPU doesn't support H.265
  • MediaPC - /opt/Tdarr/Tdarr_Node
  • Pop_OS Dell - /opt/Tdarr/Tdarr_Node
    • Laptop. Can stop service when needed with: sudo service tdarr stop

Node Service

To create a linux service so the Tdarr node automatically starts/runs:

sudo vim /etc/systemd/system/tdarr.service

[Unit]
Description=Tdarr - Audio/Video Library Analytics & Transcode/Remux Automation
Documentation=https://docs.tdarr.io/docs

[Service]
User=william
Group=william
ExecStart=/opt/Tdarr/Tdarr_Node/Tdarr_Node
Restart=on-failure

[Install]
WantedBy=multi-user.target

sudo systemctl enable tdarr.service

sudo service tdarr start

Nodes should auto-update. See /opt/Tdarr/logs for update log files

Sometimes not all files are properly marked as executable so the node fails:

  • Tdarr_Node
  • runtime/Tdarr_Node_Runtime
  • assets/app/ccextractor/linux_x64/ccextractor
  • /opt/Tdarr/Tdarr_Node/assets/app/ffmpeg/linux_x64/ffmpeg
  • /opt/Tdarr/Tdarr_Node/assets/app/ffmpeg/linux_x64/ffprobe
  • /opt/Tdarr/Tdarr_Node/node_modules/exiftool-vendored.pl/bin/exiftool

Node Configuration

Pop_OS Dell Tdarr_Node_Config.json
{
  "nodeName": "Pop_OS Dell",
  "serverURL": "http://192.168.235.211:8266",
  "serverIP": "192.168.235.211",
  "serverPort": "8266",
  "handbrakePath": "",
  "ffmpegPath": "",
  "mkvpropeditPath": "",
  "pathTranslators": [
    {
      "server": "/mnt/transcode_cache/tdarr",
      "node": "/mnt/terramaster/transcode_cache/tdarr"
    },
    {
      "server": "/mnt/movies",
      "node": "/mnt/terramaster/movies"
    },
    {
      "server": "/mnt/tv",
      "node": "/mnt/terramaster/tv"
    }
  ],
  "nodeType": "mapped",
  "unmappedNodeCache": "/opt/Tdarr/unmappedNodeCache",
  "logLevel": "INFO",
  "priority": 0,
  "cronPluginUpdate": "",
  "apiKey": "",
  "maxLogSizeMB": 10,
  "pollInterval": 2000,
  "startPaused": false
}