Bug 275988

Summary: Again: Export m3u-playlist ignores "relative paths" options
Product: [Applications] amarok Reporter: wuselwu <einmaladresse_2>
Component: Playlists/Saved PlaylistsAssignee: Amarok Developers <amarok-bugs-dist>
Severity: normal CC: bart.cerneels, nhn, teo
Priority: NOR    
Version: 2.4-GIT   
Target Milestone: 2.4.2   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 2.4.2
Sentry Crash Report:

Description wuselwu 2011-06-18 18:02:35 UTC
Version:           2.4.1 (using KDE 4.6.4) 
OS:                Linux

As reported e.g. in bug 250689:
Once again the "export playlist" functionality always exports absolute paths and ignores the settings of the file dialogue.

Using the current git-snapshot from openSUSE playground (

Reproducible: Didn't try
Comment 1 wuselwu 2011-06-18 18:20:24 UTC
I have to correct myself:
Amarok seems to react to the "relative paths" switch, however, with a very strange way of interpretating "relative".

My music drawer is

The playlists are located toplevel in this folder.

Amarok makes strange playlist entries like
which it itself cannot load anymore.
Comment 2 wuselwu 2011-06-18 18:41:23 UTC
Downgrading to the stable 2.4.1 version the "relative paths" feature gives entries like

Also in this case not even Amarok itself can use the playlist, which makes the "export with relative paths" functionality completely unusable.
Comment 3 Bart Cerneels 2011-06-20 13:11:35 UTC
Git commit 5cb8705528abcc1b74c09576daf6816e5ba31f1b by Bart Cerneels.
Committed on 20/06/2011 at 12:43.
Pushed by shanachie into branch 'master'.

Make sure the relative checkbox is respected.

The relative check is initialized using the configured setting.


M  +2    -4    src/MainWindow.cpp     
M  +4    -9    src/core-impl/playlists/types/file/PlaylistFileSupport.cpp     
M  +3    -2    src/core-impl/playlists/types/file/PlaylistFileSupport.h     
M  +15   -6    src/core-impl/playlists/types/file/m3u/M3UPlaylist.cpp     
M  +2    -2    src/playlist/PlaylistModel.cpp     
M  +1    -1    src/playlist/PlaylistModel.h     
M  +2    -1    src/playlist/proxymodels/AbstractModel.h     
M  +2    -2    src/playlist/proxymodels/ProxyBase.cpp     
M  +1    -1    src/playlist/proxymodels/ProxyBase.h