beets icon indicating copy to clipboard operation
beets copied to clipboard

Import --set is not working

Open slyfoxgh opened this issue 11 months ago • 3 comments

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

slyfoxgh avatar Mar 20 '24 23:03 slyfoxgh

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

arsaboo avatar Mar 21 '24 00:03 arsaboo

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 avatar Mar 21 '24 02:03 slyfoxgh

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/

slyfoxgh avatar Mar 24 '24 15:03 slyfoxgh