# HTML Export Albumcounter

**URL:** https://community.mp3tag.de/t/html-export-albumcounter/3481
**Category:** Support
**Created:** [June 22, 2006, 7:07am UTC](https://community.mp3tag.de/t/html-export-albumcounter/3481 "2006-06-22T07:07:58Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Gondrikeshem](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/258eb7/32.png) [@Gondrikeshem](https://community.mp3tag.de/u/Gondrikeshem)
#### Post date: [June 22, 2006, 7:07am UTC](https://community.mp3tag.de/t/html-export-albumcounter/3481/1 "2006-06-22T07:07:58Z")

</div>

Hallo, ich möchte in meiner HTML Datei die Anzahl der Alben und eventuell die Anzahl der  
verschiedenen Interpreten anzeigen lassen. (Ich benutze die mte - Datei von squonk, wo in  
einer Kopfzeile jeweils die Anzahl der Tracks, Gesamtdauer aller Tracks und der Festplattenbedarf  
angezeigt werden) Kann mir jemand helfen ? Gondrikeshem

Translation by moderation:

Hello, I would like to have the number of albums and maybe the number of the various artists in my HTML file. (I am using the MTE file from squonk, which displays the number of tracks, the total play time of all tracks and the size in the column headers). Can somebody help me? Gondrikeshem

---

<div class="post-metadata">

### Author: ![SquallLeonhart38](https://community.mp3tag.de/user_avatar/community.mp3tag.de/squallleonhart38/32/116_2.png) [@SquallLeonhart38](https://community.mp3tag.de/u/SquallLeonhart38)
#### Post date: [June 22, 2006, 9:37am UTC](https://community.mp3tag.de/t/html-export-albumcounter/3481/2 "2006-06-22T09:37:32Z")

</div>

You can make this for artists:  
$loop(%artist%,1)$loopend()%\_max\_counter% $ifgreater(%\_max\_counter%,1,Artists,Artist)

And this for the album loop:  
$loop(%album%)$loopend()%\_max\_counter% $ifgreater(%\_max\_counter%,1,Albums,Album)

They are simple loops and you can also create subloops.

---

<div class="post-metadata">

### Author: ![Gondrikeshem](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/258eb7/32.png) [@Gondrikeshem](https://community.mp3tag.de/u/Gondrikeshem)
#### Post date: [June 22, 2006, 11:34am UTC](https://community.mp3tag.de/t/html-export-albumcounter/3481/3 "2006-06-22T11:34:57Z")

</div>

Great, that is exactly what I meant !!! Thank you for your quick answer !!! Gondrikeshem

---

<div class="post-metadata">

### Author: ![asokaa2006](https://community.mp3tag.de/user_avatar/community.mp3tag.de/asokaa2006/32/130_2.png) [@asokaa2006](https://community.mp3tag.de/u/asokaa2006)
#### Post date: [June 23, 2006, 8:13am UTC](https://community.mp3tag.de/t/html-export-albumcounter/3481/4 "2006-06-23T08:13:56Z")

</div>

In english can you tell what problem you have it and is resolved, seems interesting

---

<div class="post-metadata">

### Author: ![Gondrikeshem](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/258eb7/32.png) [@Gondrikeshem](https://community.mp3tag.de/u/Gondrikeshem)
#### Post date: [July 1, 2006, 12:43pm UTC](https://community.mp3tag.de/t/html-export-albumcounter/3481/5 "2006-07-01T12:43:53Z")

</div>

I am using a modified mte file from squonk. The html file lists the used space,duration and  
the number of tracks and I wanted the number of artists and albums to be listed, too. The code  
from SquallLeonhart38 works great. If you are interested in more information, please post again.  
Greets Gondrikeshem

---

<div class="post-metadata">

### Author: ![Sebastian\_Mares](https://community.mp3tag.de/user_avatar/community.mp3tag.de/sebastian_mares/32/9285_2.png) [@Sebastian\_Mares](https://community.mp3tag.de/u/Sebastian_Mares)
#### Post date: [July 2, 2006, 6:44am UTC](https://community.mp3tag.de/t/html-export-albumcounter/3481/6 "2006-07-02T06:44:10Z")

</div>

If you are posting in the German forums, please stick to German. 🙂 I am moving this to the English section and translating the original post to English.

---

<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:19pm UTC](https://community.mp3tag.de/t/html-export-albumcounter/3481/7 "2026-02-09T12:19:47Z")

</div>


