Version: 22.214.171.124 (using KDE 4.4.2)
As the summary says.... The Bug is fully reproducible and also happens with 2.3.1 and 2.3.0. The file is also saved with relative path if you the box is checked (so the selection isnt "switched").
Also there aren't any changes for *.pls and *.xspf playlist. They are always saved with absolute path (although i dont know if pls and xspf is able to use relative path).
(Btw: I'm new to Kubuntu and this is my first bugreport. Hope if done it right...)
Steps to Reproduce:
Export a playlist as *.m3u with unchecked "relative path" checkbox ;-)
If the file is opened with a texteditor you'll see either a "./folder-X/file-Y" if the files are in a subdir of the folder with the playlistfile or a "../../folder-X/file-Y" if the dir needs to be changed.
The absolute path (for example: "/home/USER/music/file-Y")
OS: Linux (i686) release 2.6.32-24-generic
Author: Martin Blumenstingl <firstname.lastname@example.org>
Date: Thu Oct 28 20:08:23 2010 +0200
Don't ignore the "use relative path" checkbox in the playlist export dialog.
diff --git a/ChangeLog b/ChangeLog
index edc6ea3..f726069 100644
@@ -50,6 +50,8 @@ VERSION 2.4-Beta 1
pressing SHIFT while clicking the action will bypass trash.
+ * Don't ignore the "use relative path" checkbox in the playlist export dialog.
+ (BR 250689)
* Fixed applet explorer getting stuck. (BR 253058)
* Fixed Wikipedia applet header layout issues. (BR 215171)
* Fixed truncated heading in albums applet. (BR 231001)
diff --git a/src/core-impl/playlists/types/file/PlaylistFileSupport.cpp b/src/core-impl/playlists/types/file/PlaylistFileSupport.cpp
index 8a1b745..c728b97 100644
@@ -24,6 +24,7 @@
@@ -177,7 +178,7 @@ exportPlaylistFile( const Meta::TrackList &list, const KUrl &path, const QList<i
if ( playlist )
playlist->setQueue( queued );
- result = playlist->save( path.path(), true );
+ result = playlist->save( path.path(), AmarokConfig::relativePlaylist() );