You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently I try to import some mixtapes = single long audio files which are mixed by a DJ and consisting of several titles.
Problem
The Deezer plugin is the reason beets crashes everytime. It also happened yesterday with normal tracks of an album (sorry I deleted the logs already). If I deactivate the deezer plugin the mixtapes will be imported. What is the reason?
Running this command in verbose (-vv) mode:
beet -vv import -s --set track_type="mixtape".
Led to this problem:
# beet -vv import -s --set track_type="mixtape" .
user configuration: /Users/user/.config/beets/config.yaml
data directory: /Users/user/.config/beets
plugin paths:
Sending event: pluginload
inline: adding item field disc_and_track
inline: adding item field lossless_desc
library database: /Users/user/.config/beets/music.blb
library directory: /Volumes/mini/Music/Archiv_beets
Sending event: library_opened
Sending event: import_begin
ignoring b'.DS_Store' due to ignore rule b'.DS_Store'
Sending event: import_task_created
Sending event: import_task_start
badfiles: checking path: /Users/user/Music/tmp/Mixtapes/100% Beats by Dre.mp3
Sending event: import_task_created
badfiles: running command: mp3val "/Users/user/Music/tmp/Mixtapes/100% Beats by Dre.mp3"
Sending event: import_task_created
Sending event: import_task_created
Sending event: import_task_created
Sending event: import_task_created
Sending event: import_task_created
Sending event: import_task_created
Sending event: import_task_created
Sending event: import_task_created
Sending event: import_task_created
Sending event: import_task_created
Sending event: import_task_created
Sending event: import_task_created
Sending event: import_task_created
Sending event: import_task_created
Sending event: import_task_created
Sending event: import_task_created
Sending event: import_task_created
Sending event: import_task_created
Sending event: import_task_created
Sending event: import_task_created
Sending event: import_task_created
Sending event: import_task_created
Sending event: import_task_created
Sending event: import_task_created
Sending event: import_task_created
Sending event: import_task_created
Sending event: import_task_created
Sending event: import_task_created
Sending event: import_task_created
Sending event: import_task_created
chroma: chroma: fingerprinted b'/Users/user/Music/tmp/Mixtapes/100% Beats by Dre.mp3'
chroma: no match found
Looking up: /Users/user/Music/tmp/Mixtapes/100% Beats by Dre.mp3
Item search terms: Dre - 100% Beats by Dre
Sending event: mb_track_extract
Sending event: trackinfo_received
Sending event: mb_track_extract
Sending event: trackinfo_received
Sending event: mb_track_extract
Sending event: trackinfo_received
Sending event: mb_track_extract
Sending event: trackinfo_received
Sending event: mb_track_extract
Sending event: trackinfo_received
spotify: Searching Spotify for '100% Beats by Dre artist:Dre'
spotify: Found 0 result(s) from Spotify for '100% Beats by Dre artist:Dre'
deezer: Searching Deezer for '100% Beats by Dre artist:"Dre"'
deezer: Found 25 result(s) from Deezer for '100% Beats by Dre artist:"Dre"'
Traceback (most recent call last):
File "/usr/local/bin/beet", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.9/site-packages/beets/ui/__init__.py", line 1291, in main
_raw_main(args)
File "/usr/local/lib/python3.9/site-packages/beets/ui/__init__.py", line 1278, in _raw_main
subcommand.func(lib, suboptions, subargs)
File "/usr/local/lib/python3.9/site-packages/beets/ui/commands.py", line 973, in import_func
import_files(lib, paths, query)
File "/usr/local/lib/python3.9/site-packages/beets/ui/commands.py", line 943, in import_files
session.run()
File "/usr/local/lib/python3.9/site-packages/beets/importer.py", line 341, in run
pl.run_parallel(QUEUE_SIZE)
File "/usr/local/lib/python3.9/site-packages/beets/util/pipeline.py", line 442, in run_parallel
six.reraise(exc_info[0], exc_info[1], exc_info[2])
File "/usr/local/lib/python3.9/site-packages/six.py", line 719, in reraise
raise value
File "/usr/local/lib/python3.9/site-packages/beets/util/pipeline.py", line 309, in run
out = self.coro.send(msg)
File "/usr/local/lib/python3.9/site-packages/beets/util/pipeline.py", line 194, in coro
func(*(args + (task,)))
File "/usr/local/lib/python3.9/site-packages/beets/importer.py", line 1377, in lookup_candidates
task.lookup_candidates()
File "/usr/local/lib/python3.9/site-packages/beets/importer.py", line 912, in lookup_candidates
prop = autotag.tag_item(self.item, search_ids=self.search_ids)
File "/usr/local/lib/python3.9/site-packages/beets/autotag/match.py", line 520, in tag_item
for track_info in hooks.item_candidates(item, search_artist, search_title):
File "/usr/local/lib/python3.9/site-packages/beets/plugins.py", line 583, in decorated
for v in generator(*args, **kwargs):
File "/usr/local/lib/python3.9/site-packages/beets/autotag/hooks.py", line 652, in item_candidates
for candidate in plugins.item_candidates(item, artist, title):
File "/usr/local/lib/python3.9/site-packages/beets/plugins.py", line 401, in item_candidates
for item_candidate in plugin.item_candidates(item, artist, title):
File "/usr/local/lib/python3.9/site-packages/beets/plugins.py", line 763, in item_candidates
return [self.track_for_id(track_data=track) for track in tracks]
File "/usr/local/lib/python3.9/site-packages/beets/plugins.py", line 763, in <listcomp>
return [self.track_for_id(track_data=track) for track in tracks]
File "/usr/local/Cellar/[email protected]/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/beetsplug/deezer.py", line 159, in track_for_id
track = self._get_track(track_data)
File "/usr/local/Cellar/[email protected]/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/beetsplug/deezer.py", line 134, in _get_track
index=track_data['track_position'],
KeyError: 'track_position'
Here's a link to the music files that trigger the bug (if relevant):
Setup
OS: macOS 11.6
Turning off plugins made problem go away (yes/no): did not try
$ beet --plugins= version
beets version 1.5.0
Python version 3.9.7
no plugins loaded
Currently I try to import some mixtapes = single long audio files which are mixed by a DJ and consisting of several titles.
Problem
The Deezer plugin is the reason beets crashes everytime. It also happened yesterday with normal tracks of an album (sorry I deleted the logs already). If I deactivate the deezer plugin the mixtapes will be imported. What is the reason?
Running this command in verbose (
-vv
) mode:Led to this problem:
Here's a link to the music files that trigger the bug (if relevant):
Setup
My configuration (output of
beet config
) is:The text was updated successfully, but these errors were encountered: