# How to filter on Bit rate?

**URL:** https://resource.dopus.com/t/how-to-filter-on-bit-rate/18048
**Category:** Help & Support
**Created:** [April 9, 2014, 9:17pm UTC](https://resource.dopus.com/t/how-to-filter-on-bit-rate/18048 "2014-04-09T21:17:19Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![chrisjj](https://resource.dopus.com/letter_avatar_proxy/v4/letter/c/a698b9/32.png) [@chrisjj](https://resource.dopus.com/u/chrisjj)
#### Post date: [April 9, 2014, 9:17pm UTC](https://resource.dopus.com/t/how-to-filter-on-bit-rate/18048/1 "2014-04-09T21:17:19Z")

</div>

How can I filter this list to show just files having a certain bit rate?

 ![](http://i.imgur.com/uKLm0D8.png)

Thanks.

---

<div class="post-metadata">

### Author: ![abr](https://resource.dopus.com/user_avatar/resource.dopus.com/abr/32/62448_2.png) [@abr](https://resource.dopus.com/u/abr)
#### Post date: [April 10, 2014, 2:41am UTC](https://resource.dopus.com/t/how-to-filter-on-bit-rate/18048/2 "2014-04-10T02:41:54Z")

</div>

First you can make a new filter (in -\> preferences -\> file operations -\> filter), with "music" (from the first dropdown menu) "equal" "Bitrate" "at least" "160", which you could call "bitrate".

Then use follwing button:

`set HIDEFILTERFOLDERS=*
Select FILTER="bitrate" HIDEUNSEL`

---

<div class="post-metadata">

### Author: ![chrisjj](https://resource.dopus.com/letter_avatar_proxy/v4/letter/c/a698b9/32.png) [@chrisjj](https://resource.dopus.com/u/chrisjj)
#### Post date: [April 10, 2014, 9:26am UTC](https://resource.dopus.com/t/how-to-filter-on-bit-rate/18048/3 "2014-04-10T09:26:58Z")

</div>

Thanks, but is there something more immediate than having to code a button for every new value on which I want to filter? What I want to do is just filter a column that I see on a particular value. I don't need a stored configuration or new button.

---

<div class="post-metadata">

### Author: ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)
#### Post date: [April 10, 2014, 10:17am UTC](https://resource.dopus.com/t/how-to-filter-on-bit-rate/18048/4 "2014-04-10T10:17:19Z")

</div>

A script could be written to show a menu of all bitrates in the current folder for selection.

Without using scripting, there may be a Windows Search query you could type in each time, but I'm not sure and it'd require typing the bitrate numbers each time, at least, rarher than giving a nice menu of possible values (unless you want to use a hardcoded list of choices, but then Abr's approach could already do that).

---

<div class="post-metadata">

### Author: ![chrisjj](https://resource.dopus.com/letter_avatar_proxy/v4/letter/c/a698b9/32.png) [@chrisjj](https://resource.dopus.com/u/chrisjj)
#### Post date: [April 10, 2014, 10:24am UTC](https://resource.dopus.com/t/how-to-filter-on-bit-rate/18048/5 "2014-04-10T10:24:24Z")

</div>

> [@leo](#):
>
> A script could be written to show a menu of all bitrates in the current folder for selection.

Thanks, but I don't want to see all. I want to "show just files having a certain bit rate".

> [@leo](#):
>
> Without using scripting, there may be a Windows Search query you could type in each time, but I'm not sure and it'd require typing the bitrate numbers each time

Typing in the bitrate each time is fine. That's what I want. If anyone know such a query that works in DOpus, please say.

---

<div class="post-metadata">

### Author: ![tbone](https://resource.dopus.com/user_avatar/resource.dopus.com/tbone/32/25726_2.png) [@tbone](https://resource.dopus.com/u/tbone)
#### Post date: [April 10, 2014, 10:54am UTC](https://resource.dopus.com/t/how-to-filter-on-bit-rate/18048/6 "2014-04-10T10:54:05Z")

</div>

You may try something like:

bitrate:=128kbps  
bitrate:\>127kbps

an in case this does not work, try:  
kind:music bitrate:=128kbps  
kind:music bitrate:\>127kbps

Make sure you use the "search" filed of opus, not the filter field. And to really make sure the search/filter you entered works, give windows explorer a try at first!  
If I enter "bitrate:\<193 kbps" into the explorer and the same expression into DO, DO shows nothing, while explorer shows matching files. I must think this is not intended(?), so your mileage may vary.. o)

Note: This search will go below the current folder, to prevent that, I guess another criteria is needed?

---

<div class="post-metadata">

### Author: ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)
#### Post date: [April 10, 2014, 12:59pm UTC](https://resource.dopus.com/t/how-to-filter-on-bit-rate/18048/7 "2014-04-10T12:59:49Z")

</div>

[quote="tbone"]Make sure you use the "search" filed of opus, not the filter field. And to really make sure the search/filter you entered works, give windows explorer a try at first!  
If I enter "bitrate:\<193 kbps" into the explorer and the same expression into DO, DO shows nothing, while explorer shows matching files. I must think this is not intended(?), so your mileage may vary.. o)[/quote]

When using the Search field (not anything else) Opus just passes the search string to Windows Search, so the results should generally be the same as what Explorer gives with the same thing.

Not always, though. The exact way Explorer uses Windows Search is not documented anywhere (that we have found, at least), so it may modify queries or add additional search parameters in ways which Opus doesn't.

---

<div class="post-metadata">

### Author: ![chrisjj](https://resource.dopus.com/letter_avatar_proxy/v4/letter/c/a698b9/32.png) [@chrisjj](https://resource.dopus.com/u/chrisjj)
#### Post date: [April 10, 2014, 1:08pm UTC](https://resource.dopus.com/t/how-to-filter-on-bit-rate/18048/8 "2014-04-10T13:08:53Z")

</div>

> [@leo](#):
>
> [quote="tbone"]The exact way Explorer uses Windows Search is not documented anywhere[/quote]

Same for Directory Opus, AFAICT. Please consider remedying this.

---

<div class="post-metadata">

### Author: ![chrisjj](https://resource.dopus.com/letter_avatar_proxy/v4/letter/c/a698b9/32.png) [@chrisjj](https://resource.dopus.com/u/chrisjj)
#### Post date: [April 10, 2014, 1:13pm UTC](https://resource.dopus.com/t/how-to-filter-on-bit-rate/18048/9 "2014-04-10T13:13:40Z")

</div>

My previous reply to this has not appeared, so I am reposting. If it offended a mod who deleted it, apologies, and please do say what caused offence.

[quote="tbone"]You may try something like:

bitrate:=128kbps[/quote]

Thanks. That works.

But it removes the columns I have added. Is there a way to disable this? I don't want to have to readd columns manually or save columns to some config each time I change them.

> [@tbone](#):
>
> If I enter "bitrate:\<193 kbps" into the explorer and the same expression into DO, DO shows nothing, while explorer shows matching files. I must think this is not intended(?), so your mileage may vary.. o)

Not reproduced here. I.e. both show matches.

---

<div class="post-metadata">

### Author: ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)
#### Post date: [April 10, 2014, 1:17pm UTC](https://resource.dopus.com/t/how-to-filter-on-bit-rate/18048/10 "2014-04-10T13:17:28Z")

</div>

> [@](#):
>
> Same for Directory Opus, AFAICT. Please consider remedying this.

All Opus does is pass the search string to Windows Search and waits for the results to come back. That is literally it. There's nothing to document. Opus exhibits the default behaviour of the Windows Search API (whatever that behaviour is; Microsoft have done a terrible job of documenting anything to do with Windows Search, so the details are vague, but we can't help there).

---

<div class="post-metadata">

### Author: ![chrisjj](https://resource.dopus.com/letter_avatar_proxy/v4/letter/c/a698b9/32.png) [@chrisjj](https://resource.dopus.com/u/chrisjj)
#### Post date: [April 10, 2014, 1:20pm UTC](https://resource.dopus.com/t/how-to-filter-on-bit-rate/18048/11 "2014-04-10T13:20:10Z")

</div>

> [@leo](#):
>
> [quote]Same for Directory Opus, AFAICT. Please consider remedying this.

All Opus does is pass the search string to Windows Search and waits for the results to come back. That is literally it. There's nothing to document.[/quote]

Thanks for the documentation 🙂 Please consider putting this in the Help.

---

<div class="post-metadata">

### Author: ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)
#### Post date: [April 10, 2014, 1:23pm UTC](https://resource.dopus.com/t/how-to-filter-on-bit-rate/18048/12 "2014-04-10T13:23:40Z")

</div>

> [@chrisjj](#):
>
> My previous reply to this has not appeared, so I am reposting. If it offended a mod who deleted it, apologies, and please do say what caused offence.

Don't worry, there's nothing wrong with what you posted and nothing was deleted on our side (even accidentally; I checked the logs and there haven't been any deletions).

> [@](#):
>
> Thanks for the documentation 🙂 Please consider putting this in the Help.

The help already says the Search field uses Windows Search. I don't know what you want us to add.

---

<div class="post-metadata">

### Author: ![chrisjj](https://resource.dopus.com/letter_avatar_proxy/v4/letter/c/a698b9/32.png) [@chrisjj](https://resource.dopus.com/u/chrisjj)
#### Post date: [April 10, 2014, 1:26pm UTC](https://resource.dopus.com/t/how-to-filter-on-bit-rate/18048/13 "2014-04-10T13:26:35Z")

</div>

> [@leo](#):
>
> Don't worry, there's nothing wrong with what you posted and nothing was deleted on our side (even accidentally; I checked the logs and there haven't been any deletions).

Thanks. I guess the post failed and I failed to spot it. Sorry to bother you.

> [@leo](#):
>
> The help already says the Search field uses Windows Search. I don't know what you want us to add.

The documentation you just gave.

---

<div class="post-metadata">

### Author: ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)
#### Post date: [April 10, 2014, 1:28pm UTC](https://resource.dopus.com/t/how-to-filter-on-bit-rate/18048/14 "2014-04-10T13:28:09Z")

</div>

> [@chrisjj](#):
>
> But it removes the columns I have added. Is there a way to disable this? I don't want to have to readd columns manually or save columns to some config each time I change them.

The format lock (packlock icon on the status bar, also accessible via the Folder menu, Format Lock item) can be turned on to prevent the columns changing when the folder changes.

You probably won't want to leave it on all the time, though, so it's not ideal if you just want it to stop the change when using the search field.

I've got an idea which might work, but I'll need some time to try it. I'll post again here with the details if it worked.

---

<div class="post-metadata">

### Author: ![chrisjj](https://resource.dopus.com/letter_avatar_proxy/v4/letter/c/a698b9/32.png) [@chrisjj](https://resource.dopus.com/u/chrisjj)
#### Post date: [April 10, 2014, 1:46pm UTC](https://resource.dopus.com/t/how-to-filter-on-bit-rate/18048/15 "2014-04-10T13:46:29Z")

</div>

> [@leo](#):
>
> The format lock (packlock icon on the status bar, also accessible via the Folder menu, Format Lock item) can be turned on to prevent the columns changing when the folder changes.

Thanks. That works.

> [@leo](#):
>
> You probably won't want to leave it on all the time, though

Yes I can see the problem - all folders now show the same.

> [@leo](#):
>
> I've got an idea which might work, but I'll need some time to try it. I'll post again here with the details if it worked.

Certainly I would prefer simply that search not change the columns. Accepting that might not suit some other users.

---

<div class="post-metadata">

### Author: ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)
#### Post date: [April 10, 2014, 7:10pm UTC](https://resource.dopus.com/t/how-to-filter-on-bit-rate/18048/16 "2014-04-10T19:10:26Z")

</div>

> [@leo](#):
>
> I've got an idea which might work, but I'll need some time to try it. I'll post again here with the details if it worked.

Here it is, a script add-in for Opus 11 which lets you do this without having to touch the format lock:

- [Search results format lock](https://resource.dopus.com/t/search-results-format-lock/18061/1)

(As a bonus, it can optionally add the Location column to the results. You can turn that off in its configuration window if you don't want it.)
