# How to make paths in \*.m3u playlists relative?

**URL:** https://community.mp3tag.de/t/how-to-make-paths-in-m3u-playlists-relative/16031
**Category:** General Discussion
**Created:** [August 20, 2014, 10:25am UTC](https://community.mp3tag.de/t/how-to-make-paths-in-m3u-playlists-relative/16031 "2014-08-20T10:25:28Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![pstein](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/898d66/32.png) [@pstein](https://community.mp3tag.de/u/pstein)
#### Post date: [August 20, 2014, 10:25am UTC](https://community.mp3tag.de/t/how-to-make-paths-in-m3u-playlists-relative/16031/1 "2014-08-20T10:25:28Z")

</div>

As you know users can put all songs from a directory in a order they like and save the playlist (with  
the order) into a \*.m3u playlist file.

This works fine as long as all songs in the \*.m3u playlist are inside the current folder.

If I want to group songs from many different (sub) folders into one and the same \*.m3u  
then this is only possible with an FULL ABSOLUTE PATH (that means with prepended drive letter).

Since I want to put all my .mp3 on an USB flash drive and play it on various devices (e.g. Hifi stations  
at friends or notebooks or whatever) the drive letter may change.

Furthermore I want to be able to move the whole .mp3 folder tree to another location without  
destroying the location information.

So what I need is an audio player which let me save RELATIVE path information into \*.m3u playlists.

Does someone know such a tool which can play songs AND save relative pathes?

Thank you  
Peter

---

<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 20, 2014, 2:24pm UTC](https://community.mp3tag.de/t/how-to-make-paths-in-m3u-playlists-relative/16031/2 "2014-08-20T14:24:09Z")

</div>

> [@pstein](#):
>
> How to make paths in \*.m3u playlists relative?

Relative to what?

DD.20140820.1824.CEST

---

<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 20, 2014, 2:30pm UTC](https://community.mp3tag.de/t/how-to-make-paths-in-m3u-playlists-relative/16031/3 "2014-08-20T14:30:06Z")

</div>

> [@pstein](#):
>
> ... Furthermore I want to be able to move the whole .mp3 folder tree to another location without destroying the location information. ...

Mp3tag can do this.  
Use an action "Format value" on the pseudo tag-field \_DIRECTORY.  
Search the forum for examples.

DD.20140820.1830.CEST

---

<div class="post-metadata">

### Author: ![pstein](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/898d66/32.png) [@pstein](https://community.mp3tag.de/u/pstein)
#### Post date: [August 22, 2014, 6:51pm UTC](https://community.mp3tag.de/t/how-to-make-paths-in-m3u-playlists-relative/16031/4 "2014-08-22T18:51:33Z")

</div>

> [@DetlevD](#):
>
> Relative to what?

Obviously to the position of the playlist \*.m3u file

---

<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 24, 2014, 6:54am UTC](https://community.mp3tag.de/t/how-to-make-paths-in-m3u-playlists-relative/16031/5 "2014-08-24T06:54:10Z")

</div>

> [@pstein](#):
>
> Obviously to the position of the playlist \*.m3u file

If you want to move the playlist about freely, you would have to use absolute paths.

---

<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 24, 2014, 7:43am UTC](https://community.mp3tag.de/t/how-to-make-paths-in-m3u-playlists-relative/16031/6 "2014-08-24T07:43:40Z")

</div>

> [@pstein](#):
>
> Obviously to the position of the playlist \*.m3u file

In case of the original playlist file has absolute filepathnames, then use a text editor, load the copy of the playlist, and change all filepathnames, replace "DriveLetter:" with one dot character ".".  
Then all filepathnames are named relative to the current folder of the playlist.  
You have to make sure, whether players can work with this path information.

See also ...  
[http://en.wikipedia.org/wiki/Path\_(computing)](http://en.wikipedia.org/wiki/Path_(computing))

... and have a look into the dialog ...  
Mp3tag\>File\>Options\>Playlist

DD.20140824.1153.CEST
