AmarokPlaylistScript: play all media in {add,play}Media(), add playMediaList()
authorMatěj Laitl <matej@laitl.cz>
Tue, 3 Jul 2012 21:20:15 +0000 (23:20 +0200)
committerMatěj Laitl <matej@laitl.cz>
Tue, 3 Jul 2012 21:34:21 +0000 (23:34 +0200)
commit7d88d07cd4cd5fc9c316124d297f9c672ebdb779
tree723401ef855a76ce62879f4ce5e63dacfa5e3eb4
parent728680ee601d443e218ce2e705cf173929fa580d
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.

BUG: 232697
FIXED-IN: 2.6
ChangeLog
src/scriptengine/AmarokPlaylistScript.cpp
src/scriptengine/AmarokPlaylistScript.h