OPCaption Guide
OP Documentation

Custom Caption Guide

Clean Telegram leech captions using file metadata, movie/series information, audio languages, source quality, codecs, subtitles and HTML formatting.

Recommended template
<b>{name} {year} {resolution} {ott} {source_quality} {lang_display} {audio} {codec} {shortsub} - OP{extension}</b>
Habeebi 2026 1080p SLIV WEB-DL DUAL [Hindi + Tamil] DDP5.1 H.264 ESub - OP.mkv
๐Ÿ“ File Information9 variables
{filename}

Final complete filename used for the upload.

{upload_filename}

Filename actually sent to Telegram after upload-side processing.

{file_name}

Full file name.

{raw_name}

Filename without its extension.

{extension}

File extension including the dot.

{size}

Readable file size.

{file_size}

Readable file-size alias.

{duration}

Detected media duration.

{mime_type}

Detected MIME type of the file.

๐ŸŽฌ Title / Movie / Series7 variables
{name}

Clean detected movie or series name.

{title}

Clean title alias.

{year}

Detected release year.

{season}

Detected season number.

{episode}

Detected episode number.

{chapter}

Detected chapter number when available.

{part}

Detected part number when available.

๐Ÿ“บ Resolution / Source8 variables
{resolution}

Detected video resolution.

{media_resolution}

Actual decoded MediaInfo resolution. Useful when the filename says 720p but the encoded frame is 540p.

{quality}

Legacy OP compatibility variable; normally contains the resolution.

{source_quality}

Detected release/source quality.

{source}

Source-quality alias when available.

{ott}

Detected OTT or streaming-platform tag.

{ott_name}

Readable OTT/provider name, for example Sun NXT, Netflix or Sony LIV.

{DS4K}

Returns DS4K when that release tag exists.

๐ŸŽฅ Video Information6 variables
{codec}

Detected video codec.

{vcodec}

Video codec variable.

{lib}

Compatibility alias for video codec.

{bit}

Detected video bit depth.

{hdr}

Detected HDR / Dolby Vision information.

{dynamic_range}

Detected dynamic-range information.

๐Ÿ”Š Audio / Language9 variables
{languages}

Readable detected audio-language list.

{lang_display}

Smart language display: single language normally, multiple languages in [ ], empty when unavailable.

{audios}

Legacy OP audio-language list.

{shortlang}

Short language label.

{audio}

Combined audio codec and channel information.

{acodec}

Short audio codec value.

{audio_codec}

Detected audio codec.

{audio_channels}

Detected audio channel layout.

{audio_bitrate}

Detected audio bitrate when available.

๐Ÿ’ฌ Subtitle Information2 variables
{subtitles}

Detected subtitle languages.

{shortsub}

Short subtitle label.

๐Ÿท Release Information2 variables
{release_group}

Detected release / encode / uploader group.

{group}

Alias for release group.

๐Ÿ“จ Original Source Information4 variables
{prefilename}

Original filename before final upload processing.

{precaption}

Original Telegram/source caption when available.

{file_caption}

Original file/source caption information.

{link}

Associated source link when available.

๐Ÿ” Checksum1 variables
{md5_hash}

MD5 checksum calculated from the actual file. Calculated only when this variable is used.

๐Ÿงช Variable Output Examples
Example sourceHabeebi.2026.1080p.SLIV.WEB-DL.DUAL.DDP5.1.H.264-ExtraFlix.Pw.mkv
{name}Habeebi
{title}Habeebi
{year}2026
{resolution}1080p
{media_resolution}540p
{quality}1080p
{source_quality}WEB-DL
{source}WEB-DL
{ott}SLIV
{ott_name}Sony LIV
{languages}Hindi + Tamil
{lang_display}[Hindi + Tamil]
{audios}Hindi, Tamil
{shortlang}DUAL
{audio}DDP5.1
{acodec}DDP
{audio_codec}DDP
{audio_channels}5.1
{audio_bitrate}640kbps
{codec}H.264
{vcodec}H.264
{lib}H.264
{bit}10bit
{hdr}HDR
{dynamic_range}HDR
{subtitles}English
{shortsub}ESub
{release_group}ExtraFlix.Pw
{group}ExtraFlix.Pw
{extension}.mkv
{raw_name}Habeebi.2026.1080p.SLIV.WEB-DL.DUAL.DDP5.1.H.264-ExtraFlix.Pw
{size}2.45 GB
{file_size}2.45 GB
{duration}2h 08m 16s
{mime_type}video/x-matroska
{season}1
{episode}03
{chapter}12
{part}P02
{DS4K}DS4K
{md5_hash}e10adc3949ba59abbe56e057f20f883e

