# Ordername für Exportliste übernehmen?

**URL:** https://community.mp3tag.de/t/ordername-fur-exportliste-ubernehmen/2721
**Category:** Allgemein
**Created:** [January 5, 2006, 10:04am UTC](https://community.mp3tag.de/t/ordername-fur-exportliste-ubernehmen/2721 "2006-01-05T10:04:07Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![asphalt](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/9e8a1a/32.png) [@asphalt](https://community.mp3tag.de/u/asphalt)
#### Post date: [January 5, 2006, 10:04am UTC](https://community.mp3tag.de/t/ordername-fur-exportliste-ubernehmen/2721/1 "2006-01-05T10:04:07Z")

</div>

Hallo Experten,  
ich habe mir das Programm vor einer Woche installiert und bin wirklich begeistert. ich wollte jetzt eine eigene exportliste basierend auf einer Vorlage anpassen.  
leider finde ich für mein nachfolgendes Problem keine Lösung.  
Meine Mp3 sind in verschiedenen Ordnern abgelegt.  
Mein Hauptverzeichnis heisst Musik dann folgen Unterordner in denen die verschiedenen Alben abgelegt sind.  
Meine Ordnerstruktur:

```
Musik
   Rock & Pop
      A
         Anastacia
             Album1
             Album2
      B
      C
   Sampler
      A
      B
   Jazz
      A
      B

```

Nun möchte ich die 2. Ebene also z.B. Rock & Pop in der generierten Exportliste angezeigt wird. nur mit welchen Befehl kann ich darauf zugreifen  
Meine Exportliste sollte so ausschauen

```
Rock&Pop
  Anastacia-Album1
  Anastacia-Album2
  U2-Album1
  U2-Album2

Sampler
  Bravo 1
  Kuschelrock 1
  Kuschelrock 2  

```

Ich hoffe ihr wisst was ich meine.

unten findet ihr mein angepasstes Exportfile

```
$filename(%_workingdir%_albumlist_js_f.html)<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="GENERATOR" content="Mp3tag - <a href="http://www.mp3tag.de&quot;&gt;" target="_blank">http://www.mp3tag.de"></a>
<title>Mp3tag - Album Overview</title>
<script language=JavaScript type=text/JavaScript>
function show(id) {
	if(document.getElementById("show" + id).style.display == ''none'') {
	document.getElementById("show" + id).style.display = '''';
}else{
	document.getElementById("show" + id).style.display = ''none'';
}
}
//-->
</SCRIPT>
<style type="text/css"><!--
h1 { font-family: Verdana; font-size: 14pt }
BODY { font-family: Verdana, Tahoma, Arial, sans-serif;font-size: 11px;margin: 0px;padding: 0px;text-align: center;color: #000;background-color: #FFF; }
TABLE, TR, TD { font-family: Verdana, Tahoma, Arial, sans-serif;font-size: 11px;color: #000; }
#ipbwrapper { text-align: left;width: 95%%;margin-left: auto;margin-right: auto; }
a:link, a:visited, a:active { text-decoration: underline;color: #000; }
a:hover { text-decoration: underline;color: #465584; }
.row1 { background-color: #F5F9FD; }
.row2 { background-color: #DFE6EF; }
.row3 { background-color: #EEF2F7; }
.row4 { background-color: #E4EAF2; }
.titlemedium { font-weight: bold;padding: 7px;margin: 0px;color: #3A4F6C;background-color: #AECEF8; }
.titlemedium a:link, .titlemedium a:visited, .titlemedium a:active { text-decoration: underline;color: #3A4F6C; }
.maintitle { vertical-align: middle;font-weight: bold;padding: 8px 0px 8px 5px;color: #FFF;background-color: #1974EA; }
.maintitle a:link, .maintitle a:visited, .maintitle a:active { text-decoration: none;color: #FFF; }
.maintitle a:hover { text-decoration: underline; }
-->
</style>
</head>
<body>
<div id="ipbwrapper">
<div class="tableborder">
<div class="maintitle" align="left">MP3tag Album Overview of "%_workingdir%": $loop(%album%,1)$loopend()%_max_counter% Albums | %_total_size% | %_total_files% Files | %_total_time% Hours

```

$loop("%\_folderpath%")$loopend()

| Counter | Artist - Album | Tracks | Year | Genre | Bitrate | Codec |
| --- | --- | --- | --- | --- | --- | --- |
| $num(%\_counter%, 3) | **%artist% - %album%** | %\_total\_files% | %year% | %genre% | $if($eql(%\_VBR%,VBR),%\_VBR%,%\_bitrate%) | %\_codec% |
| **-** | $loop(%\_filename\_ext%)%\_length% min | %\_bitrate% kbits | %\_filename\_ext% $loopend() | %\_vbr% | %\_total\_size% %\_total\_files% Files |

  

made on %\_date% with %\_app% - the **universal** Tag Editor [www.mp3tag.de](http://www.mp3tag.de/)

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [January 5, 2006, 12:47pm UTC](https://community.mp3tag.de/t/ordername-fur-exportliste-ubernehmen/2721/2 "2006-01-05T12:47:06Z")

</div>

Vielleicht sagt dir [diese Config](https://community.mp3tag.de/t/2632/2) mehr zu?

---

<div class="post-metadata">

### Author: ![asphalt](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/9e8a1a/32.png) [@asphalt](https://community.mp3tag.de/u/asphalt)
#### Post date: [January 6, 2006, 12:57pm UTC](https://community.mp3tag.de/t/ordername-fur-exportliste-ubernehmen/2721/3 "2006-01-06T12:57:14Z")

</div>

> [@](#):
>
> Vielleicht sagt dir [diese Config](https://community.mp3tag.de/t/2632/2) mehr zu?
> 
> \<{POST\_SNAPBACK}\>

danke für deinen Link, leider möchte ich nicht von den id3-tags das genre auslesen, sondern einfach den ordnernamen der 2. ebene (Rock&Pop, Sampler, Jazz) irgendwie auslesen.

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [January 6, 2006, 1:43pm UTC](https://community.mp3tag.de/t/ordername-fur-exportliste-ubernehmen/2721/4 "2006-01-06T13:43:34Z")

</div>

Ja, aber leider geht das nicht. Zumindest sehe ich keinen einfachen Weg (wenn überhaupt einen).

Wenn man in $loop(...) scripten könnte, wäre es möglich.
