Empty database entries, how can they occur and how to remove them? #4233
-
I noticed when running a
I'm wondering:
Thanks, Jan |
Beta Was this translation helpful? Give feedback.
Answered by
jackwilsdon
Jan 16, 2022
Replies: 1 comment 1 reply
-
Importing tracks "as-is" without any metadata could lead to having albums without names or artists. The easiest way to find these albums is by finding their tracks using For example:
To delete all tracks without albums, you could just use the above query with
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
sampsyo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Importing tracks "as-is" without any metadata could lead to having albums without names or artists. The easiest way to find these albums is by finding their tracks using
field::^$
, which matches empty fields.For example:
To delete all tracks without albums, you could just use the above query with
beet rm
. Alternatively you could remove them one-by-one with the paths output by the above command: