Summary: | APG runs only when "Playlist duration" constraint is specified | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | vedant agarwala <vedant.kota> |
Component: | Playlists/Automated Playlist Generator | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | groenewald.marius, stharward |
Priority: | NOR | Keywords: | regression |
Version First Reported In: | 2.8-git | ||
Target Milestone: | 2.9 | ||
Platform: | Kubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/amarok/0b7492e709d9c8c37e8d9e74f549d0073b775b19 | Version Fixed In: | 2.9 |
Sentry Crash Report: |
Description
vedant agarwala
2013-08-23 21:26:34 UTC
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. *** |