# export a list of all complete albums

**URL:** <https://community.mp3tag.de/t/export-a-list-of-all-complete-albums/16085>\
**Category:** Support\
**Created:** [August 31, 2014, 3:29pm UTC](https://community.mp3tag.de/t/export-a-list-of-all-complete-albums/16085 "2014-08-31T15:29:21Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![parafux](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/e36b37/32.png) [@parafux](https://community.mp3tag.de/u/parafux)\
**Post date:** [August 31, 2014, 3:29pm UTC](https://community.mp3tag.de/t/export-a-list-of-all-complete-albums/16085/1 "2014-08-31T15:29:21Z")

</div>

hi there,  
i have a very huge mp3 collection. all complete albums have got a tag called COMPLETE\_ALBUM=1 All incomplete have set this to 0 or don't have the tag at all.  
How can i now create a list with all complete albums in the following form:

artist1

```
- album1
- album2
- album3

```

artist2

```
- album1

```

artist3

```
- album1
- album2

```

.....

---

<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:** [August 31, 2014, 3:51pm UTC](https://community.mp3tag.de/t/export-a-list-of-all-complete-albums/16085/2 "2014-08-31T15:51:59Z")

</div>

Apply a filter with  
%COMPLETE\_ALBUM% IS 1

Create a report with:

```
$filename(csv,utf-16)$loop(%artist%)%artist%
$loop(%album%)- %album%
$loopend()$loopend()
```

---

<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:** [August 31, 2014, 3:54pm UTC](https://community.mp3tag.de/t/export-a-list-of-all-complete-albums/16085/3 "2014-08-31T15:54:07Z")

</div>

> [@parafux](#):
>
> ... How can i now create a list with all complete albums in the following form: ...

~~**01: $filename($getEnv('USERPROFILE')'\Desktop\Mp3tag.Report.txt',UTF-8)  
02: $loop($if2(%ALBUMARTIST%,%ARTIST%),1)$if2(%ALBUMARTIST%,%ARTIST%)  
03: $loop(%ALBUM%,1)$ifgreater(%COMPLETE\_ALBUM%,0,''%ALBUM%,)  
04: $loopend()$loopend()**~~

DD.20140831.2002.CEST

---

<div class="post-metadata">

**Author:** ![parafux](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/e36b37/32.png) [@parafux](https://community.mp3tag.de/u/parafux)\
**Post date:** [August 31, 2014, 4:26pm UTC](https://community.mp3tag.de/t/export-a-list-of-all-complete-albums/16085/4 "2014-08-31T16:26:43Z")

</div>

QUOTE (ohrenkino @ Aug 31 2014, 19:51) \<{POST\_SNAPBACK}\>

Apply a filter with

%COMPLETE\_ALBUM% IS 1

Create a report with:

```
$filename(csv,utf-16)$loop(%artist%)%artist%
$loop(%album%)- %album%
$loopend()$loopend()<!--QuoteEnd--></div><!--QuoteEEnd-->

```

this does unfortunately create a list that gives for every song of a album an album entry with the album name. i only want to see the album once per artist

but thx

---

<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:** [August 31, 2014, 4:31pm UTC](https://community.mp3tag.de/t/export-a-list-of-all-complete-albums/16085/5 "2014-08-31T16:31:30Z")

</div>

> [@parafux](#):
>
> this does unfortunately create a list that gives for every song of a album an album entry with the album name. i only want to see the album once per artist
> 
> but thx

So, modify the code then to...

```
$filename(csv,utf-16)$loop(%artist%,1)%artist%
$loop(%album%,1)- %album%
$loopend()$loopend()

```

---

<div class="post-metadata">

**Author:** ![parafux](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/e36b37/32.png) [@parafux](https://community.mp3tag.de/u/parafux)\
**Post date:** [August 31, 2014, 4:34pm UTC](https://community.mp3tag.de/t/export-a-list-of-all-complete-albums/16085/6 "2014-08-31T16:34:55Z")

</div>

> [@DetlevD](#):
>
> **01: $filename($getEnv('USERPROFILE')'\Desktop\Mp3tag.Report.txt',UTF-8)** 
> 
> 02: $loop($if2(%ALBUMARTIST%,%ARTIST%),1)$if2(%ALBUMARTIST%,%ARTIST%)  
> 03: $loop(%ALBUM%,1)$ifgreater(%COMPLETE\_ALBUM%,0,''%ALBUM%,)  
> 04: $loopend()$loopend()
> 
> Example output: Yello Baby One Second Pocket Universe You Gotta Say Yes To Another Excess Yes Close to the Edge Fragile The Yes Album
> 
> DD.20140831.2002.CEST

this does also not work, i geht mostly a correct list, but lots of entries at the end and the very first entry have wrong artist names  
if i dont use the filter first i get almost an empty list

---

<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:** [August 31, 2014, 5:00pm UTC](https://community.mp3tag.de/t/export-a-list-of-all-complete-albums/16085/7 "2014-08-31T17:00:06Z")

</div>

> [@parafux](#):
>
> this does also not work, i geht mostly a correct list, but lots of entries at the end and the very first entry have wrong artist names  
> if i dont use the filter first i get almost an empty list

Note: The output result depends on the input data ... and on the export script, of course!

External filtering not needed.

**$filename($getEnv('USERPROFILE')'\Desktop\Mp3tag.Report.txt',UTF-8)$loop(%ARTIST%,1)$ifgreater(%COMPLETE\_ALBUM%,0,%ARTIST%$char(13)$char(10),)$loop(%ALBUM%,1)$ifgreater(%COMPLETE\_ALBUM%,0,''%ALBUM%$char(13)$char(10),)$loopend()$loopend()**

Note: This is a one line script.

Output example:

**Beatles Album A Album B Album C Depeche Mode Any Album Some Artist Some Album**

This export script delivers the same output ...

**01: $filename($getEnv('USERPROFILE')'\Desktop\Mp3tag.Report.txt',UTF-8)$puts(** 

**02: )$loop(1,1)$puts(crlf,$char(13)$char(10))$puts(br,'{br}')$loopend()$replace(  
03:  
04: $loop(%ARTIST%,1)$replace(  
05: $ifgreater(%COMPLETE\_ALBUM%,0,%ARTIST%$get(br),)  
06:  
07: $loop(%ALBUM%,1)$replace(  
08: $ifgreater(%COMPLETE\_ALBUM%,0,''%ALBUM%$get(br),)  
09:  
10: ,$get(crlf),,$get(br),$get(crlf))$loopend()  
11: ,$get(crlf),,$get(br),$get(crlf))$loopend()  
12: ,$get(crlf),,$get(br),$get(crlf))**

 

DD.20140831.2130.CEST, DD.20150305.1035.CET

---

<div class="post-metadata">

**Author:** ![parafux](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/e36b37/32.png) [@parafux](https://community.mp3tag.de/u/parafux)\
**Post date:** [August 31, 2014, 5:02pm UTC](https://community.mp3tag.de/t/export-a-list-of-all-complete-albums/16085/8 "2014-08-31T17:02:16Z")

</div>

QUOTE (ohrenkino @ Aug 31 2014, 20:31) \<{POST\_SNAPBACK}\>

So, modify the code then to...

```
$filename(csv,utf-16)$loop(%artist%,1)%artist%
$loop(%album%,1)- %album%
$loopend()$loopend()<!--QuoteEnd--></div><!--QuoteEEnd-->

```

perfect that works exactly as i want .... THX alot.

thread closed

---

<div class="post-metadata">

**Author:** ![parafux](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/e36b37/32.png) [@parafux](https://community.mp3tag.de/u/parafux)\
**Post date:** [September 5, 2014, 5:00pm UTC](https://community.mp3tag.de/t/export-a-list-of-all-complete-albums/16085/9 "2014-09-05T17:00:56Z")

</div>

> [@parafux](#):
>
> perfect that works exactly as i want .... THX alot.
> 
> thread closed

sorry, thread opened again,

this does unfortunately not work if i have a huge collection with e.g. 100 thousand mp3 files:  
the list is a bit mixed, not alphabetically through the whole file.

partly it is sorted alphabetically, but then it begins with 'a' agan. this repeats a lot of times.

what can cause that?

* * *

i correct myself, becasue with the same export again it works well, i dont know what happend in the first place. it seems that the correct list was exported the first time thousands of times and was mixed ...... 4mb large file instead of only 350kb

ok, thread closed again

---

<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:25pm UTC](https://community.mp3tag.de/t/export-a-list-of-all-complete-albums/16085/10 "2026-02-09T12:25:13Z")

</div>

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


