Summary: | "Automatic playlists" does not generate any playlist entries | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Mathias Homann <Mathias.Homann> |
Component: | Playlists/Automated Playlist Generator | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dev, e.m.a.t.i.r.o.v, shaddowy2, stharward |
Priority: | NOR | ||
Version: | 2.8.0 | ||
Target Milestone: | later | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/amarok/0b7492e709d9c8c37e8d9e74f549d0073b775b19 | Version Fixed In: | 2.9 |
Sentry Crash Report: | |||
Bug Depends on: | |||
Bug Blocks: | 315206 | ||
Attachments: | exported playlist generator |
Description
Mathias Homann
2013-01-23 13:53:44 UTC
Created attachment 76662 [details]
exported playlist generator
First of all, I need you to make sure that you actually have tracks that satisfy those constraints. Go to "Local Music", and in the filter box, type: lastplay:>1w genre:"anime" Do the same for the other two genres. Confirm that some tracks actually match this filter. This will let me know whether the APG is returning no results because your collection doesn't have any results to return, or whether there's actually an APG bug. I just verified that the genres in my filter do have tracks. a lot of tracks, actually. I can confirm the problem with Amarok 2.7. I was hit by it some day and forgot to report that bug, sorry. As a workaround I found out that you have to additionally specify a play time constraint for the playlist (for example >30 min). -this bug is also there at 2.8.0. -a second strange thing is, (the above mentioned duration workaround works) but a duration of : longer than 30 min --> creates a playlist with a duration of 44 min : longer than 45 min --> creates a playlist with a duration of 1:36 min all other constraints are the same , without the duration contraint (but do not work without) i would expect an plalist with mor the 2h . for my understanding 'longer than' should create playlist with all songs that match the constraints but have at least XX min playtime. Can confirm this bug at 2.8.0 too. 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 315206, bug 323945 FIXED-IN: 2.9 M +2 -0 ChangeLog M +2 -1 src/playlistgenerator/ConstraintSolver.cpp http://commits.kde.org/amarok/0b7492e709d9c8c37e8d9e74f549d0073b775b19 |