These values are examples only. Actual output depends on filename and media metadata. Optional values that cannot be detected are normally left empty.

๐Ÿง  Important Differences
{resolution}Filename-first: 720p / 1080p / 2160p
{media_resolution}Actual encoded/decode height from MediaInfo
{quality}Legacy OP compatibility; follows filename-first resolution.
{source_quality}WEB-DL / WEBRip / BluRay / REMUX / HDTV / DVDRip
{languages}Hindi + Tamil
{lang_display}Haryanavi / [Hindi + Tamil] / blank
{audios}Hindi, Tamil
{shortlang}Hindi / DUAL / Multi3
{subtitles}English, Hindi
{shortsub}ESub / MSub / Sub
{codec}H.264 / H.265 / AV1
{audio}AAC2.0 / DDP5.1 / DTS5.1 / TrueHD7.1
{release_group}ExtraFlix.Pw / MeGusta
Smart optional cleanup

{lang_display} shows one language normally, multiple languages inside brackets, and nothing when unavailable. Existing [{languages}] templates get the same smart behavior automatically. Empty optional groups such as ({year}), [{ott}] or [Subs: {shortsub}] disappear cleanly instead of leaving empty punctuation.

Supported OTT tags & aliases

SNXT Sun NXT ยท ZEE5 ยท DSNP Disney+ Hotstar ยท JHS JioHotstar ยท HS Hotstar ยท JIO/JC JioCinema ยท SLIV/SONY/LIV Sony LIV ยท AHA ยท HOICHOI ยท MNX ManoramaMAX ยท ALTT ยท MXP MX Player ยท LGP Lionsgate Play ยท NF Netflix ยท AMZN Prime Video ยท ATVP Apple TV+ ยท MAX/HMAX ยท HULU ยท PCOK Peacock ยท PMTP Paramount+ ยท CR Crunchyroll ยท STAN ยท CRAVE/CRAV ยท STARZ ยท SHO Showtime ยท MGM+ ยท AMC+ ยท BRITBOX ยท MUBI ยท TUBI ยท PLEX ยท VIKI ยท VIU ยท IQIYI ยท WETV ยท BILIBILI ยท RAKUTEN. {ott} returns the short tag; {ott_name} returns the readable provider name.

Compatibility note

{quality} stays compatible with older OP captions and normally means resolution. Use {source_quality} when you specifically want WEB-DL, BluRay, REMUX, etc.

โœจ HTML Formatting
Bold<b>Text</b>
Alternative bold<strong>Text</strong>
Italic<i>Text</i>
Alternative italic<em>Text</em>
Underline<u>Text</u>
Alternative underline<ins>Text</ins>
Strike<s>Text</s>
Alternative strike<strike>Text</strike> or <del>Text</del>
Monospace<code>Text</code>
Preformatted<pre>Text</pre>
Spoiler<tg-spoiler>Text</tg-spoiler>
Quote<blockquote>Text</blockquote>
Link<a href="https://example.com">Open Link</a>
Telegram HTML tips

Press Enter for a new line. Do not use <br>. Spoilers use <tg-spoiler>...</tg-spoiler>.

Correct: <b>{name}</b>   Wrong: </b>{name}</b>

๐Ÿ“ Ready-to-Copy Templates8 templates
Template 1

Clean Release Name

<b>{name} {year} {resolution} {ott} {source_quality} {lang_display} {audio} {codec} {shortsub} - OP{extension}</b>
Example / note
Habeebi 2026 1080p SLIV WEB-DL DUAL [Hindi + Tamil] DDP5.1 H.264 ESub - OP.mkv
Template 2

Movie Information

<b>๐ŸŽฌ {name} ({year})</b>

๐Ÿ“บ <code>{resolution}</code> โ€ข <code>{source_quality}</code>
๐Ÿ“ก <code>{ott}</code>
๐ŸŒ <code>{languages}</code>
๐Ÿ”Š <code>{audio}</code>
๐ŸŽฅ <code>{codec}</code>
โœจ <code>{hdr}</code>

๐Ÿ“ฆ <b>Size:</b> <code>{size}</code>
โฑ <b>Duration:</b> <code>{duration}</code>
Example / note
๐ŸŽฌ Habeebi (2026)

๐Ÿ“บ 1080p โ€ข WEB-DL
๐Ÿ“ก SLIV
๐ŸŒ Hindi + Tamil
๐Ÿ”Š DDP5.1
๐ŸŽฅ H.264
โœจ HDR

๐Ÿ“ฆ Size: 2.45 GB
โฑ Duration: 2h 08m 16s
Template 3

TV / Series

<b>๐ŸŽฌ {name}</b>

๐Ÿ“บ Season: <code>{season}</code>
๐ŸŽž Episode: <code>{episode}</code>
๐Ÿ“ Quality: <code>{resolution} {source_quality}</code>
๐Ÿ“ก OTT: <code>{ott}</code>
๐ŸŒ Languages: <code>{languages}</code>
๐Ÿ”Š Audio: <code>{audio}</code>
๐Ÿ’ฌ Subs: <code>{shortsub}</code>

๐Ÿ“ฆ Size: <code>{size}</code>
Example / note
๐ŸŽฌ Stranger Things

๐Ÿ“บ Season: 5
๐ŸŽž Episode: 03
๐Ÿ“ Quality: 1080p WEB-DL
๐Ÿ“ก OTT: NF
๐ŸŒ Languages: English + Hindi
๐Ÿ”Š Audio: DDP5.1
๐Ÿ’ฌ Subs: ESub

๐Ÿ“ฆ Size: 794.33 MB
Template 4

Technical Release Info

<b>๐ŸŽฌ {name} {year}</b>

<blockquote>๐Ÿ“ Resolution: {resolution}
๐Ÿ“€ Source: {source_quality}
๐Ÿ“ก OTT: {ott}
๐ŸŽฅ Video: {codec} {bit}
โœจ Dynamic Range: {dynamic_range}
๐Ÿ”Š Audio: {audio}
๐ŸŒ Languages: {languages}
๐Ÿ’ฌ Subtitles: {subtitles}
๐Ÿท Group: {release_group}</blockquote>

๐Ÿ“ฆ <code>{size}</code>
Example / note
๐ŸŽฌ Habeebi 2026

Resolution: 1080p
Source: WEB-DL
OTT: SLIV
Video: H.264 10bit
Dynamic Range: HDR
Audio: DDP5.1
Languages: Hindi + Tamil
Subtitles: English
Group: ExtraFlix.Pw

๐Ÿ“ฆ 2.45 GB
Template 5

File Verification

<b>๐Ÿ“ {filename}</b>

๐Ÿ“ฆ Size: <code>{size}</code>
โฑ Duration: <code>{duration}</code>
๐Ÿงฉ Type: <code>{mime_type}</code>

๐Ÿ” MD5:
<code>{md5_hash}</code>
Example / note
Use this only when checksum verification is needed. {md5_hash} reads the complete file.
Template 6

Minimal Brand

<b>{name} {year} {resolution} {source_quality} - OP{extension}</b>
Example / note
Habeebi 2026 1080p WEB-DL - OP.mkv
Template 7

OTT Release

<b>{name} {year}</b>

๐Ÿ“บ {resolution} โ€ข {source_quality}
๐Ÿ“ก {ott}
๐ŸŒ [{languages}]
๐Ÿ”Š {audio}
๐ŸŽฅ {codec}
๐Ÿ’ฌ {shortsub}

<b>OP</b>
Example / note
A compact OTT-focused caption with language, audio, codec and subtitle details.
Template 8

Series Release Name

<b>{name} S{season}E{episode} {resolution} {ott} {source_quality} {shortlang} {audio} {codec} {shortsub} - OP{extension}</b>
Example / note
Stranger Things S5E03 1080p NF WEB-DL DUAL DDP5.1 H.265 ESub - OP.mkv
๐Ÿ’ก Quick Tips
{name}Clean movie / series title
{resolution}720p / 1080p / 2160p
{source_quality}WEB-DL / BluRay / REMUX
{media_resolution}Actual encoded height when needed
{ott_name}Readable provider name
{languages}Hindi + Tamil style
{lang_display}Smart: Haryanavi / [Hindi + Tamil] / blank
{shortlang}DUAL / Multi3 style
{audio}DDP5.1 / AAC2.0
{codec}H.264 / H.265 / AV1
{shortsub}ESub / MSub / Sub
{release_group}Release / encoder group
{md5_hash}Use only when checksum is needed
Copied