Bug 171595 - amarok can't open and play m3u playlists
Summary: amarok can't open and play m3u playlists
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.0-SVN
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords: needs_verification
: 173002 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-24 16:19 UTC by Panagiotis Papadopoulos
Modified: 2009-12-09 11:28 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Panagiotis Papadopoulos 2008-09-24 16:19:57 UTC
Version:           svn 863908 (using KDE 4.1.1)
OS:                Linux
Installed from:    Unlisted Binary Package

I just tried to play some m3u-files with amarok, that i had on my HDD, but amarok doesn't open them.
I tried to open them through amarok itself, and through drag and drop with dolphin, but amaroks doesn't add my m3u playlists to the playlist-cue.

Trying to open those m3u-files, while amarok is running in a konsole gives me these messages:

amarok: BEGIN: virtual bool AmpacheServiceFactory::possiblyContainsTrack(const KUrl&) const
amarok:      url:  "file:///path/to/m3u-file"
amarok:      do not think so...
amarok: END__: virtual bool AmpacheServiceFactory::possiblyContainsTrack(const KUrl&) const - Took 0.00029s
amarok: END__: virtual void Playlist::GraphicsView::dropEvent(QDropEvent*) - Took 0.0034s

I'm using amarok svn version 863908
Comment 1 Soner K. 2008-10-09 19:49:19 UTC
confirmed for amarok2. Can import m3u playlists but amarok won't play em. 
Comment 2 Panagiotis Papadopoulos 2008-10-10 17:27:48 UTC
amarok doesn't even play playlists created by itself!
Version 1.92.2
Comment 3 Mark Kretschmann 2008-10-10 17:59:07 UTC
I can confirm this.

In fact it's even worse in SVN trunk: It doesn't save anything when you try to export a playlist
Comment 4 Panagiotis Papadopoulos 2008-10-10 21:54:58 UTC
Something I noticed:
If you have m3u playlists in any folder that is scanned by amarok, those playlist are selectabe from the "Playlists"/"My Playlists"-menu.
If you load them from that menu, some of the playlists are loaded and played properly. Others are "suffering" from the same issue as mentioned above.

Maybe this helps a bit in the fixing-process it.

thank you
Comment 5 Lydia Pintscher 2008-10-17 02:23:54 UTC
also see bug 173002
Comment 6 Mark Kretschmann 2008-10-17 12:05:11 UTC
*** Bug 173002 has been marked as a duplicate of this bug. ***
Comment 7 Seb Ruiz 2008-10-19 13:09:12 UTC
SVN commit 873316 by seb:

Load Playlists when adding/playing media using the DirectoryLoader.
CCBUG: 171595


 M  +14 -3     DirectoryLoader.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=873316
Comment 8 Nikolaj Hald Nielsen 2008-11-02 13:42:14 UTC
Fixed in current svn. Loading m3u playlists works fine, both with relative and absolute track paths. IT also correctly loads files created on Windows ( with \ directory separators ).

Please reopen if any issues persists.
Comment 9 Panagiotis Papadopoulos 2008-11-03 23:56:51 UTC
it really seems to work!
Thank You!