beetbox / beets

music library manager and MusicBrainz tagger
http://beets.io/
MIT License
12.79k stars 1.82k forks source link

Import --set is not working #5157

Open slyfoxgh opened 6 months ago

slyfoxgh commented 6 months ago

None of these commands set the genre when importing.

beets version 1.6.1

beet import --set genre="Soundtrack" or beet import --set genre=Soundtrack

arsaboo commented 6 months ago

That command should work unless you have tagging disabled in the config.

slyfoxgh commented 6 months ago

Should it be enabled?

directory: /music
import:
  move: yes
  write: yes
  embed: yes
  log: beetslog.txt
art_filename: albumart
plugins: bpd albumtypes bandcamp spotify fetchart embedart lastgenre the convert permissions duplicates
pluginpath: ~/beets/myplugins
ui:
  color: yes

paths:
  default: Music/%the{$albumartist}/$album/$track $title
  singleton: "Music/%the{$albumartist}/Singles/$track $title"
  genre:Soundtrack: "Soundtracks/$albumartist/$album/$track $title"
  genre:Score: "Soundtracks/$albumartist/$album/$track $title"
  genre:Game Soundtrack: "Soundtracks/$albumartist/$album/$track $title"
  genre:Game Score: 'Soundtracks/$albumartist/$album/$track $title'
  comp: "Music/Compilations/$album/$track $title"

albumtypes:
  types:
    - ep: 'EP'
    - single: 'Single'
    - soundtrack: 'OST'
    - soundtrack: 'Score'
    - live: 'Live'
    - compilation: 'Anthology'
    - remix: 'Remix'
  ignore_va: compilation
  bracket: '[]'

fetchart:
  minwidth: 400
  enforce_ratio: 10px
  sources: filesystem itunes amazon albumart coverart

embedart:
  auto: yes

bandcamp:
  include_digital_only_tracks: true
  search_max: 2
  art: yes
  comments_separator: "\n---\n"
  exclude_extra_fields: []
  genre:
    capitalize: Yes
    maximum: 0 # no maximum
    always_include: []
    mode: progressive  # classical, progressive or psychedelic

convert:
  auto: no
  embed: yes 
  no_convert: path::\.(m4a)$
  never_convert_lossy_files: yes
  dest: "/music/converted"
  max_bitrate: 256
  threads: 4
  command: ffmpeg -i $source -y -vn -acodec aac -ab 256k $dest
  extension: m4a

permissions:
    file: 777
    dir: 777        
slyfoxgh commented 6 months ago

Any suggestions? I've tried adding the import folder before and after --set and the result is the same, media is imported into the general Music folder with various tags rather than the Soundtrack tag.

beet import --set genre="Soundtrack" downloads/