beetbox / beetbox/beets

Add type declaration for singleton field

Open
#4,000 1 comment 0 reactions 0 assignees View on GitHub
feature
Dominant language
Python
Stars
15.7k
Forks
2.1k
Avg merge
4d 21h
Merged PRs (30d)
31

Description

### Problem

Since singleton is a binary flag similar to comp, it should return results the same way comp does. As of now, they do differ:

```
% beet ls comp:1|wc -l
15163

% beet ls comp:true|wc -l
15163

% beet ls singleton:1|wc -l
0

% beet ls singleton:true|wc -l
14345

Contributor guide

Open the contributing guide

Research direction

Start with the beet ls field-query examples in the issue and trace how comp and singleton values are parsed, locating the type declaration for singleton. Done means singleton:1 and singleton:true return the same results as comp:1 and comp:true.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.