OpusMediaInfo v6.x-alpha (Feedback needed)

Here's the new version of OpusMediaInfo.

latest alpha: Download from here

I'm posting it here so I don't make the script's main post impossible to follow.

It would really help if you could test it and help find any issues before the final version.

Changes:

  • Uses an .exe helper for both MediaInfo and a SQLite database.
  • The database now takes file size and modification date into account before checking the QuickHash.
  • New way to format infotip values: you can now provide a fourth value specifying a conversion/format. The syntax is pretty similar to Evaluator's As function, although it's mainly geared toward the kind of values MediaInfo commonly returns (especially dates). Example: {File_Created_Date||Created: %1|date} : the fourth part tells it to convert the value to the date type, using the local format.
  • Each infotip now has a dropdown to easily include values. Once you select an entry, it's copied to the clipboard, ready to paste wherever you need it.
  • If a category other than script is specified for a column, it will now be added to both categories.
  • Various other code changes.

Requirements:

  • Windows 10 1803 or higher (due to the intercommunication with the helper).
  • Directory Opus 13.25 or higher.

Notes:

  • You need to manually copy the helper to /dopusdata\User Data\OpusMediaInfo\mediainfo_helper.exe. You can download it here. (The script will also check for it and show you a dialog with relevant links.)
  • You need MediaInfo.dll, which you can download from here (choose the 64-bit DLL version without the installer). You can place it alongside the helper, or if you already have it somewhere on your system, there's an option in the Script Options to set its path.
  • If you need localization (non-English users), place the corresponding .csv language files alongside the .dll or the helper. It's a good idea to do this before the database starts being populated.
  • Since the database has been changed to sqlite, you no longer need Access installed, but a new database will be created (the old one can't be imported at the moment).

About the new database

There's currently no way to import your previous database, but if needed, it should be fairly easy to do (even by asking an AI) with some script or similar to import an .mdb database into a sqlite .db.

Keep the following in mind if you decide to do so:

  • The new format includes a table called media, with the columns path, quickhash, filesize, modified, report, and updated_at.
  • filesize is the file size in bytes, stored as text.
  • modified is the file's modification date converted to UTC and stored as text in YYYYMMddMHHmmss format (yes, ms included).
  • report is the normalized MediaInfo output.
  • updated_at is an integer containing Unix seconds (it doesn't have any real use yet, but probably will later).
  • The stored report has been changed so that each "group" (General, Audio, etc.) is now an array, including General (which used to be an object and therefore required special handling in several places).

Thanks for this!
Win11 25H2 DOpus 13.25.3
The script works great for my .mp4 and .flac files, but crashes if I select an .mkv file when first adding columns.
I have no Idea how to troubleshoot.

Edit: I just noticed the select columns interface flashes up when it crashes.

I've tested more; it affects .mkv files randomly some work, some don't. I cannot get another filetype to do it.

So I got the script output for when it fails by setting Script log to debug. Not sure how to post it, if you need it.

Found it, I think

<#%log_line_prefix_text #%log_line_prefix_background> 18/09/2026 4:47 PM OpusMediaInfo: </#> <b><i><#%log_error><a href="#1>Error in dlg.js at line 2016, position 2</a></#></i></b>
<#%log_line_prefix_text #%log_line_prefix_background> 18/09/2026 4:47 PM OpusMediaInfo: </#> <b><i><#%log_error><a href="#1>Unable to get property 'trim' of undefined or null reference (0x800a138f)</a></#></i></b>

Just set the script log to DEBUG by opening the options via the About button.
No need to copy the message from the DOpus log file itself.

How did you manage to trigger that error? It's an error I didn't think was possible. It's related to using custom regexes for columns, but in your case, you somehow get to that part with something that isn't a string.

Whatever it is, it should also affect lower versions (v5). Just try v6.0.1. But I'd love to know how to trigger the issue.

v6.0.2-alpha:

  • Fixed an issue when previewing a file in the config dialog.
  • Now you can set the Parse Speed value, via the Options dialog. Default is 0.5.
  • Other minor fixes.

NOTE 1: You need to update mediainfo_helper.exe to v1.0.1 in order to use this.
NOTE 2: If you change the Parse Speed value, keep in mind that the cache won't be magically cleaned; you need to do it manually.

Changes in MediaInfoHelper:

  • Fixed an issue when parsing wildcards for purging the database.

Hello,

this error/warning occurred while reading files containing special characters with v6.0.2-alpha and mediainfo_helper.exe v1.0.1.

WARNING => 13 - Subway To Sally - Die Braut & Der Bräutigam - Schrei.flac:report: mediainfo: 
cannot open file
WARNING => 08 - Korn - K@#ø%! - Life Is Peachy.flac:report: mediainfo: cannot open file
WARNING => 02 - Ill Niño - If You Still Hate Me - Revolution Revolución.flac: Max timeout reached. Skipped.

Thanks.

Already reported. Please update to v6.0.4 and v1.0.2. Thanks for the feedback.