# Export Script for creating Playlist in PLS Format

**URL:** https://community.mp3tag.de/t/export-script-for-creating-playlist-in-pls-format/10139
**Category:** Export
**Created:** [March 19, 2010, 3:40pm UTC](https://community.mp3tag.de/t/export-script-for-creating-playlist-in-pls-format/10139 "2010-03-19T15:40:27Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![bytebeamer](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/71e660/32.png) [@bytebeamer](https://community.mp3tag.de/u/bytebeamer)
#### Post date: [March 19, 2010, 3:40pm UTC](https://community.mp3tag.de/t/export-script-for-creating-playlist-in-pls-format/10139/1 "2010-03-19T15:40:27Z")

</div>

Hi,

Can anybody provide an export script that creates playlists in .PLS format?

My programming skill is lousy and unfortunately my car audio system does not support .m3u format.  
Only .pls format is supported.  
I did not find a way to create these files through the ordinary "create playlist" function.

Thanks in advance!!

---

<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: [March 19, 2010, 5:01pm UTC](https://community.mp3tag.de/t/export-script-for-creating-playlist-in-pls-format/10139/2 "2010-03-19T17:01:00Z")

</div>

```
$filename(%_folderpath%%artist%-%album%.pls,ansi)'['playlist']'
$loop(%_filename%)File%_counter%=%_filename_rel%
Title%_counter%=%title%
Length%_counter%=%_length_seconds%
$loopend()NumberOfEntries=%_max_counter%
Version=2
```

---

<div class="post-metadata">

### Author: ![bytebeamer](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/71e660/32.png) [@bytebeamer](https://community.mp3tag.de/u/bytebeamer)
#### Post date: [March 19, 2010, 5:50pm UTC](https://community.mp3tag.de/t/export-script-for-creating-playlist-in-pls-format/10139/3 "2010-03-19T17:50:02Z")

</div>

Exactly what i'm looking for! Thank you very much!
