MediaInfoWDX V0.01

I write this plugin because I can't find any 64bit media content plugin.  
MediaInfo has very good dll on it, so I just write a very simple plugin
to connect to mediainfo to pull the info.

Installation:
1. Install the plugin as other content plugin.
2. Go to http://mediainfo.sourceforge.net/en
   Download DLL version of MediaInfo.  
   Put the MediaInfo.Dll into plugin folder or any searchable folder.
   For x64 system, rename MediaInfo.Dll to MediaInfoX64.Dll and put the MediaInfo.Dll into plugin folder.

Folder structure
MediaInfoWDX
|- MediaInfoWDX.wdx
|- MediaInfoWDX.wdx64
|- Fields.txt
|- MediaInfo.dll
|- MediaInfoX64.dll
|- pluginst.inf
|- Readme.txt

Copyright
MediaInfo: (LGPLv2+ license) please see http://mediainfo.sourceforge.net/en.  
MediaInfoWDX (c) Chao Liu


Format of Fields.txt

First Line:  Total number of fields followed by delimiter character, not space in between.
Second Line: Header
Third Line and the rest: Field Lines, one field per line.  The line order will be shown in TC in the same order.  
                         Each line has eight columns. Each one seplated by defined delimiter character.
                         They must in this order
show	stream_t	info_text	fieldtypes	fieldflag	sortorder	FieldName	fieldunit

show: 0 or 1, 0 skipped, will not displayed.  1 will be parsed the line.
stream_t and info_text: The code from MediaInfo. Please see MediaInfo doc for more info.  The plugin passes them to MediaInfo.dll to get values.
fieldtypes: The field type of field. MediaInfo.dll only return string, so ft_stringw will never failed. 
            Currently, it only support ft_stringw, ft_numeric_64, ft_numeric_floating, ft_datetime
fieldflag: always is 0 for current version.
sortorder: 1 for ascending (a..z, 1..9), or -1 for descending (z..a, 9..0).
FieldName: The field name, it must not contain delimiter character, and . (dot) | (vertical line) : (colon)
fieldunit: The field supported units. The separator is the vertical dash(|)(Alt+0124). 
           As field names, unit names may not contain a vertical dash, a dot, or a colon.
           Currently only support: bps|Kbps|Mbps|KMG, Byte|KByte|MByte|GByte|KiB|MiB|GiB|KMG, 
           ms|h:mm:ss|h:mm:ss.fff|m:ss.fff|h' h 'mm' m 'ss' s', limited on others

Example 1: Tab delimiter and show first and last fields
2	
show	stream_t	info_text	fieldtypes	fieldflag	sortorder	Name-Dispaly	fieldunit
1	0	132	ft_stringw	0	1	Album_General	
0	1	114	ft_numeric_64	0	1	Width_Video	pixel
0	1	120	ft_numeric_64	0	1	Height_Video	pixel
1	0	82	ft_numeric_64	0	1	Duration_General	ms|h:mm:ss|h:mm:ss.fff|m:ss.fff|h' h 'mm' m 'ss' s'


Example 2: comma delimiter and show last two fields
2,
show,stream_t,info_text,fieldtypes,fieldflag,sortorder,Name-Dispaly,fieldunit
0,0,132,ft_stringw,0,1,Album	General,
1,1,114,ft_numeric_64,0,1,Width	Video,pixel
1,1,120,ft_numeric_64,0,1,Height	Video,pixel

For easy way, just change included Fields.txt.  Update the total number of fields and the first character of each field line.


Version:

version 0.05
Change the format of Field.txt.

version 0.04
Add Field.txt, the field definition file.

version 0.02
Fixed unable to load MediaInfo.dll.

version 0.01
The initial version
It doesn't support all info from MediaInfo.