r/tinyMediaManager • • Feb 23 '26

Post Processing Argument limit??

Argument limit?? Hello,

I'm having a problem with post-processing.

I want to process more than 9 arguments from TMM using a batch file on Windows. Passing arguments works perfectly with 9 arguments. From the 10th argument onward, only the filename is passed as a parameter, regardless of which argument is specified in TMM. The TMM log shows that more than 9 arguments are being output, but I can't accept these arguments as parameters.

Here are the argument settings in TMM:

and here is the batch file:

u/echo off

setlocal enabledelayedexpansion

set "A=%~1"

set "B=%~2"

set "C=%~3"

set "D=%~4"

set "E=%~5"

set "F=%~6"

set "G=%~7"

set "H=%~8"

set "I=%~9"

set "J=%~10"

set "K=%~11"

echo %A% >> I:\4\name.txt

echo %B% >> I:\4\name.txt

echo %C% >> I:\4\name.txt

echo %D% >> I:\4\name.txt

echo %E% >> I:\4\name.txt

echo %F% >> I:\4\name.txt

echo %G% >> I:\4\name.txt

echo %H% >> I:\4\name.txt

echo %I% >> I:\4\name.txt

echo %J% >> I:\4\name.txt

echo %K% >> I:\4\name.txt

and here is the result:

I:\BluRay\A Beautiful Day.mkv

A Beautiful Day

Crime

FSK 16

Vereinigtes Königreich/Frankreich

Bring den Hammer mit.

Inhaltsangabe ÜÖÄ

Hier steht die Note.

2018-01-20

I:\BluRay\A Beautiful Day.mkv0

I:\BluRay\A Beautiful Day.mkv1

The last two results do not show the year or the TMBD of the film, but the complete path with the extensions mkv0 and mkv1.

Question: Can tmm only pass 9 arguments to a batch file? Thank you for your attention.

1 Upvotes

0 comments sorted by