Hi,
I was trying some new plugins (web, spotify) today but they don’t seem to be working.
I’ve added them to my config as any other plugin I’m running.
But running the following command
beet spotify zita swoon
Returns the folling error
error: unknown command 'spotify'
beet web
Throws the error
error: unknown command 'web'
I’m using the latest 1.4.8. release
Thanks, Jan
Ps: I’ve tested that other functions do work: import, list, convert etc.
adrian
2
Can you please include your current configuration?
Here it is, thanks!
library: ~/Music/Beets/musiclibrary.db
directory: /Volumes/Tunez
import:
write: yes
copy: yes
move: no
link: no
hardlink: no
delete: no
resume: ask
incremental: no
incremental_skip_later: no
from_scratch: no
quiet_fallback: skip
none_rec_action: ask
timid: no
log:
autotag: yes
quiet: no
singletons: no
default_action: apply
languages: []
detail: no
flat: no
group_albums: no
pretend: false
search_ids: []
duplicate_action: ask
bell: no
set_fields: {}
clutter: ["Thumbs.DB", ".DS_Store"]
ignore: [".*", "*~", "System Volume Information", "lost+found"]
ignore_hidden: yes
replace:
'[\\/]': _
'^\.': _
'[\x00-\x1f]': _
'[<>:"\?\*\|]': ''
'\.$': _
'\s+$': ''
'^\s+': ''
'^-': _
path_sep_replace: _
asciify_paths: false
art_filename: cover
max_filename_length: 0
aunique:
keys: albumartist album
disambiguators: albumtype year samplerate label catalognum albumdisambig releasegroupdisambig
bracket: '()'
plugins: inline the lastgenre discogs chroma acousticbrainz fromfilename fetchart embedart ftintitle edit info spotify missing types convert plexupdate web smartplaylist
pluginpath: []
threaded: yes
timeout: 5.0
per_disc_numbering: no
verbose: 0
terminal_encoding:
original_date: no
artist_credit: no
id3v23: no
va_name: "Various Artists"
zero:
fields: comments
update_database: true
# Inline plugin template
item_fields:
multidisc: 1 if disctotal > 1 else 0
my_samplerate: round(samplerate / 1000)
is_flac: 1 if format == "FLAC" else 0
album_fields:
format: |
formatList = []
for item in items:
formatList.append(item.format)
return formatList
av_bitrate: |
total = 0
for item in items:
total += item.bitrate
return round(total / len(items) / 1000)
album_bitdepth: |
total = 0
for item in items:
total += item.bitdepth
return round(total / len(items))
album_samplerate: |
total = 0
for item in items:
total += item.samplerate
return round(total / len(items) / 1000)
ui:
terminal_width: 80
length_diff_thresh: 10.0
color: yes
colors:
text_success: green
text_warning: yellow
text_error: red
text_highlight: red
text_highlight_minor: lightgray
action_default: turquoise
action: blue
format_item: $artist - $album - $title
format_album: $albumartist - $album
time_format: '%Y-%m-%d %H:%M:%S'
format_raw_length: no
sort_album: albumartist+ album+
sort_item: artist+ album+ disc+ track+
sort_case_insensitive: yes
paths:
default: 'Albums/%the{$albumartist}/$album (%if{$original_year,$original_year}) %aunique{albumartist album year, albumdisambig}%if{$albumdisambig,($albumdisambig $year) }%if{$is_flac,($format $bitdepth-$my_samplerate),($format $av_bitrate)}/%if{$multidisc,$disc-}$track - $title'
dancetrack:1: 'Singles Dance/$artist - $title (%if{$original_year,$original_year}) %aunique{albumartist album year, albumtype label catalognum albumdisambig}%if{$albumdisambig,($albumdisambig$ $year)}($bpm bpm)'
artistsingles:1: 'Albums/%the{$albumartist}/$album/$title'
custcomp:1: 'Compilations/$album/$track - $artist - $title'
custcompmin:1: 'Compilations/$album/$artist - $title'
singleton: 'Singles/$artist - $title %aunique{albumartist album year, albumtype label catalognum albumdisambig}%if{$albumdisambig,($albumdisambig$ $year)}'
comp: 'Compilations/$album (%if{$original_year,$original_year}) %aunique{albumartist album year, albumtype label catalognum albumdisambig}%if{$albumdisambig,($albumdisambig $year) }%if{$is_flac,($format $bitdepth-$my_samplerate),($format $av_bitrate)}/%if{$multidisc,$disc-}$track - $artist - $title'
statefile: state.pickle
musicbrainz:
host: musicbrainz.org
ratelimit: 1
ratelimit_interval: 1.0
searchlimit: 5
match:
strong_rec_thresh: 0.04
medium_rec_thresh: 0.25
rec_gap_thresh: 0.25
max_rec:
missing_tracks: medium
unmatched_tracks: medium
distance_weights:
source: 2.0
artist: 3.0
album: 3.0
media: 1.0
mediums: 1.0
year: 1.0
country: 0.5
label: 0.5
catalognum: 0.5
albumdisambig: 0.5
album_id: 5.0
tracks: 2.0
missing_tracks: 0.9
unmatched_tracks: 0.6
track_title: 3.0
track_artist: 2.0
track_index: 1.0
track_length: 2.0
track_id: 5.0
preferred:
countries: []
media: ['CD', 'Digital Media|File']
original_year: no
ignored: []
required: []
ignored_media: []
ignore_data_tracks: yes
ignore_video_tracks: yes
track_length_grace: 10
track_length_max: 30
chroma:
auto: no
fetchart:
auto: yes
cautious: no
cover_names: cover front art album folder
minwidth: 290
maxwidth: 1050
sources: filesystem coverart amazon fanart albumart
fanarttv_key: f923f8140fa18e02f2de4383519d09a
acoustid:
apikey: VqzdnliViG
embedart:
auto: yes
ifempty: no
lastgenre:
auto: yes
canonical: no
count: 1
force: yes
source: album
whitelist: yes
min_weight: 10
fallback:
separator: ', '
prefer_specific: no
types:
danceable: float
mood_aggressive: float
mood_happy: float
chords_number_rate: float
chords_scale: float
key_strength: float
average_loudness: float
chords_changes_rate: float
mood_electronic: float
mood_sad: float
mood_acoustic: float
mood_party: float
danceable: float
mood_relaxed: float
tonal: float
av_bitrate: int
my_samplerate: int
bitdepth: int
album_bitdepth: int
album_samplerate: int
convert:
dest: ~/Music/BeetExports
command: ffmpeg -i $source -y -vn -aq 0 $dest
extension: mp3
format: mp3
never_convert_lossy_files: yes
plex:
host: localhost
port: 32400
token: 4DupXNf2WUrFe7xcQGzW
lastfm:
user: janpeeters
smartplaylist:
relative_to: /Volumes/Tunez
playlist_dir: /Playlists
playlists:
- name: boniver.m3u
query: 'bon iver'
adrian
4
That all looks fine from here! Does beet version
say anything interesting about the loaded plugins?
Ah that was just too stupid for words… I see now that BBedit openend a copy of my last config file and not the real file. Sorry for wasting your time!
1 Like