I'm trying to extract info from a mkv file that contains multiple subtitles; one English srt file, and several languages within an idx/sub file. I want to be able to generate a report that has all Lanuage/String on one line. Currently mediainfo generates a single line for each sub.
Here is the line in my template file to report subs:
Text;Subtitles...........: %Language/String%\r\n
Here is the output:
Subtitles...........: English
Subtitles...........: Danish
Subtitles...........: Danish
Subtitles...........: Swedish
Subtitles...........: Norwegian
I want the output to look like this:
Subtitles...........: English Danish, Danish, Swedish, Norwegian
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
More exact code (kakadu266, using "General" field will create problem if you add some lines about Video and ad/or audio text), avoiding comma+space at the end:
I'm trying to extract info from a mkv file that contains multiple subtitles; one English srt file, and several languages within an idx/sub file. I want to be able to generate a report that has all Lanuage/String on one line. Currently mediainfo generates a single line for each sub.
Here is the line in my template file to report subs:
Here is the output:
I want the output to look like this:
Thanks.
Try out this code:
At the end is a comma and a space character
Thanks. I knew it was something simple that I overlooked.
More exact code (kakadu266, using "General" field will create problem if you add some lines about Video and ad/or audio text), avoiding comma+space at the end:
(at the end of "Text" and "Text_Middle" fields, there are a comma)
This code also add a final carriage return.
THANKS!!!!!
Not working, Anyone help for new code?
Please!