Quantcast
Channel: voidtools forum
Viewing all articles
Browse latest Browse all 2710

Everything 1.5 • Re: How to update Property (length:) ?

$
0
0
ext:mp3;mp4 addcol:A A-label:="Length" A:=$length:?$length::GET_PROPERTY_FROM_DISK($name:,length)
- works, though time is in ms (rather then hh:mm:ss)
(i'm sure that can be "fixed")

ext:mp3;mp4 addcol:A A-label:="Length" A:=$length:?$length::"*"GET_PROPERTY_FROM_DISK($name:,length)
If length is indexed for a file, the indexed length will be reported in the A-column ("Length").
If it is not, the length will be read from the file on disk and reported in the asme A-column.

To distinguish between indexed and non-indexed properties, do something like adding a "*" in front of the length:
- well, i already had Length column displaying, which does display .mp4 lengths
& the addcol: adds (another) Length column, so in that way, it is obvious where the numbers came
from, but yes, the '*' otherwise makes it obvious



-


ext:mp3;mp4 addcol:A A-label:="Length" A:=FORMATDURATION(GET_PROPERTY($filename:,"length"))
- formatted hh:mm:ss, but did NOT gather Length of (un-indexed) .mp3
- [mp3] works if property:Length is NOT Indexed
(but at that point, it is no different from adding the Length column & lazy-loading...)


in any case, it is awkward.
if you're doing something, regularly or whatnot, where above works, that is fine.

what i was looking for is where a Property is not included in an 'Include only files:' filter,
that there was an easy way to "simply Gather it".
more for those 1 of's, where you sway, oh it would be nice to know...
so you filter your files, .mp3's in this case, which do not ordinarily display Length,
& that is fine, but then you, since in this case you do want it (Length of .mp3),
you do a ReadExtendedProperties, & it simply goes out & gathers, & you say... cool.


as far as that goes, for me, it's easier to have a separate Instance that does not have
the Property included, add the Length column & simply (lazy-load) results as desired


bookmark: suppose you could use above as a bookmark/filter, then set/invoke...
(but still not as simple as Ctrl+Shift+E...)


-


I'll note that on this board, 'h : m : s' (sans the spaces) causes an 'M' smilie to display, h:m:s.
More generally; '<char> : <alpha> : <char>', '. : x : .', the middle <alpha> is smilie'd.

Statistics: Posted by therube — Mon Jul 13, 2026 3:25 pm



Viewing all articles
Browse latest Browse all 2710

Latest Images

Trending Articles



Latest Images