Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
syco opened this issue Dec 6, 2020 · 3 comments
Open

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

syco opened this issue Dec 6, 2020 · 3 comments
Labels
bug bugs that are confirmed and actionable

Comments

@syco
Copy link

syco commented Dec 6, 2020

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

@sampsyo
Copy link
Member

sampsyo commented Dec 7, 2020

Hmm, that's interesting! Does it work at all in non-album (track) mode?

@sampsyo sampsyo added the needinfo We need more details or follow-up from the filer before this can be tagged "bug" or "feature." label Dec 7, 2020
@syco
Copy link
Author

syco commented Dec 7, 2020 via email

@sampsyo sampsyo changed the title missing plugin format for albums missing: Format CLI option (-f) does not work in album mode Dec 7, 2020
@sampsyo sampsyo added bug bugs that are confirmed and actionable and removed needinfo We need more details or follow-up from the filer before this can be tagged "bug" or "feature." labels Dec 7, 2020
@sampsyo
Copy link
Member

sampsyo commented Dec 7, 2020

OK, thanks! Sounds like a bug.

This was referenced Jan 18, 2021
mishka81 added a commit to mishka81/beets that referenced this issue Mar 4, 2024
mishka81 added a commit to mishka81/beets that referenced this issue Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bugs that are confirmed and actionable
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants