# Too long list

**URL:** https://community.mp3tag.de/t/too-long-list/8090
**Category:** Export
**Created:** [March 17, 2009, 12:51am UTC](https://community.mp3tag.de/t/too-long-list/8090 "2009-03-17T00:51:03Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![olpelu](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/o/5daacb/32.png) [@olpelu](https://community.mp3tag.de/u/olpelu)
#### Post date: [March 17, 2009, 12:51am UTC](https://community.mp3tag.de/t/too-long-list/8090/1 "2009-03-17T00:51:03Z")

</div>

Folder structure:

Artist or in some cases name of the collection album series (like hard dance mania)  
-Album

I just would like to take that artist -foldername and list those once. Now I have loop like

$loop(%\_parent\_directory%)  
%\_parent\_directory%  
$loopend()

But it makes as many entries as there are mp3:s on that folder, so how I can get just one entry per artist folder...

---

<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: [March 17, 2009, 4:24am UTC](https://community.mp3tag.de/t/too-long-list/8090/2 "2009-03-17T04:24:18Z")

</div>

You can write something like this:  
$loop(%\_parent\_directory%,1)%\_parent\_directory%  
$loopend()

... or this:  
$loop(%artist%,1)%artist%  
$loopend()

DD.20090317.0623.CET

---

<div class="post-metadata">

### Author: ![olpelu](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/o/5daacb/32.png) [@olpelu](https://community.mp3tag.de/u/olpelu)
#### Post date: [March 17, 2009, 6:04am UTC](https://community.mp3tag.de/t/too-long-list/8090/3 "2009-03-17T06:04:43Z")

</div>

Thank you, that worked just like I wanted.
