Problem
Running beet dup has this erroneous output.
$ beet dup
: 1
: 1
: 1
: 1
: 1
: 1
: 1
: 1
: 1
: 1
: 1
: 1
: 1
: 1
: 1
: 1
: 1
: 1
: 1
: 1
: 1
: 1
: 1
: 1
: 1
: 1
: 1
: 1
: 1
: 1
: 1
: 1
: 1
: 1
: 1
: 1
: 1
: 1
: 1
: 1
: 1
: 1
: 1
: 1
Nothing is displayed by : 1. Looking at the code, I suspect that the value of $path is empty string and there is a count of 1. Both response are quite perplexing.
I configured duplicates with two keys: artist and title.
Setup
- OS: Ubuntu v25.10
- Python version: 3.13.7
- beets version: 2.8.0
- Turning off plugins made problem go away (yes/no): I couldn't as I need the
duplicates plugihn.
My configuration (output of beet config) is:
directory: /mnt/Media/Music
import:
move: yes
original_date: yes
asciify_paths: yes
# plugins: discogs autobpm edit embedart fetchart lastgenre scrub missing info replaygain
# plugins: discogs musicbrainz autobpm edit embedart fetchart lastgenre scrub missing info replaygain
plugins: musicbrainz autobpm edit embedart fetchart lastgenre scrub missing info replaygain zero duplicates
paths:
default: $albumartist/$album%aunique{}/$track $title
replaygain:
backend: gstreamer
embedart:
auto: yes
ifempty: yes
remove_art_file: yes
zero:
fields: month day
duplicates:
keys:
- artist
- title
What peaked my interest was this query of my library:
$ beet ls "first day of my life"
Bright Eyes - I'm Wide Awake, It's Morning - First Day Of My Life
Bright Eyes - I’m Wide Awake, It’s Morning - First Day of My Life
To explain, I had been experimenting with importing files using MusicBrainz at one point, then Discogs to find other matches. I had been retagging these songs as they were in two different album directories. I correctly completed the retagging (now there is only one copy of the song, in only one album), but I was looking for ways to cleanup this in my library (I suspect that there are many others).
When I tried out, beet dup using the default set of keys (which uses MusicBrainz tags), I didn't see any duplicates. That's what prompted me to explore beet dup with keys of artist and title.
Problem
Running
beet duphas this erroneous output.Nothing is displayed by
: 1. Looking at the code, I suspect that the value of$pathis empty string and there is a count of 1. Both response are quite perplexing.I configured
duplicateswith two keys:artistandtitle.Setup
duplicatesplugihn.My configuration (output of
beet config) is:What peaked my interest was this query of my library:
To explain, I had been experimenting with importing files using MusicBrainz at one point, then Discogs to find other matches. I had been retagging these songs as they were in two different album directories. I correctly completed the retagging (now there is only one copy of the song, in only one album), but I was looking for ways to cleanup this in my library (I suspect that there are many others).
When I tried out,
beet dupusing the default set of keys (which uses MusicBrainz tags), I didn't see any duplicates. That's what prompted me to explorebeet dupwith keys ofartistandtitle.