ptSend/bin/MediaInfoCLI/Plugin/Custom/Table by fields, standard (HTML).csv

53 lines
7.2 KiB
Plaintext
Raw Normal View History

2023-07-01 22:40:09 +08:00
;
;
;Bug: "Page_Begin", "Page_Middle" and "Page_End" sections are picked on lines 10, 11 and 12 regardless what is there. So it is better to leave them there.
;Bug: \r\n is not turned into a newline on "Page" entries.
;Bug: "Image" sections are not active, but should.
;
;
;
Page;(unused)\r\n
Page_Begin;<html><head><title>Media Info</title><style type="text/css">html,body,table{font-size:x-small} html,body{margin:0} html,body{padding:0} table{empty-cells:show} td.Name{white-space:pre-wrap} td.RowIndent{empty-cells:hide} td.RowIndent{background-color:white} td.RowIndent{border:hidden} td.RowHead{font-weight:bold}</style></head><body><table class="body" width="100%" border="1" cellpadding="1" cellspacing="0" style="border:0px"><caption></caption><col span="2" width="6"><col span="4"><col align="right"><col span="5" align="right" style="white-space:nowrap"><thead><tr align="center" style="white-space:normal"><th colspan="3">Kind</th><th>Name / #</th><th>Format (Family)</th><th>Lng</th><th align="center">Dimensions / Channels</th><th align="center">Resolution</th><th align="center">Sampling Frequency</th><th align="center">Bitrate (Mode)</th><th align="center">Duration</th><th align="center">Size</th><th>Extra</th></tr><tr bgcolor="black" height="4" style="border:hidden"><td colspan="99"></td></tr></thead>
Page_Middle;<tr bgcolor="#696969" height="4" style="border:hidden"><td colspan="99"></td></tr>
Page_End;<tr bgcolor="black" height="4"><td width="4"></td><td width="4"></td><td colspan="99"></td></tr></table></body></html>
;
File;(unused)\r\n
File_Begin;
File_Middle;(unused)\r\n
File_End;
;
General;<tr><td colspan="3" class="RowHead">File</td><td class="Name" colspan="8">'%FolderName%\'<br>'%FileName%.%FileExtension%'</td><td>$if(%FileSize%,%FileSize/String4%,<center>?</center>)</td><td><center>?</center></td></tr><tr bgcolor="#DFDFDF"><td class="RowIndent"></td><td colspan="2" class="RowHead">Cont</td><td class="Name">$if(%Title%,'%Title%',<i>#%StreamKindID%</i>)[<br>"%Title/More%"]</td><td>%Format%[ (%Format/Family%)]</td><td>$if(%Language%,%Language%,<center>-</center>)</td><td>[%Width%x%Height%pix] [AR:%AspectRatio%=~%AspectRatio/String%] [%Channel(s)% ch]</td><td>$if(%Resolution%,%Resolution/String%,<center>-</center>)</td><td>[%FrameRate/String%] [%SamplingRate/String%]</td><td>$if(%BitRate%,%BitRate/String%,<center>?</center>)[ %BitRate_Mode%]</td><td>$if(%Duration%,%Duration/String%,<center>?</center>)</td><td>$if(%StreamSize%,%StreamSize/String4%,<center>?</center>)</td><td>[%Format_Settings% ~ ]$if(%Cover%,Cover)</td></tr>
General_Begin;
General_Middle;(unused)\r\n
General_End;
;
Video;<tr><td class="RowIndent" colspan="2"></td><td class="RowHead">Video</td><td class="Name">$if(%Title%,'%Title%',<i>#%StreamKindID%</i>)</td><td>$if(%Format%,%Format%,?)[ (%Format/Family%)]</td><td>$if(%Language%,%Language%,<center>?</center>)</td><td>[%Width%x%Height%pix] [AR:%AspectRatio%=~%AspectRatio/String%] [%Channel(s)% ch]</td><td>$if(%Resolution%,%Resolution/String%,<center>?</center>)</td><td>$if(%FrameRate%,%FrameRate/String%,<center>?</center>)</td><td>$if(%BitRate%,%BitRate/String%,<center>?</center>)[ %BitRate_Mode%]</td><td>$if(%Duration%,%Duration/String%,<center>?</center>)</td><td>$if(%StreamSize%,%StreamSize/String4%,<center>?</center>)</td><td>[%Bits-(Pixel*Frame)%bpf ~ ][%ScanType% ~ ][%Format_Settings%]</td></tr>
Video_Begin;<tbody bgcolor="#FFBFBF">
Video_Middle;
Video_End;</tbody>
;
Audio;<tr><td class="RowIndent" colspan="2"></td><td class="RowHead">Audio</td><td class="Name">$if(%Title%,'%Title%',<i>#%StreamKindID%</i>)</td><td>$if(%Format%,%Format%,?)[ (%Format/Family%)]</td><td>$if(%Language%,%Language%,<center>?</center>)</td><td>%Channel(s)% ch</td><td>$if(%Resolution%,%Resolution/String%,<center>?</center>)</td><td>$if(%SamplingRate%,%SamplingRate/String%,<center>?</center>)</td><td>$if(%BitRate%,%BitRate/String%,<center>?</center>)[ %BitRate_Mode%]</td><td>$if(%Duration%,%Duration/String%,<center>?</center>)</td><td>$if(%StreamSize%,%StreamSize/String4%,<center>?</center>)</td><td>[%Format_Profile% ~ ][%Format_Settings%]</td></tr>
Audio_Begin;<tbody bgcolor="#BFFFBF">
Audio_Middle;
Audio_End;</tbody>
;
Text;<tr><td class="RowIndent" colspan="2"></td><td class="RowHead">Sub</td><td class="Name">$if(%Title%,'%Title%',<i>#%StreamKindID%</i>)</td><td>$if(%Format%,%Format%,?)[ (%Format/Family%)]</td><td>$if(%Language%,%Language%,<center>?</center>)</td><td>[%Width%x%Height%pix] [AR:%AspectRatio%=~%AspectRatio/String%] [%Channel(s)% ch]</td><td>$if(%Resolution%,%Resolution/String%,<center>?</center>)</td><td>$if(%FrameRate%,%FrameRate/String%,<center>-</center>)</td><td>$if(%BitRate%,%BitRate/String%,<center>?</center>)[ %BitRate_Mode%]</td><td>$if(%Duration%,%Duration/String%,<center>?</center>)</td><td>$if(%StreamSize%,%StreamSize/String4%,<center>?</center>)</td><td>[Summary:%Summary%]</td></tr>
Text_Begin;<tbody bgcolor="#BFBFFF">
Text_Middle;
Text_End;</tbody>
;
Chapters;<tr><td class="RowIndent" colspan="2"></td><td class="RowHead">Chaps</td><td class="Name">$if(%Title%,'%Title%',<i>#%StreamKindID%</i>)</td><td>$if(%Format%,%Format%,?)[ (%Format/Family%)]</td><td>$if(%Language%,%Language%,<center>?</center>)</td><td>[%Width%x%Height%pix] [AR:%AspectRatio%=~%AspectRatio/String%] [%Channel(s)% ch]</td><td>$if(%Resolution%,%Resolution/String%,<center>?</center>)</td><td>$if(%FrameRate%,%FrameRate/String%,<center>-</center>)</td><td>$if(%BitRate%,%BitRate/String%,<center>?</center>)[ %BitRate_Mode%]</td><td>$if(%Duration%,%Duration/String%,<center>?</center>)</td><td>$if(%StreamSize%,%StreamSize/String4%,<center>?</center>)</td><td>[%Total% entries]</td></tr>
Chapters_Begin;<tbody bgcolor="#FFFFBF">
Chapters_Middle;
Chapters_End;</tbody>
;
Image;<tr><td class="RowIndent" colspan="2"></td><td class="RowHead">Image</td><td class="Name">$if(%Title%,'%Title%',<i>#%StreamKindID%</i>)</td><td>$if(%Format%,%Format%,?)[ (%Format/Family%)]</td><td>$if(%Language%,%Language%,<center>?</center>)</td><td>[%Width%x%Height%pix] [AR:%AspectRatio%=~%AspectRatio/String%] [%Channel(s)% ch]</td><td>$if(%Resolution%,%Resolution/String%,<center>?</center>)</td><td>$if(%FrameRate%,%FrameRate/String%,<center>-</center>)</td><td>$if(%BitRate%,%BitRate/String%,<center>?</center>)[ %BitRate_Mode%]</td><td>$if(%Duration%,%Duration/String%,<center>?</center>)</td><td>$if(%StreamSize%,%StreamSize/String4%,<center>?</center>)</td><td>[%ScanType/String% ~ ][%Format_Settings%][Summary:%Summary%]</td></tr>
Image_Begin;<tbody bgcolor="#FFBFFF">
Image_Middle;
Image_End;</tbody>
;
Menu;<tr><td class="RowIndent" colspan="2"></td><td class="RowHead">Menu</td><td class="Name">$if(%Title%,'%Title%',<i>#%StreamKindID%</i>)</td><td>$if(%Format%,%Format%,?)[ (%Format/Family%)]</td><td>$if(%Language%,%Language%,<center>?</center>)</td><td>[%Width%x%Height%pix] [AR:%AspectRatio%=~%AspectRatio/String%] [%Channel(s)% ch]</td><td>$if(%Resolution%,%Resolution/String%,<center>?</center>)</td><td>$if(%FrameRate%,%FrameRate/String%,<center>?</center>)</td><td>$if(%BitRate%,%BitRate/String%,<center>?</center>)[ %BitRate_Mode%]</td><td>$if(%Duration%,%Duration/String%,<center>?</center>)</td><td>$if(%StreamSize%,%StreamSize/String4%,<center>?</center>)</td><td>[%ScanType/String% ~ ][%Format_Settings%]</td></tr>
Menu_Begin;<tbody bgcolor="#BFFFFF">
Menu_Middle;
Menu_End;</tbody>
;