Skip to content

missing: Format CLI option (-f) does not work in album mode #3804

Description

@syco

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..

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugbugs that are confirmed and actionablemissingmissing plugin

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions