Get subtitle list using mediainfo in Windows

I'm using mediainfo in order to see the media information about a mkv file.

I see that it give me the details about subtitle like:

Text #1
ID                                       : 3
Format                                   : PGS
Muxing mode                              : zlib
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : The same subtitle format used on BDs/HD-DVDs
Language                                 : English
Default                                  : Yes
Forced                                   : No

and so on...

It is possible, for custom template to have like:

SUBTiTLE: .............. English
SUBTiTLE: .............. French

and so on ?

If so, how ?

I tried to put only for Text:

$if(%Language%,Language : %Language%)

but it seems that not working


Solution 1:

MediaInfo.exe "--Output=Text;%ID%: %Format%$if(%Language/String%, SUBTiTLE: .............. %Language/String%)\r\n" File.mkv

Output:

5: UTF-8
6: VobSub SUBTiTLE: .............. French
7: VobSub SUBTiTLE: .............. English
8: VobSub SUBTiTLE: .............. French

Jérôme, developer of MediaInfo