use the existing methods to batch adding an album and files.
adjust tests and fix exposed errors
Details
test pass, adding of album and files in elisa still works
Diff Detail
- Repository
- R255 Elisa
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Thanks for taking care of that. Please have a look at my comments.
src/mediaplaylist.cpp | ||
---|---|---|
590 | Instead of that, please extend MusicAlbum to allow access to the list of tracks and just enqueue a list of MusicAudioTrack. That would be the fastest solution. | |
621–629 | Instead of modifying it, it is possible to only keep one instead of having enqueue(QList<String>) and enqueue(QList<QUrl>) ? | |
791–801 | Why do you want to change that ? It seems at least unrelated to your patch. |
src/mediaplaylist.cpp | ||
---|---|---|
621–629 | You mean providing only one method for file urls, and getting rid of adding stringlists? that is certainly possible, but requires more changes throughout the code. for example, elisaapplication currently only gives a stringlist to the mediaplaylist. | |
791–801 | This is needed to pass the tests and makes it more similar to the method adding a single file url. |