Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Saving the relative path in a playlist (Read 2850 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Saving the relative path in a playlist

I use foobar to manage my music and create playlists for use on different machines and hardware players. When i save playlists in m3u format which is what my hardware player supports (mede8er600x3d) foobar 2000 saves them with the drive letter which does not work in mede8er.

Here is an example, both playlists play in foobar 2000

This works in mede8er

../../mp3/Electronic/Nightmares on Wax/Mind Elevation CD1 (2002)/12. Mirrorball.mp3
../../mp3/Electronic/Anubian Lights/Let Not The Flame Die Out (1998)/04. One Eye To The Sky.mp3

This does not work in mede8er and is what i get when foobar saves a playlist.

Z:\music\mp3\Electronic\Nightmares on Wax\Mind Elevation CD1 (2002)\12. Mirrorball.mp3
Z:\music\mp3\Electronic\Anubian Lights\Let Not The Flame Die Out (1998)\04. One Eye To The Sky.mp3


How do i get foobar to save my playlists as in the first example?

For information my playlists are all stored in the following path

Z:\music\playlists\M3U


Saving the relative path in a playlist

Reply #1
install foo_utils > http://foosion.foobar2000.org/components/?id=utils

file>preferences>tools>text tools. leave the header and footer blank. in the body put...

Code: [Select]
$replace(%path%,Z:\music,../..,\,/)$crlf()


now add all tracks to playlist, hit ctrl-a to highlight all files. now right click and select legacy commands (unsorted)>save text. when the save text dialog pops make sure you select all files from the save as type drop down box. you can now save where you like.

Saving the relative path in a playlist

Reply #2
you can now save where you like.

...and also in the M3U format by putting the desired filename plus extension into quotation marks:

Code: [Select]
"Electronic.m3u"
This is HA. Not the Jerry Springer Show.

 

Saving the relative path in a playlist

Reply #3
marc2003, this works perfectly, thank you very much. should be in a faq or wiki or something.

i wonder why this hasnt been worked into the way foobar saves its playlists.