Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.

Commit 3f1c90a

Browse files
committed
Fix Queue::add_find not adding songs to queue
1 parent a3e2121 commit 3f1c90a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Queue.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function add_search(Filter $filter, string $sort = "", array $window = []
9090
*/
9191
public function add_find(Filter $filter, string $sort = "", array $window = [], int $pos = -1): bool
9292
{
93-
return $this->mphpd->cmd("find $filter", [
93+
return $this->mphpd->cmd("findadd $filter", [
9494
($sort ? "sort" : ""), ($sort ?: ""),
9595
($window ? "window" : ""), ($window ? Utils::pos_or_range($window) : ""),
9696
($pos !== -1 ? "position" : ""), ($pos !== -1 ? $pos : "")

0 commit comments

Comments
 (0)