View Issue Details

IDProjectCategoryView StatusLast Update
0001389OpenMPTUser Interfacepublic2023-04-28 17:38
ReporterAlex TEHb Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Summary0001389: "Properties" instruments in the console menu of the tree view file browser.

It would be desirable in the console menu of the conductor of OMPT (the left part below) to have the Properties button.
In it it is enough "File size:", "Quantity of samples:", "Samples bit:".

When at instruments similar names, it is not really convenient to open the third-party browser and to watch that Flute 1 has size 45Kb, and Flute 2 - 3.4Mb.
Agree that it is sometimes important, and on sounding not to oredelit...

I understand that for each format it is necessary to do the media-info... Therefore, I do not insist...

TagsNo tags attached.
Has the bug occurred in previous versions?
Tested code revision (in case you know it)


has duplicate 0001301 closed Sound file properties from tree view 


Saga Musix

Saga Musix

2020-11-20 18:58

administrator   ~0004514

It might even be possible to show trivial information such as filesize in a tooltip, without having to open the right-click menu. Anything else should probably not be done automatically though, as it can be potentially a very slow operation to first fully load the instrument and then show its sample properties.

Alex TEHb

Alex TEHb

2020-11-21 02:36

reporter   ~0004515

Initially, I wanted the size to be shown near the file in a column. But it takes the place on the screen, and it and so is not enough. Now I understand that also time for a miscalculation of all tools will be spent...
I will be grateful if you make file size as described!

Saga Musix

Saga Musix

2023-03-22 21:56

administrator   ~0005635

As a first step, OpenMPT 1.31 will show the file size (and modification date) in the status bar when selecting a file in the sample browser.

There won't be any preview of file properties such as bit depth and length for now, as the only way for OpenMPT to retrieve this information is to fully decode the file, which can take a long time with long samples. This would either have to be done in a background thread (so showing the information might take a while), or only by clicking on a button to reveal that information (but then you could just quickly load the samples into the module with Ctrl+Enter to get the same results).

Alex TEHb

Alex TEHb

2023-03-22 23:50

reporter   ~0005636

I think in our dialogs we should decide on the type of file.
If it is a melody module (.IT .MPTM) - file size and date are enough.
And if it is a separate file instrument (or sample) - I would like to have bitrate...



2023-04-28 06:13

reporter   ~0005699

Maybe there could be an option to have MPT precache the info, say, at opening the Samples/Instruments folder, and saved to a txt file, in the same way the plugins are ready at each session, with the availability of rescanning. This would allow the user to choose to wait.

Alex TEHb

Alex TEHb

2023-04-28 08:45

reporter   ~0005700

If the cache file differs from others (expansion or the name), and will accelerate loading, then it will be plus! And OMPT will use it, and the person will be able to find the necessary information in one file list.

Saga Musix

Saga Musix

2023-04-28 17:38

administrator   ~0005702

Eventually, some cache might be put in place but this is not a simple task (and would still have to run in a background thread), hence don't expect it anytime soon.

Issue History

Date Modified Username Field Change
2020-11-20 06:22 Alex TEHb New Issue
2020-11-20 18:47 Saga Musix Summary "Properties" instruments in the console menu of the conductor. => "Properties" instruments in the console menu of the tree view file browser.
2020-11-20 18:58 Saga Musix Note Added: 0004514
2020-11-21 02:36 Alex TEHb Note Added: 0004515
2023-03-22 21:56 Saga Musix Note Added: 0005635
2023-03-22 23:50 Alex TEHb Note Added: 0005636
2023-04-27 17:14 Saga Musix Relationship added has duplicate 0001301
2023-04-28 06:13 harbinger Note Added: 0005699
2023-04-28 08:45 Alex TEHb Note Added: 0005700
2023-04-28 17:38 Saga Musix Note Added: 0005702