# year, bitrate, cover

**URL:** <https://community.mp3tag.de/t/year-bitrate-cover/15304>\
**Category:** Support\
**Created:** [December 18, 2013, 12:27pm UTC](https://community.mp3tag.de/t/year-bitrate-cover/15304 "2013-12-18T12:27:36Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ketamine](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/k/439d5e/32.png) [@ketamine](https://community.mp3tag.de/u/ketamine)\
**Post date:** [December 18, 2013, 12:27pm UTC](https://community.mp3tag.de/t/year-bitrate-cover/15304/1 "2013-12-18T12:27:36Z")

</div>

Hi, need some help.

1. if %year% is like from 1992-2005 then old

2. if %\_bitrate% is greater then 1400-5000 then 24.bit

3. its possible to change cover size when inporting to file, for example original cover.jpg is 1500x1500 and stays same but cover in tag changes 600x600

Thanks.

---

<div class="post-metadata">

**Author:** ![stevehero](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stevehero/32/337_2.png) [@stevehero](https://community.mp3tag.de/u/stevehero)\
**Post date:** [December 18, 2013, 8:13pm UTC](https://community.mp3tag.de/t/year-bitrate-cover/15304/2 "2013-12-18T20:13:29Z")

</div>

1 to 2. Use F3 (filter) and use:

%year% GREATER "1991" AND %year% LESS "2006" 

%\_bitrate% GREATER "1400" AND %\_bitrate% LESS "5000"

Then use a format action. Although bitrate is not changed as it's read only. You can add a tag however with the format action which will not be read by most player.

I don't understand why you want to rid the year tag. Back it up to a field before you erase it forever. iTunes has smart playlist. Not sure about others.

1. No, but if you look around the forum this has been answered many times.

---

<div class="post-metadata">

**Author:** ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)\
**Post date:** [December 19, 2013, 7:43am UTC](https://community.mp3tag.de/t/year-bitrate-cover/15304/3 "2013-12-19T07:43:22Z")

</div>

> [@ketamine powder](#):
>
> Hi, need some help.
> 
> 1. if %year% is like from 1992-2005 then old ...

 **$if($geql(%YEAR%,1992),$if($leql(%YEAR%,2005),'year is in the range 1992..2005','year is greater than 2005'),'year is less than 1992') $ifgreater(%YEAR%,1991,$ifgreater(%YEAR%,2005,'year is greater than 2005','year is in the range 1992..2005'),'year is less than 1992')**

DD.20131219.0943.CET

---

<div class="post-metadata">

**Author:** ![ketamine](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/k/439d5e/32.png) [@ketamine](https://community.mp3tag.de/u/ketamine)\
**Post date:** [December 19, 2013, 12:07pm UTC](https://community.mp3tag.de/t/year-bitrate-cover/15304/4 "2013-12-19T12:07:37Z")

</div>

> [@stevehero](#):
>
> 1 to 2. Use F3 (filter) and use:
> 
> %year% GREATER "1991" AND %year% LESS "2006" 
> 
> %\_bitrate% GREATER "1400" AND %\_bitrate% LESS "5000"
> 
>  
> 
> Then use a format action. Although bitrate is not changed as it's read only. You can add a tag however with the format action which will not be read by most player.
> 
>  
> 
> I don't understand why you want to rid the year tag. Back it up to a field before you erase it forever. iTunes has smart playlist. Not sure about others.
> 
>  
> 1. No, but if you look around the forum this has been answered many times.

Thanks for your reply, some of my Fkeys dont work on my laptop after upgraded to win8... the main thing for "year" is i'dont want to get rid of it, but when i move my stuff to

```
[#8]
T=5
F=_DIRECTORY
1=E:\\\\Users\\\\yourname\\\\music\\\\lossless\\\\$ifgreater(%_bitrate%,1400,$ifgreater(%_birate%,5000,%_bitrate%,'24.bit'),)\$ifgreater(%YEAR%,1991,$ifgreater(%YEAR%,2005,%year%,'old'),'old')\\\\$caps2(%releasesource%)\\\\$lower($if2($if($eql(%genre%,'Techno'),Techno,),$if($eql(%genre%,'House'),House,))$if2($if($eql(%genre%,'Tech House'),House,),$if($eql(%genre%,'Deep House'),House,))$if2($if($eql(%genre%,'Acid House'),House,),$if($eql(%genre%,'Acid'),House,))$if2($if($eql(%genre%,'Progressive House'),House,),$if($eql(%genre%,'Minimal'),Minimal,))$if2($if($eql(%genre%,'Drum & Bass'),drum.and.bass,),$if($eql(%genre%,'Jungle'),drum.and.bass,))$if2($if($eql(%genre%,'Experimental'),Electronica,),$if($eql(%genre%,'Abstract'),Electronica,))$if2($if($eql(%genre%,'Ambient'),Electronica,),$if($eql(%genre%,'Dark Ambient'),Electronica,))$if2($if($eql(%genre%,'Drone'),Electronica,),$if($eql(%genre%,'Noise'),Electronica,))$if2($if($eql(%genre%,'Field Recording'),Electronica,),$if($eql(%genre%,'Industrial'),Electronica,))$if2($if($eql(%genre%,'IDM'),Electronica,),$if($eql(%genre%,'Leftfield'),Electronica,))$if2($if($eql(%genre%,'Dubstep'),Bass.Music,),$if($eql(%genre%,'Bass'),Bass.Music,))$if2($if($eql(%genre%,'Grime'),Bass.Music,),$if($eql(%genre%,'UK Garage'),Bass.Music,))$if2($if($eql(%genre%,'Juke'),Bass.Music,),$if($eql(%genre%,'Dub'),Dub.Techno,))$if2($if($eql(%genre%,'Dub Techno'),Dub.Techno,),$if($eql(%genre%,'Downtempo'),Electronica,))$if2($if($eql(%genre%,'Breaks'),Other.Misc,),$if($eql(%genre%,'Breakbeat'),Other.Misc,))$if2($if($eql(%genre%,'Glitch'),Other.Misc,),$if($eql(%genre%,'Electro'),Electro,)))\\%_DIRECTORY%\\\\

```

i dont need many suddirs from year.. since i dont have much oldies and the goal is sort all in one folder...

Thanks to DetlevD now i can sort my flacs by one click.

```
$if($geql(%YEAR%,1992),$if($leql(%YEAR%,2005),'year is in the range 1992..2005','year is greater than 2005'),'year is less than 1992')

$ifgreater(%YEAR%,1991,$ifgreater(%YEAR%,2005,'year is greater than 2005','year is in the range 1992..2005'),'year is less than 1992')

```

P.S

Yes i know my english is not on top level...

---

<div class="post-metadata">

**Author:** ![ketamine](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/k/439d5e/32.png) [@ketamine](https://community.mp3tag.de/u/ketamine)\
**Post date:** [December 19, 2013, 12:58pm UTC](https://community.mp3tag.de/t/year-bitrate-cover/15304/5 "2013-12-19T12:58:55Z")

</div>

About cover i have one more req.

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

1. remove all covers from tags 2) rename if 'cover;folder;front' to "something" and delete the original 'cover;folder;front' from folder

if its possible in one action, Thanks.

---

<div class="post-metadata">

**Author:** ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)\
**Post date:** [December 19, 2013, 3:16pm UTC](https://community.mp3tag.de/t/year-bitrate-cover/15304/6 "2013-12-19T15:16:25Z")

</div>

> [@ketamine powder](#):
>
> ... the goal is sort all in one folder ...

Hmm ... someone must have eagle eyes to read this long scripting expression, and I assume, this format expression will be maintenance-intensive.

Here comes a proposal, that might be more handsome.

1. Within the folder "%APPDATA%\Mp3tag\data" create a textfile with the name "GenreGroups.ini"  
(or just use a filename and folder of your wish).  
From within Mp3tag you can use the %MP3TAGAPPDATA% placeholder,  
which is the same as "%APPDATA%\Mp3tag".

2. Fill the new ini file with the following content:

3. Create an action.

Begin Action Group **GetSectionFromInifile** 

Action #1  
_Actiontype 14:_ **Import text file**  
_Field \_\_:_ **GG\_INI**  
_Filename:_ **$getEnv('MP3TAGAPPDATA')'\data\GenreGroups.ini'**

 

Action #2  
_Actiontype 5:_ **Format value**  
_Field \_\_\_\_\_\_:_ **GG**  
_Formatstring:_ **$regexp(%GG\_INI%,'^._[(.+?)]._?\n'$trim(%GENRE%)'\r.\*$','$1',1)**

 

Action #3  
_Actiontype 5:_ **Format value**  
_Field \_\_\_\_\_\_:_ **GG**  
_Formatstring:_ **$if($eql(%GG%,%GG\_INI%),,%GG%)**  
... or ...  
_Formatstring:_ **$if($eql(%GG%,%GG\_INI%),'unknown',%GG%)**

 

Action #4  
_Actiontype 9:_ **Remove fields**  
_Fields to remove (semicolon separated):_ **GG\_INI**

 

End Action Group **GetSectionFromInifile** (4 Actions)

 

After the action group has been run against a file, which contains already the GENRE tag-field, then the file get a new tag-field "GG", which contains the GenreGroup name, as it has been defined in the GenreGroups ini file as a section name.

 

Further on use the content from the tag-field GG for the other things, e. g. for creating a folderpath.

 

DD.20131219.1727.CET

---

<div class="post-metadata">

**Author:** ![ketamine](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/k/439d5e/32.png) [@ketamine](https://community.mp3tag.de/u/ketamine)\
**Post date:** [December 19, 2013, 6:17pm UTC](https://community.mp3tag.de/t/year-bitrate-cover/15304/7 "2013-12-19T18:17:08Z")

</div>

QUOTE (DetlevD @ Dec 19 2013, 18:16) \<{POST\_SNAPBACK}\>

Hmm ... someone must have eagle eyes to read this long scripting expression, and I assume, this format expression will be maintenance-intensive.

Here comes a proposal, that might be more handsome.

1. Within the folder "%APPDATA%\Mp3tag\data" create a textfile with the name "GenreGroups.ini"  
(or just use a filename and folder of your wish).  
From within Mp3tag you can use the %MP3TAGAPPDATA% placeholder,  
which is the same as "%APPDATA%\Mp3tag".

2. Fill the new ini file with the following content:

3. Create an action.

Begin Action Group **GetValueFromInifile** 

Action #1  
_Actiontype 14:_ **Import text file**  
_Field \_\_:_ **GG\_INI**  
_Filename:_ **$getEnv('MP3TAGAPPDATA')'\data\GenreGroups.ini'**

 

Action #2  
_Actiontype 5:_ **Format value**  
_Field \_\_\_\_\_\_:_ **GG**  
_Formatstring:_ **$regexp(%GG\_INI%,'^._[(.+?)]._?\n'$trim(%GENRE%)'\r.\*$','$1',1)**

 

Action #3  
_Actiontype 5:_ **Format value**  
_Field \_\_\_\_\_\_:_ **GG**  
_Formatstring:_ **$if($eql(%GG%,%GG\_INI%),,%GG%)**

 

Action #4  
_Actiontype 9:_ **Remove fields**  
_Fields to remove (semicolon separated):_ **GG\_INI**

 

End Action Group **GetValueFromInifile** (4 Actions)

After the action group has been run against a file, which contains already the GENRE tag-field, then the file get a new tag-field "GG", which contains the GenreGroup name, as ist has been defined in the GenreGroups ini file.

Further on use the content from the tag-field GG for the other things, e. g. for creating a folderpath.

DD.20131219.1727.CET

Now whole thing looks much better and easier to work and i can see the end of the line 🙂 Thanks a million!

---

<div class="post-metadata">

**Author:** ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)\
**Post date:** [February 9, 2026, 12:24pm UTC](https://community.mp3tag.de/t/year-bitrate-cover/15304/8 "2026-02-09T12:24:49Z")

</div>

Closed on February 9, 2026, 12:24pm UTC


