beets
beets copied to clipboard
missing: Format CLI option (-f) does not work in album mode
Hi,
the missing plugin doesn't use the format provided when listing missing albums.
Here's an example:
$ beet -vv missing -f '$mb_releasegroupid | $albumtype | $albumartist | $album' -a Accept
user configuration: /config/config.yaml
data directory: /config
plugin paths:
Sending event: pluginload
library database: /config/musiclibrary.blb
library directory: /music
Sending event: library_opened
Accept - Restless the Best
Accept - Breaker
Accept - The Best of Accept
Accept - I'm a Rebel / Breaker
Accept - Too Mean to Die
Accept - No Substitutes
Accept - Best of Accept
Accept - Restless & Wild / Balls to the Wall
Accept - The Collection
Accept - Metal Masters
Accept - Hungry Years
Sending event: cli_exit
Setup
- OS: Centos 7 + docker + linuxserver/beets
- Python version: 3.8.2
- beets version: 1.4.9
- Turning off plugins made problem go away (yes/no): didn't try
My configuration (output of beet config
) is:
plugins: convert discogs embedart fetchart lastgenre missing replaygain scrub web
directory: /music
library: /config/musiclibrary.blb
art_filename: albumart
threaded: yes
original_date: no
per_disc_numbering: no
format_album: $mb_releasegroupid § $albumtype § $albumartist § $album
format_item: $mb_releasegroupid § $albumtype § $albumartist § $album § $title
convert:
auto: yes
never_convert_lossy_files: yes
dest: /music
ffmpeg: /usr/bin/ffmpeg
opts: -ab 320k -ac 2 -ar 48000
format: mp3
#max_bitrate: 640
threads: 1
embedart:
auto: no
import:
write: yes
copy: yes
move: no
resume: ask
incremental: yes
quiet_fallback: skip
timid: no
log: /config/beet.log
fetchart:
auto: yes
lastgenre:
auto: yes
source: album
missing:
format: $mb_releasegroupid § $albumtype § $albumartist § $album § $title
count: no
total: no
paths:
default: $albumartist/$album%aunique{} [$year]/$track - $title
singleton: Singleton/$artist - $title
comp: Compilations/$album%aunique{} [$year]/$track - $title
albumtype_soundtrack: Soundtracks/$album [$year]/$track - $title
replaygain:
auto: no
scrub:
auto: yes
web:
host: 0.0.0.0
port: 8337
thanks..
Hmm, that's interesting! Does it work at all in non-album (track) mode?
Yes, in track mode it works as expected and uses the format from the command line if present, otherwise it uses the format from the configuration file.
Thanks
On Mon, 7 Dec 2020, 02:56 Adrian Sampson, [email protected] wrote:
Hmm, that's interesting! Does it work at all in non-album (track) mode?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/beetbox/beets/issues/3804#issuecomment-739632564, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAANKL6TIFUQPHQ7QBJNBODSTQ74PANCNFSM4UPJFELQ .
OK, thanks! Sounds like a bug.