Search for music length:>hh:mm:ss


  1. Posts : 101
    Windows 10
       #1

    Search for music length:>hh:mm:ss


    Hi

    Can anyone tell me how to search in a Windows 10 window for all music files longer than (say) ten minutes?

    .


    I have got this part ...

    "kind:=music length:>xyz"

    ..but I can't find what format the 'xyz' should be in.


    .

    When viewing folders in "details" view; there is a parameter called "length", which displays song lengths in hh:mm:ss format, but that format doesn't work in searches (unsurprising, as it contains colons)

    Every other format I have tried doesn't help
    (e.g.
    . descriptive text ("10 minutes");
    . decimal fractions of a day ("0.006"),
    . and various other delineators between the hh mm and ss).

    .

    the preset searches length:Very short; Short; Medium; Long; Very Long" don't suit me.

    .
    .

    This article talks about a parameter called "duration"
    Advanced Query Syntax (Windows)

    ...but, again, the syntax for using it is not given (also, that parameter doesn't display ANY values when enabled in the Details view of folders).

    .
    .


    I can just do a *.* search, then rank the results ascending by length, but (1) that takes forever to complete on a large number of files, and (2) it is pretty tedious.


    .
    .


    While I'm here, a related question - it seems that some of my mp3s have erroneous data in their headers (bit rate and file length/duration). Is there some way to edit that?

    TIA
      My Computer

  2. dalchina's Avatar
    Posts : 30,107
    Win 10 Pro (1903)
       #2

    Hi, file explorer is unexpectedly helpful here:
    Search for music length:>hh:mm:ss-untitled.png

    You'll be aware you can add length as a column in the file explorer pane- thus you can organise your search results:
    Search for music length:>hh:mm:ss-1.jpg

    Advanced Query Syntax (Windows)
    - that article, whilst generally true, is a bit out of date. I haven't yet seen anything later.

    HowtoGeek on search does include length:
    Learning Windows Search: Use Advanced Query Syntax to Find Everything

    Properties can be used to edit metadata, (although not so many as shown by default) but not basic attributes like that.
    Search for music length:>hh:mm:ss-1.jpg

    Suggest running such files through a converter.
      My Computers


  3. Posts : 101
    Windows 10
    Thread Starter
       #3

    thanks for the reply, but I am no further forward, as a result.

    the preset searches length:Very short; Short; Medium; Long; Very Long" don't suit me.
    As I said, none of the preset searches suit what I am trying to do. Are we saying that it is impossible to search for any Lengths/Duration (ranges) other than those preconfigured in the preset searches?

    The HowToGeek article only talks about those the preset searches again, when it comes to the length parameter.

    I'm looking for a (user configurable) search syntax.
      My Computer

  4. dalchina's Avatar
    Posts : 30,107
    Win 10 Pro (1903)
       #4

    Sorry that was useless. I believe you are therefore looking for a 3rd party program. Please post back when you've found one... good luck.
      My Computers

  5. Lottiemansion's Avatar
    Posts : 91
    Windows 10 Home 64 Bit
       #5

    Hi,

    Look here for a sort of answer: -

    Is it possible to search for music files by duration?
      My Computer


  6. Posts : 101
    Windows 10
    Thread Starter
       #6

    It's an awesome answer! :)

    He says "Length" is measured in tenths-of-a-microsecond (10e^-7).

    So, ten minutes is 6000000000
    It checks out. How stupid of me not to think of that.

    furrfu

    thanks


    /edit
    still looking for a way to edit erroneous mp3 header data (not bog-standard ID3v1 / ID3v2 stuff), if someone knows a way. Would rather not re-encode 'em.
    Last edited by BobSter2; 03 Oct 2017 at 17:19.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 19:13.
Find Us




Windows 10 Forums