MediaInfoWDX 2.01

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
chaoliu
Junior Member
Junior Member
Posts: 2
Joined: 2018-06-22, 01:37 UTC

MediaInfoWDX 2.01

Post by *chaoliu »

MediaInfoWDX call MediaInfo.dll to pull the media information.

I can't post the link because I'm new to the forum.
It is in totalcmd dot net
User avatar
tuska
Power Member
Power Member
Posts: 3740
Joined: 2007-05-21, 12:17 UTC

Post by *tuska »

chaoliu
Junior Member
Junior Member
Posts: 2
Joined: 2018-06-22, 01:37 UTC

Thank you.

Post by *chaoliu »

Thank you.
TW
Senior Member
Senior Member
Posts: 383
Joined: 2005-01-19, 13:35 UTC

Post by *TW »

nice, thanks.
licenced and happy TC user since 1994 (#11xx)
User avatar
Hacker
Moderator
Moderator
Posts: 13052
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: MediaInfoWDX 2.01

Post by *Hacker »

Hi,
I can't get MediaInfoWDX to show any other field than default.

TC 9.50 x64, Windows 10 v1903 x64, MediaInfoWDX 2.03, MediaInfo DLL v19.09 (x86 and x64).
1. Install MediaInfoWDX
2. Extract MediaInfo.dll and MediaInfo64.dll into plugin dir
3. Open Fields.cfg and replace all "0" in first column with "1", save, close
4. Restart TC.
5. Configure custom columns, add new column, choose MediaInfoWDX
6. None of the fields I changed to "1" are shown, e.g. Accompaniment_General (first field in file Fields.cfg) is not shown.

What am I doing wrong?

TIA
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
ZRm.
Junior Member
Junior Member
Posts: 2
Joined: 2020-02-06, 11:52 UTC

Re: MediaInfoWDX 2.01

Post by *ZRm. »

Same here. :shock:

Any other plugin or file manager to see the movie file info in columns after the file name?
example:

Name Long Fps Res Bitrate Ext Size
M738 1:45 24fps 4k 70 mov 2gb



:roll:
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: MediaInfoWDX 2.01

Post by *Dalai »

2Hacker
Do you see a file MediaInfoWDX.cfg in the same location as your wincmd.ini? According to the plugin's history, this file is supposed to be created (by the plugin if I understand it correctly) by making a copy of Fields.cfg.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
Hacker
Moderator
Moderator
Posts: 13052
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: MediaInfoWDX 2.01

Post by *Hacker »

Dalai,
file MediaInfoWDX.cfg in the same location as your wincmd.ini
Oh, so this is the one one has to edit, now it works! Thank you!

chaoliu,
The Readme.txt could really use some work. Sometimes it talks about Fields.cfg, sometimes about Fields.txt, the explanations are lacking - there is no explanation of N, n, T, t, no explanation of what happens if we leave out the path blacklist/whitelist, etc.

Thanks again Dalai!
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: MediaInfoWDX 2.01

Post by *Dalai »

2Hacker
So it seems that this file doesn't get copied by the plugin, contrary to what its Readme says...

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
Hacker
Moderator
Moderator
Posts: 13052
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: MediaInfoWDX 2.01

Post by *Hacker »

Dalai,
It is copied upon first invokation of the plugin (e.g. listing its fields in the custom columns configuration dialog), so that's true. However, it's nowhere written that this is the file that needs to be edited. After editing, saving and executing cm_unloadplugins, the new settings are loaded upon use.

Thanks
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
netsonicyxf
Junior Member
Junior Member
Posts: 6
Joined: 2021-09-01, 01:52 UTC

Re: MediaInfoWDX 2.01

Post by *netsonicyxf »

User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: MediaInfoWDX 2.01

Post by *Dalai »

2netsonicyxf
M4A isn't among the default extensions this plugin processes. But you can change that:
  1. Use menu Configuration > Change Settings Files Directly. This opens wincmd.ini and wcx_ftp.ini in Notepad. You can close the Notepad window with wcx_ftp.ini as we don't need that.
  2. In Notepad, search for a line containing MediaInfoWDX.wdx in section [ContentPlugins]
    Example from my wincmd.ini

    Code: Select all

    38=%COMMANDER_PATH%\Plugins\MediaInfoWDX\MediaInfoWDX.wdx
    38_detect=EXT="AIF"|EXT="AU"|EXT="SND"|EXT="MID"|EXT="RMI"|EXT="MED"|EXT="MP3"|EXT="RA"|EXT="WAV"|EXT="VQF"|EXT="AAC"|EXT="APE"|EXT="FLAC"|EXT="MP4A"|EXT="CDA"|EXT="RM"|EXT="RMVB"|EXT="WMV"|EXT="AVI"|EXT="MPG"|EXT="MPEG"|EXT="MOV"|EXT="MP4"|EXT="MKV"|EXT="WebM"
  3. Remember the number used at the line's beginning; it's 38 in my example above.
  4. Look for a line contaning <remembered_number>_detect (38_detect in my example) and add the following to the end of it:

    Code: Select all

    | EXT="M4A"
    The full line now looks like this:

    Code: Select all

    38_detect=EXT="AIF"|EXT="AU"|EXT="SND"|EXT="MID"|EXT="RMI"|EXT="MED"|EXT="MP3"|EXT="RA"|EXT="WAV"|EXT="VQF"|EXT="AAC"|EXT="APE"|EXT="FLAC"|EXT="MP4A"|EXT="CDA"|EXT="RM"|EXT="RMVB"|EXT="WMV"|EXT="AVI"|EXT="MPG"|EXT="MPEG"|EXT="MOV"|EXT="MP4"|EXT="MKV"|EXT="WebM"|EXT="M4A"
  5. Save the wincmd.ini in Notepad.
  6. Restart TC or open a new instance and it should work.
All of this would be much easier if TC had a proper Plugins Manager ...

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6449
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: MediaInfoWDX 2.01

Post by *Horst.Epp »

Dalai wrote: 2023-10-17, 11:29 UTC
All of this would be much easier if TC had a proper Plugins Manager ...
Using the popular TC Plugin Manager, it is very easy :D
I never do anything with the native TC functions.
https://totalcmd.net/plugring/tc_plugman.html
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
Post Reply