If an APG does not contain the "Playlist duration" constraint, nothing happens when the run APG button (blue right arrow) is clicked. Also, if I try to a "Playlist duration" constraint like "longer than" 2 minutes (so that this is a redundant constraint), nothing happens. By nothing happens I mean a statusbar is shown (probably the "generating playlist" statusbar) for a split second and no change is made to the playlist. Reproducible: Always
Easy workaround: select a long duration and select the option "longer than". But, comfirmed on current git, v2.8.0-458-g53f0980, and this is a regression as it used to work before.
Git commit 0b7492e709d9c8c37e8d9e74f549d0073b775b19 by Soren Harward. Committed on 01/06/2015 at 02:53. Pushed by stharward into branch 'master'. Fix long-standing bug: APG returns empty playlist Well, that was dumb. Added a sanity check where if the suggested playlist size is 0 (which means "I don't really care what the playlist size is"), then just go with whatever the non-zero size from the previous iteration was. Related: bug 313762, bug 315206 FIXED-IN: 2.9 M +2 -0 ChangeLog M +2 -1 src/playlistgenerator/ConstraintSolver.cpp http://commits.kde.org/amarok/0b7492e709d9c8c37e8d9e74f549d0073b775b19
*** Bug 352939 has been marked as a duplicate of this bug. ***