mirror of
https://github.com/koel/koel.git
synced 2026-04-26 09:15:59 +03:00
[GH-ISSUE #2034] [Bug]: Smart Playlist cannot find new songs #1074
Labels
No labels
Authentication
Dependencies
Documentation
Feature Request
Flac
Help Wanted
Installation/Setup
Integration
Mobile
PR Welcome
Pending Release
Performance
Playlist
S3
Search
Sync
[Pri] Low
[Pri] Normal
[Status] Keep Open
[Status] Needs Author Reply
[Status] Needs Review
[Status] Stale
[Status] Will Implement
[Type] Blessed
[Type] Bug
[Type] Duplicate
[Type] Enhancement
[Type] Help Request
[Type] Question
[Type] Task
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/koel-koel#1074
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @realrolfje on GitHub (Jul 26, 2025).
Original GitHub issue: https://github.com/koel/koel/issues/2034
Originally assigned to: @phanan on GitHub.
Read the Troubleshooting guide.
Reproduction steps
When importing new songs, I like to have a playlist which can easily find them. To do that, I'd like to create a playlist where "playcount is less than 1". In the current version of Koel, that does not return any songs.
I suspect that this is because the play count is "null" instead of a number, and the comparison in the smart playlist fails.
As a workaround I tried "song not played in the last 9999 days" but that also does not work, probably for the same reason.
Expected behavior
Smart playlist should be able to find newly imported songs which are never played by selecting "playcount is less than 1"
Actual behavior
The playlist returns no songs at all.
When selecting "playcount less than 2", I do see all the songs which are played exectly once.
Logs
No response
Koel version
7.10.3 community edition
How did you install Koel?
Official Docker image
Additional information
Docker image in a docker compose file, connecting to a dockerized MySQL. Otherwise workign (and looking) fine. Thanks for creating Koel!
@phanan commented on GitHub (Jul 26, 2025):
Thanks for reporting! I will take a look.