Author Topic: How to export current playlist in *.m3u Format with relative pathnames?  (Read 2554 times)

pstein

  • Jr. Member
  • **
  • Posts: 60
Assume I adjusted a playlist to my preferences.

Now I want to export it in *.m3u format

How can I achieve this?

How can I export it with RELATIVE path names?

Peter

phred

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 9349
Two easy steps:
1- Preferences > Library > playlists > exported playlists: [set path to destination directory] > set playlist format > use relative file paths

2a- Right-click on the playlist in question > export playlist
OR
2b- Rick-click on the playlist in question > edit playlist > automatically export a static copy

Note that 2b will automatically export every time a change is made to the playlist
Download the latest MusicBee v3.5 or 3.6 patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
The FAQ
The Wiki
Posting screenshots is here
Searching the forum with Google is  here

pstein

  • Jr. Member
  • **
  • Posts: 60
Ok, thank you.

That means there is only ONE "export playlist" folder for ALL playlists?
No export folder per Playlist possible?


If someone like me has divided his thousands of *.mp3 files into different subfolders (to get a better overview) and wants to
put the *.m3u Playlist into the corresponding subfolder (where all containing *.mp3 files are in), then this is not possible.

Correct?

Peter

phred

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 9349
All I can tell you is I have over 34,000 tracks and over 80 playlists. All my exported playlists are in one directory and that doesn't present any issues for me.

I suppose you can change the 'save to' directory for each playlist, but then you can't take advantage of the 'auto-export' feature.

Remember - a playlist file is nothing more than a text file which points to the location of each track within the playlist. I really don't see why you want each playlist in its own directly. Can you expand on the purpose of doing this?
Download the latest MusicBee v3.5 or 3.6 patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
The FAQ
The Wiki
Posting screenshots is here
Searching the forum with Google is  here

pstein

  • Jr. Member
  • **
  • Posts: 60
I really don't see why you want each playlist in its own directly. Can you expand on the purpose of doing this?

Ok, lets describe it:

Assume the MusicBee Exported Playlist directory is in

D:\tools\music\MusicBee\Library\Exported Playlists\

and I the *.mp3 songs for a certain artist are in

D:\archive\music\latin\marquess\

All the links in the playlist
  D:\tools\music\MusicBee\Library\Exported Playlists\marquess.m3u
point to the absolute or relative path D:\archive\music\latin\marquess\

It works as long as I use the music only on the local computer


Now occasionally I copy certain artist folders to other computers like
- NAS media file server
- Linux notebook
- Smartphone
- Tablet

the new location over there is completely different from the local one.

If I copy D:\tools\music\MusicBee\Library\Exported Playlists\marquess.m3u
to the second computer then its completely useless since it points to non-existing directories.

If the playlist could be exported to the individual artists folder then it could be done with RELATIVE pathes.

So the Playlist marquess.m3u would contain always *.mp3 file in the current folder and could be read/load succesfully on other computer (with other audio players).

So most preferable when I load in MusicBee a Playlist from arbitrary location like D:\foobar\stuff\sample.m3u
then auto-export should save it (when playlist is changed) to exactly its original location.

Can this be implemented?
It shouldn't be difficult.

Thank you
Peter