Color filters for MP3 bitrates

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
costanza
Posts: 25
Joined: 09 Apr 2009 21:19

Color filters for MP3 bitrates

Post by costanza »

Please pardon me if this has been addressed before; a quick search of the forum didn't turn up anything that matched my question.

I've seen others ask about special columns for MP3 bitrate info, but I'm a 'list-view' guy and don't really care about columns. And I love color filters. Can't imagine living without them now.

I realize this would involve opening each file, which will slow things down, so I can understand why it's not one of the built-in filters.

My question is: Can this functionality be achieved with scripting? I've never tinkered with XY scripting. I wouldn't expect anyone to necessarily tell me how to do it, I'd just like to know if it's possible. (If it is possible, and you happen to know how to do it, I certainly wouldn't turn down the help!)

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Color filters for MP3 bitrates

Post by serendipity »

costanza wrote:Please pardon me if this has been addressed before; a quick search of the forum didn't turn up anything that matched my question.

I've seen others ask about special columns for MP3 bitrate info, but I'm a 'list-view' guy and don't really care about columns. And I love color filters. Can't imagine living without them now.

I realize this would involve opening each file, which will slow things down, so I can understand why it's not one of the built-in filters.

My question is: Can this functionality be achieved with scripting? I've never tinkered with XY scripting. I wouldn't expect anyone to necessarily tell me how to do it, I'd just like to know if it's possible. (If it is possible, and you happen to know how to do it, I certainly wouldn't turn down the help!)
With current color filter its not possible. But if your aim is to spot mp3 with certain bitrates quickly then there might be a workaround using tags>labels.
You can write a script and label all your mp3s with different colors based on its bitrate. This is one-time thing only, unless you keep changing bitrates often and you want this to reflect in your files.
Hint:

Code: Select all

//Select a mp3 file and run this. 
//If bitrate is between 128-193 kbit/s then label 1 is applied
  $brate= property ("bitrate");
  IF($brate > 128000 && $brate < 193000) {
  tag 1;
  }
Note: The property can change on your OS, mine is XP SP3.
Let me know if you need more help.

Post Reply