Help - Search - Members - Calendar
Full Version: M3U editting
Hydrogenaudio Forums > Hosted Forums > foobar2000 > Support - (fb2k)
Text
When I save a playlist as M3U, it automatically puts in the full address of the audio files.
Example:

C:\Something\Something\Something\SongName.mp3

The problem with this is when I load the M3U file into my external MP3 player, it can't play the files from that location since clearly it's not the computer anymore.

I just want the file names in the m3u file...

Example:
SongName.mp3


That's it.


Is this possible?

Thanks,
-Text
marc2003
i use foo_utils. once installed, look at "preferences>tools>text tools". in the "header" section put

CODE
#EXTM3U$crlf()

then in the "body" section put

CODE
%filename%$crlf()


then you have to highlight all songs in a playlist, right click and "text tools>save text".
Text
That's perfect. Thanks a lot!
Yirkha
Paths in M3U playlists are saved relatively to the folder where you save it to. If you save it to the same folder where the files are, it will contain only the file names.
marc2003
^but it's still no good. i can't speak for everyone but my portable player (sansa clip) requires

#EXTM3U

as the first line. using the foobar "save playlist" option doesn't do this.

also, foo_utils writes the file as "ansi as utf-8" which my player needs to recognise text such as "Björk". foobar just writes "ansi" so while my player will load the playlist ok, it will simply skip any filenames with "funny" characters in. sorry but that's about as technical as i get. laugh.gif (i only found out about the different types by opening the playlists in notepad++)
Robertina
marc2003,

would Skipy Rich's EXTM3U playlist format plugin (foo_extm3u) suit your needs more?

Please excuse if my hint should not be helpfully in this context (I never used this playlist format).
tpijag
As an adjunct to the various thoughts above, I use a program that came out of the Sansa Clip forums.
Though my use of it is not related to this thread, if can be used to load your media player in any sort of logical or random manner and after the fact quickly have it build an appropriate playlist that it will auto add to your player.

You can google autoM3U for more information.

Not limited to the Sansa products.

terry
marc2003
@Robertina, that plugin still has the same problem saving the file as "ansi". it works fine with standard text but not with something like "Björk" in my example above. although it looks fine in windows, my player just doesn't like it. thanks for the suggestion though. smile.gif

@tpijag, i'd seen it before but it's not flexible enough for my needs. i think it works on a per folder basis which isn't enough for me. using foo_utils, i can create true custom playlists regardless of where tracks are in my folder structure ordered in any fashion i like. using

CODE
$replace(%path%,$left(%path%,9),)$crlf()


and saving to the root of the "MUSIC" folder gives me the full functionality i desire.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.