Skip to main content

Check Stream Property

Check Stream Property (v1.0.0)

Check your media files for specific audio/video characteristics (like audio codec, language, quality, etc.) and route them accordingly. This plugin checks the FFprobe stream data collected by Tdarr.

View Source

Inputs:

Name: Stream Type 

Type: string

Tooltip:


Select which type of streams to check.

"all" - Check all streams in the file
"video" - Check only video streams
"audio" - Check only audio streams
"subtitle" - Check only subtitle streams
"data" - Check only data streams (metadata, timecode, etc.)

This helps you target specific stream types without having to check codec_type manually.

Name: Property To Check 

Type: string

Tooltip:


What characteristic of your media file do you want to check?

Common examples:
• codec_name - What audio/video format is used (like aac, mp3, h264, etc.)
• width - Video width in pixels
• height - Video height in pixels
• channels - Number of audio channels (2 for stereo, 6 for 5.1 surround, etc.)
• sample_rate - Audio quality (like 44100, 48000)
• bit_rate - Quality/file size (higher = better quality, larger file)
• tags.language - Audio/subtitle language (like eng, spa, fre)
• codec_type - Whether it's "video", "audio", or "subtitle"

Enter the exact property name you want to check.

Name: Values To Match 

Type: string

Tooltip:


What values are you looking for? Separate multiple values with commas.

Examples based on what you're checking:
• For audio formats: aac,mp3,ac3
• For video formats: h264,h265,hevc
• For languages: eng,spa,fre
• For video sizes: 1920 (for width) or 1080 (for height)
• For audio channels: 2,6,8
• For stream types: audio,video,subtitle

The plugin will look for files that have any of these values.

Name: Condition 

Type: string

Tooltip:


How should the plugin match your values?

"includes" - Find files that HAVE any of your values
Example: If checking for "aac,mp3" audio, files with aac OR mp3 will match

"not_includes" - Find files that DON'T have any of your values
Example: If checking for "aac,mp3" audio, only files with neither aac nor mp3 will match

"equals" - Find files where the property exactly matches your values
Example: If checking width for "1920", only files that are exactly 1920 pixels wide will match

"not_equals" - Find files where the property doesn't exactly match any of your values
Example: If checking width for "1920", files that are NOT exactly 1920 pixels wide will match

Most users want "includes" to find files that have what they're looking for.

Outputs:

1: File has matching stream property
2: File does not have matching stream property