-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
lastgenre: force
config option doesn’t work
#2704
Comments
Hello! When you report a problem, it really helps us if you use the issue template. I know it looks like a lot of extra information, but actually including the verbose output from running the command and your versions can help us understand what's happening. |
Today I stumbled across the same problem - so I am trying to fill the issue template ProblemEven though I added lastgenre with I did re-run it for a single album and it always procudes the same output - Running this command in verbose ( $ beet -vv lastgenre albumartist:"Integrity" album:"The Blackest Curse"
Led to this problem:
Setup
My configuration (output of directory: /Volumes/music/
paths:
default: $albumartist/$album/%if{$disc == 0 && $totaldisc == 1, 01, $disc} - $track - $title
comp: Compilations/$album/%if{$disc == 0 && $totaldisc == 1, 01, $disc} - $track - $title
ignore: ['Ringtones', '#recycle', '.*', '*~', 'System Volume Information', 'lost+found', '.m4r']
format_item: ($format) $artist - $album - $track - $title
clutter: ['Thumbs.db', '.DS_Store', '*.m3u', '*.pls', '*.nfo', '*.sfv', '*.jpg', '*.jpeg', '*.png', '*.url', '*.URL', '*.txt', '*.ini']
import:
copy: no
write: yes
move: yes
plugins: [discogs, bandcamp, fetchart, embedart, chroma, zero, scrub, duplicates, missing, edit, lastgenre]
bandcamp:
art: true
fetchart:
cautious: true
minwidth: 200
maxwidth: 200
enforce_ratio: yes
sources: [filesystem, bandcamp, coverart, amazon, albumart, wikipedia, google]
zero:
fields: comments
update_database: true
lastgenre:
source: album
count: 10
force: yes
canonical: '~/Documents/git/india.kimpenhaus.home/beets/genres-tree.yaml'
whitelist: '~/Documents/git/india.kimpenhaus.home/beets/genres.txt'
prefer_specific: yes
min_weight: 20
fallback: ''
separator: ';'
missing:
format: $albumartist - $album - $title
count: no
total: no
edit:
itemfields: [track, title, artist, albumartist, album, genre]
If you need more detailed info I will gladly provide. |
Awesome! Thank you for all the extra detail. To confirm a suspicion, can you please try using the command-line flag equivalent (that is, use the beets/beetsplug/lastgenre/__init__.py Line 367 in a62e4ef
|
force
config option doesn’t work
Great!! This should be an easy fix. (I’m away from a computer right now, so anyone reading this thread is welcome to take credit for the necessary one-line change.) |
Problem
I want to write the popular genres from Last.fm in the metatags of my music.
I have the following configuration:
Now I run "beets lastgenre"
Other than what I had expected that beets would now write the 5 most popular genres into each file, it just outputs with (keep) and doesn't change anything to the genre metatag...
What could be going wrong here and how can I fix this?
Thanks a lot for any help!
The text was updated successfully, but these errors were encountered: