FileBot 4.7.7: Production Media Automation & Renaming for Plex & Emby

Maintaining an extensive digital media library across Plex Media Server, Emby, and Audiobookshelf requires rigid adherence to directory structures and filename conventions. When ingestion pipelines receive raw media from downloaders, inconsistent release names (Movie.Name.2024.1080p.WEBRip.x264.AAC-[Group].mkv) cause scrapers to fail, resulting in mismatched movie posters, missing subtitles, and disorganized series trees.

While newer versions of FileBot transitioned to a recurring subscription licensing model ($48 lifetime or $6/year), FileBot v4.7.7 remains the legendary final release capable of running fully offline with complete CLI capabilities without requiring an active license key. For sysadmins and homelab operators running headless post-processing scripts on Windows Server or Debian LXC containers, FileBot 4.7.7 remains a battle-tested staple of the automated media stack.


1. The Homelab Media Pipeline Architecture

In our DenverNerd homelab running on a Dell PowerEdge T20 server under Proxmox VE, media acquisition and post-processing follow an event-driven lifecycle:

[Indexers (Prowlarr)] 
        │
        ▼
[Download Clients (qBittorrent / Deluge)]
        │
        ▼ (Download Complete Event)
[Post-Processing Worker: FileBot 4.7.7 CLI]
        ├── Matches metadata against TheMovieDB & TheTVDB
        ├── Sanitizes release group tags and video codecs
        └── Moves clean files to OpenMediaVault NFS Storage
        │
        ▼
[Media Streaming Servers: Plex / Emby / Audiobookshelf]

By placing FileBot in the post-processing hook, incoming files are normalized before the media indexer scanner is even notified, guaranteeing 100% metadata accuracy on the first pass.


2. Java Runtime Environment Setup (JRE 10 x64)

FileBot is built on Java. Because v4.7.7 was engineered during the Java 8–10 era, running it on modern Java runtimes (Java 17 or Java 21) can occasionally trigger reflection or module access errors. The optimal runtime is JRE 10.0.1 (x64).

Windows Server Installation & Environment Configuration

  1. Download and extract the JRE 10 package to C:\Program Files\Java\jre-10.0.1.
  2. Configure system environment variables in PowerShell:
    [Environment]::SetEnvironmentVariable("JAVA_HOME", "C:\Program Files\Java\jre-10.0.1", "Machine")
    $currentPath = [Environment]::GetEnvironmentVariable("PATH", "Machine")
    [Environment]::SetEnvironmentVariable("PATH", "$currentPath;C:\Program Files\Java\jre-10.0.1\bin", "Machine")
    
  3. Verify Java runtime accessibility:
    java -version
    # Expected output: java version "10.0.1" 2018-04-17
    

3. Production CLI Recipes: Plex & Emby Formatting

FileBot features a powerful Groovy-based formatting engine. Rather than using the desktop GUI for each batch, you can execute automated CLI runs using the syntax below:

A. Movie Renaming Expression (Plex Compliant)

filebot -rename "D:\Downloads\Complete\Movies" \
  --db TheMovieDB \
  --output "M:\Media\Movies" \
  --format "{n} ({y})/{n} ({y}) - [{vf} {vc}]" \
  -non-strict \
  --action move

Output Structure:

M:\Media\Movies\
└── Inception (2010)\
    └── Inception (2010) - [1080p AVC].mkv

B. Television Series Renaming Expression

filebot -rename "D:\Downloads\Complete\TV" \
  --db TheTVDB \
  --output "M:\Media\TV Shows" \
  --format "{n}/Season {s.pad(2)}/{n} - {s00e00} - {t} - [{vf}]" \
  -non-strict \
  --action hardlink

Output Structure:

M:\Media\TV Shows\
└── Breaking Bad\
    └── Season 01\
        └── Breaking Bad - S01E01 - Pilot - [1080p].mkv

Tip

Use --action hardlink when seeding torrents! This creates a new directory link in your Plex library without consuming double disk space or halting upload seeding.


4. Automated Post-Processing Script for Download Clients

To automate this workflow inside qBittorrent or Deluge, configure the "Run External Program on Torrent Completion" hook to call this PowerShell wrapper:

# PostProcess-Media.ps1
param(
    [string]$TorrentPath,
    [string]$TorrentName,
    [string]$TorrentCategory
)

$LogFile = "C:\Logs\filebot-postprocess.log"
$FileBotExe = "C:\Program Files\FileBot\filebot.exe"

Add-Content -Path $LogFile -Value "[$(Get-Date -Format 'u')] Processing torrent: $TorrentName in Category: $TorrentCategory"

if ($TorrentCategory -eq "movies") {
    & $FileBotExe -rename $TorrentPath `
      --db TheMovieDB `
      --output "Z:\Storage\Plex\Movies" `
      --format "{n} ({y})/{n} ({y}) [{vf}]" `
      -non-strict `
      --action hardlink `
      --log-file $LogFile
}
elseif ($TorrentCategory -eq "tv") {
    & $FileBotExe -rename $TorrentPath `
      --db TheTVDB `
      --output "Z:\Storage\Plex\TV Shows" `
      --format "{n}/Season {s.pad(2)}/{n} - {s00e00} - {t}" `
      -non-strict `
      --action hardlink `
      --log-file $LogFile
}

5. Verified Local Downloads & Packages

All required installer packages and runtime binaries are mirrored locally on DenverNerd for preservation:

Asset Description Architecture / Format Direct Local Download
FileBot 4.7.7 64-bit Installer Windows x64 (.msi) FileBot_4.7.7_x64.msi
FileBot 4.7.7 32-bit Installer Windows x86 (.msi) FileBot_4.7.7_x86.msi
FileBot Portable + JRE 10 Bundle Standalone ZIP FileBot-jre-10.zip
Java Runtime Environment 10.0.1 Windows x64 Binary ZIP jre-10.0.1_windows-x64_bin.zip

With this setup, your media libraries remain cleanly formatted, your stream indexers never fail to find metadata, and your ingestion pipeline operates 100% autonomously without recurring license overhead.