Export Playlists to M3U with relative paths

Bug #672778 reported by toomuch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
Wishlist
RAFFI TEA
1.10
Fix Released
Low
RAFFI TEA

Bug Description

It would be cool to be able to export playlists to several formats (M3U preferred in my situation). You could then burn the music or use it with other media players, e.g. with XBMC in your living room...

Related branches

Revision history for this message
RAFFI TEA (raffitea) wrote :

Importing playlists would be also cool.

tags: added: import m3u playlist
tags: added: export
Changed in mixxx:
status: New → Confirmed
importance: Undecided → Wishlist
toomuch (toomuch)
summary: - Export Playlists to M3u with relative paths
+ Export Playlists to M3U with relative paths
Revision history for this message
toomuch (toomuch) wrote :

You are right Raffi, importing is even more important! :)

RAFFI TEA (raffitea)
Changed in mixxx:
assignee: nobody → RAFFI TEA (raffitea)
status: Confirmed → In Progress
Revision history for this message
RAFFI TEA (raffitea) wrote :

Implementing a relative M3U and PLS export is hard on Windows. Basically, the Mixxx library can have many music files located on different hard disk drives since we allow drag 'n' drop. Don't know what base directory is best to choose!!!

So far I've implemented M3U and PLS export with absolute paths. Feel free to test! lp:~mixxxdevelopers/mixxx/tree_item_browser

Revision history for this message
Sean M. Pappalardo (pegasus-renegadetech) wrote :

Could it automatically use relative paths for anything in the library tree and absolute paths for anything outside of it?

Revision history for this message
toomuch (toomuch) wrote :

I don't see the problem. Let the user choose to either save relative or absolute paths. Somebody with a clean and well organized library prefers relative paths, because drive letters can change if you use an external USB-drive. People with only a few GBs of music in different places on their PCs more likely prefer absolute paths.

The base directory should be the one of the library concludingly. Sean's suggestion sounds good to me.

How can I test (download an .exe) this on Windows? (

Revision history for this message
RAFFI TEA (raffitea) wrote :

I'll follow Sean's ideas and use relative paths if the target PLS or M3U has same drive letter location with reference to its containing tracks. Otherwise I use absolute paths. I'll see if it is possible to mix relative and absolute paths since I do not know if music players like Winamp, iTunes, etc. can handle these.

Revision history for this message
RAFFI TEA (raffitea) wrote :

@toomuch: For Windows, you'll need to compile Mixxx yourself for testing. Maybe some other developer can configure the build server to build Windows packages.

Revision history for this message
toomuch (toomuch) wrote :

Never done that before. Would the extra effort make sense for your development work or should I wait for an regular update?

Revision history for this message
RAFFI TEA (raffitea) wrote :

@toomuch,

I recommend to wait until we release the first Beta for 1.10, probably around 15th of April or so..

Changed in mixxx:
status: In Progress → Fix Committed
RJ Skerry-Ryan (rryan)
Changed in mixxx:
status: Fix Committed → Fix Released
Revision history for this message
toomuch (toomuch) wrote :

When I export a list, Mixxx uses the full path although the option to use relative paths is enabled. But this option says: "If possible"...What does this mean?

Revision history for this message
RAFFI TEA (raffitea) wrote :

@too much

The meaning of "if possible" is only relevant on Windows. Assume a playlist where the tracks are located on different drives. In this particular case, you cannot export the playlist with relative path.

Revision history for this message
RJ Skerry-Ryan (rryan) wrote : Re: [Bug 672778] Re: Export Playlists to M3U with relative paths

toomuch,

Could you confirm if the playlist you exported had files across different
drives? If not then maybe we have a bug?

RJ

On Thu, Dec 29, 2011 at 2:37 PM, RAFFI TEA <email address hidden>wrote:

> @too much
>
> The meaning of "if possible" is only relevant on Windows. Assume a
> playlist where the tracks are located on different drives. In this
> particular case, you cannot export the playlist with relative path.
>
> --
> You received this bug notification because you are a member of Mixxx
> Development Team, which is subscribed to Mixxx.
> https://bugs.launchpad.net/bugs/672778
>
> Title:
> Export Playlists to M3U with relative paths
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/mixxx/+bug/672778/+subscriptions
>

Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/5645

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.