Skip to content

Query words are case sensitive #5834

@milnak

Description

@milnak

Problem

Running this command in verbose (-vv) mode:

$ beet list --format '"$title" on "$album" by $albumartist ($length) ($year)' albumartist:kenton 

works

but this doesn't:

$ beet -vv list --format '"$Title" on "$Album" by $AlbumArtist ($Length) ($Year)' AlbumArtist:kenton
(venv-beets) jeff@nuc:~$ beet -vv list --format '"$Title" on "$Album" by $AlbumArtist ($Length) ($Year)' AlbumArtist:kenton
user configuration: /home/jeff/.config/beets/config.yaml
data directory: /home/jeff/.config/beets
plugin paths:
fetchart: google: Disabling art source due to missing key
fetchart: lastfm: Disabling art source due to missing key
Sending event: pluginload
library database: /mount/usb/Music/beets.db
library directory: /mount/usb/Music
Sending event: library_opened
Parsed query: AndQuery([SubstringQuery('albumartist', 'kenton', fast=True)])
Parsed sort: NullSort()
"$Title" on "$Album" by $AlbumArtist ($Length) ($Year)
"$Title" on "$Album" by $AlbumArtist ($Length) ($Year)

Led to this problem:

no query matched. Should query fields (e.g. $year) be case insensitive?

Setup

  • OS: ubuntu
  • beets version 2.3.1
  • Python version 3.12.3
  • Turning off plugins made problem go away (yes/no): no

Metadata

Metadata

Assignees

No one assigned

    Labels

    needinfoWe need more details or follow-up from the filer before this can be tagged "bug" or "feature."

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions