# Request: HTML export script with discnumber, disc-tracks, disc-length

**URL:** <https://community.mp3tag.de/t/request-html-export-script-with-discnumber-disc-tracks-disc-length/59100>\
**Category:** Support\
**Created:** [November 18, 2022, 3:45pm UTC](https://community.mp3tag.de/t/request-html-export-script-with-discnumber-disc-tracks-disc-length/59100 "2022-11-18T15:45:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rabiator](https://community.mp3tag.de/user_avatar/community.mp3tag.de/rabiator/32/42_2.png) [@Rabiator](https://community.mp3tag.de/u/Rabiator)\
**Post date:** [November 18, 2022, 3:45pm UTC](https://community.mp3tag.de/t/request-html-export-script-with-discnumber-disc-tracks-disc-length/59100/1 "2022-11-18T15:45:22Z")

</div>

Hello, I'm looking for an export-script, that lists the selected tracks in this mannor:

```auto
counter artist album disc tracks time tTracks tTime
    001 abc titlle 01 01 nn hh:mm:ss   
    002 bcd titlle 01 01 nn hh:mm:ss   
                  titlle 02 01 nn hh:mm:ss
                             02 nn hh:mm:ss
                             03 nn hh:mm:ss nnn hh:mm:ss
    003 cde title 01 01 nn hh:mm:ss   
    004 def title 01 01 nn hh:mm:ss
    005 ghi title 01 01 nn hh:mm:ss   
                  title 02 01 nn hh:mm:ss
                             02 nn hh:mm:ss
                             03 nn hh:mm:ss nnn hh:mm:ss
total albums n.nnn total discs n.nnn total time ddd:hh:mm:ss

```

I tagged every track with it's entire disc-number (format: nn) in a tag-field. In my order samplers (album-artist: Various Artists) are normal albums, all tracks have disc-numbers, too.

It would be very nice if cover-images would be included, maybe in the column with the album-title.

I had a look at the scripts

html\_dano\_florian album list (with cover, no tracks)

and

html\_dano album list itunes style

and tried to modify them. "html\_dano album list itunes style" is some kind of close to the list I'm after, but I did not manage to nest the loops and manage the counter(s).

Thank you for listening.

Peace

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [November 18, 2022, 4:15pm UTC](https://community.mp3tag.de/t/request-html-export-script-with-discnumber-disc-tracks-disc-length/59100/2 "2022-11-18T16:15:07Z")

</div>

> [@Rabiator](#):
>
> I did not manage to nest the loops and manage the counter(s).

You probably have to loop by artist\>album\>cdnumber\>track  
Dano's script uses %\_counter% as trigger to modify the style in each row. You either would have to abstain from that feature or define a counter on your own.  
The loop for artist would feature the artist and the counter.  
The loop for album would output the album name.  
The loop for disc would output the discnumber.  
The loop for track would loop through the tracks without output.  
But when the track loop is done, you would output totaltracks and totaltime.  
Please see the documentation on placeholders

> **[Format Strings and Placeholders – Mp3tag Documentation](https://docs.mp3tag.de/format/)**
>
> Documentation on format strings and placeholders to describe the structure of file names and imported data. Mp3tag is the universal Tag Editor.

All further questions would then be much easier to answer with concrete code examples.

---

<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:29pm UTC](https://community.mp3tag.de/t/request-html-export-script-with-discnumber-disc-tracks-disc-length/59100/3 "2026-02-09T12:29:58Z")

</div>


