# MP3TAG : Export

**URL:** <https://community.mp3tag.de/t/mp3tag-export/12499>\
**Category:** Allgemein\
**Created:** [September 12, 2011, 4:32pm UTC](https://community.mp3tag.de/t/mp3tag-export/12499 "2011-09-12T16:32:18Z")\
**Posts on this page:** 1\
**Showing post:** 22

<div class="post-metadata">

**Author:** ![glamour\_pike](https://community.mp3tag.de/user_avatar/community.mp3tag.de/glamour_pike/32/294_2.png) [@glamour\_pike](https://community.mp3tag.de/u/glamour_pike)\
**Post date:** [November 22, 2011, 6:05pm UTC](https://community.mp3tag.de/t/mp3tag-export/12499/22 "2011-11-22T18:05:41Z")

</div>

Hab's übrigens inzwischen soweit gelöst. 🙂  
Da das Resultat bei einem Sampler mit %\_max\_counter% immer kleiner sein wird, lass ich den einfach mit den %\_total\_files% eines Albums vergleichen und gut ist's. Funzt!

```
$loop(%ALBUM%,1)
$loop(%ALBUM%)
$puts(T,%_total_files%)$puts(VAcheck,$loop(%ARTIST%)$loop(%ARTIST%)$loopend()$puts(A,%_max_counter%)$loopend()$loop(%_path%)$loopend()$if($less($get(A),$get(T)),'Various Artists '$char(9)<<<$char(9)'ALBUM ARTIST TAG NICHT VORHANDEN/FALSCH - VERMUTUNG ANHAND UNTERSCHIEDLICHER ARTIST TAGS',%ARTIST%))$if($or($geql(%albumartist%,Various),$geql(%album artist%,Various)),'Various Artists',$get(VAcheck))
$loopend()
$loop(%_PATH%)$num(%track%,2)' '$if($or($geql(%albumartist%,Various),$geql(%album artist%,Various),$less($get(A),$get(T))),%artist%' - ',)%title%
$loopend()
$loopend()

```

Wie bekomme ich eigentlich den Code so farbenprächtig aus Notepad++ heraus? Gibt's da ein offizielles BBCode Highlighted Text plugin?

---

_[View the full topic](https://community.mp3tag.de/t/mp3tag-export/12499)._
