Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Bug]: Smart Playlist cannot find new songs #2034

@realrolfje

Description

@realrolfje

Read the Troubleshooting guide.

  • I have read and followed 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!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions