I encountered a strange problem when I tried to import podcasts which are managed by git annex. Git-annex allows managing files with git, without checking the file contents into git. Instead it stores the file contents in a file with a git hash name and symlinks (or hardlinks I am not sure) to the original filename.
foo.mp3 --> .git/annex/objects/pf/pm/SHA256E-s16914521–676400037d2075ae1703dd1056f6a1feb64daccd334e23883d820f98ed577b20.mp3/SHA256E-s16914521–676400037d2075ae1703dd1056f6a1feb64daccd334e23883d820f98ed577b20.mp3
When I import this foo.mp3 (in fact I try to import folders with several thousand files) beet tries to import files that are not there with strange paths like this:
I have no idea why beet makes such a “recursion”.