Summary: | Amarok.Playlist.playMedia won't load m3u playlists | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Aravorn <aravorn> |
Component: | Playlists/Saved Playlists | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bart.cerneels, sommamarcus |
Priority: | NOR | Keywords: | regression |
Version: | 2.5.0 | ||
Target Milestone: | 2.6 | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/amarok/7d88d07cd4cd5fc9c316124d297f9c672ebdb779 | Version Fixed In: | 2.6 |
Sentry Crash Report: |
Description
Aravorn
2010-03-30 15:04:04 UTC
Ok, I'm a bit confused atm. I tried the following in the script console: ----- Importer.loadQtBinding( "qt.core" ); url = new QUrl("http://www.darkerradio.com/listen.pls"); Amarok.Playlist.playMedia( url ); ----- It works fine, as long as url is not a m3u playlist. tested with that remote .pls, a local mp3 and a local m3u. This could be a bug, even regression, in M3UPlaylist. Something we should investigate. even local pls and xspf dont' work Please fix this bug, I cannot implement any webcontrol to change the playlist. It would be very useful to change a playlist saved in mysql Is this still valid with Amarok 2.4.3 or current git? Closing for lack of feedback. Feel free to reopen if you can reproduce this with the latest stable or git build. still valid in Version 2.5.0 tested under KDE 4.7.4 Git commit 7d88d07cd4cd5fc9c316124d297f9c672ebdb779 by Matěj Laitl. Committed on 03/07/2012 at 23:20. Pushed by laitl into branch 'master'. AmarokPlaylistScript: play all media in {add,play}Media(), add playMediaList() No need to convert to tracks (this way it excluded playlists), PlaylistController is good enough to read all kinds of urls including playlists. Add playMediaList() method for symmetry with addMediaList() when at it. We thought it worked for other than .m3u playlists, but it was by chance becasce CollectionManager::trackForUrl() returned something (probably the first track) for other playlists. FIXED-IN: 2.6 M +3 -0 ChangeLog M +14 -8 src/scriptengine/AmarokPlaylistScript.cpp M +1 -0 src/scriptengine/AmarokPlaylistScript.h http://commits.kde.org/amarok/7d88d07cd4cd5fc9c316124d297f9c672ebdb779 |