# Playlisten mal so mal so? Export-Alternative: Helft ihr mir beim Code?

**URL:** https://community.mp3tag.de/t/playlisten-mal-so-mal-so-export-alternative-helft-ihr-mir-beim-code/14307
**Category:** Allgemein
**Created:** [January 3, 2013, 6:19pm UTC](https://community.mp3tag.de/t/playlisten-mal-so-mal-so-export-alternative-helft-ihr-mir-beim-code/14307 "2013-01-03T18:19:18Z")
**Posts on this page:** 1
**Showing post:** 2

<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: [January 3, 2013, 8:18pm UTC](https://community.mp3tag.de/t/playlisten-mal-so-mal-so-export-alternative-helft-ihr-mir-beim-code/14307/2 "2013-01-03T20:18:43Z")

</div>

> [@wortmann](#):
>
> ... Ich habe 700 Ordner, also 700 Alben und möchte in jedem dieser Albenordner die Playlist haben, in der kein Pfad enthalten ist, sondern nur eine Liste der MP3-Dateien. ...

Um das lästige Kombinationstastendrücken zu umgehen, schlage ich eine Lösung vor mit einem Mp3tag Export Skript und anschließende Anwendung des Programms Mp3tagSplitList.  
Mp3tagSplitList siehe dort ...  
[/t/14121/1](https://community.mp3tag.de/t/14121/1)

Arbeitsplan:

1. Alle betreffenden Ordner in Mp3tag laden und alle Dateien markieren.

2. Exportskript ausführen.  
Split List#Export FILENAME playlist to SL file.mte

Export Skript für ANSI M3U ...

**1: $filename($getEnv('USERPROFILE')'\Desktop\Playlist.Filename.SL.txt',ANSI)** 

**2: $loop(%\_folderpath%)  
3: '$$$FILE='$validate(%_folderpath%__$replace('('%ALBUM%' - '%ARTIST%')',';',' -',':',' -')'.m3u','_')  
4: $loop(%\_filename\_ext%)%\_filename\_ext%  
5: $loopend()'$$$END'$char(13)$char(10)$loopend()**

 

Export Skript für UTF-8 M3U8 ...

 **1: $filename($getEnv('USERPROFILE')'\Desktop\Playlist.Filename.SL.txt',UTF-8)** 

**2: $loop(%\_folderpath%)  
3: '$$$FILE='$validate(%_folderpath%__$replace('('%ALBUM%' - '%ARTIST%')',';',' -',':',' -')'.m3u8','_')  
4: $loop(%\_filename\_ext%)%\_filename\_ext%  
5: $loopend()'$$$END'$char(13)$char(10)$loopend()**

 
1. Mp3tagSplitlist ausführen.  
Wenn die Exportdatei "Playlist.Filename.SL.txt" auf dem Desktop liegt, dann Mp3tagSplitList aufrufen und die Datei "Playlist.Filename.SL.txt" auswählen.

2. Fertig,  
In allen Ordnern sollte nun eine M3U bzw. M3U8 Datei vorhanden sein, die nur die Dateinamen mit Endung enthält.

 

DD.20130103.2222.CET

---

_[View the full topic](https://community.mp3tag.de/t/playlisten-mal-so-mal-so-export-alternative-helft-ihr-mir-beim-code/14307)._
