Custom Columns › Type+ (Media Type Groups) [v0.9]

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
FluxTorpedoe
Posts: 906
Joined: 05 Oct 2011 13:15

Re: Custom Columns › Type+ (Media Type Groups) [v0.9]

Post by FluxTorpedoe »

nerdweed wrote:So we have ~1.25% faster code with the shorted PV.
Yup, that's it! Intellectual satisfaction was worth fighting for! :twisted:

BTW, going with a "one-liner" regex for the configuration came with a bonus: the configuration script is much more tolerant with the definitions part.
It will still work if spaces are added or removed around "=" and if empty lines are added between types. (More safety-belts could easily be added but that would be a bit overkill...)
filehero wrote:After a while I will post "my" MDL.
Cool! Definition lists are more than welcome: the one I posted was pretty unrefined.

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Custom Columns › Type+ (Media Type Groups) [v0.9]

Post by TheQwerty »

FYI, Microsoft actually tried to introduce something like this in Windows with Perceived Types and the 'Kind' property/column.

This obviously fails for extensions which are not registered or are but without a PerceivedType key, but it might still be useful to incorporate into this script.

HTH

FluxTorpedoe
Posts: 906
Joined: 05 Oct 2011 13:15

Re: Custom Columns › Type+ (Media Type Groups) [v0.9]

Post by FluxTorpedoe »

Interesting read!
On one hand, it should be faster, so that's good.
On the other hand, it's far from perfect just by itself, e.g. "rar" is not considered "Compressed" and "zip" is considered "Folder"... (oooh I sense we could reopen an old thread on that topic!!! Just kidding :twisted: )
So, as you suggest, maybe some kind of load balancing could be done between this and Type+ (or other CC scripts), though I don't know whether the added computation wouldn't slow everything down in the end... I shall give it a try when I have a moment (can't now).

But thanks for the info, worth the consideration! :)

Have a nice day, 8)
Flux

Post Reply