Git annex and beets

Hi all,

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.

Example:

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:

foo.mp3/foo.mp3/foo.mp3/bar.mp3

I have no idea why beet makes such a “recursion”.

Any hints?
juh

Hmm, it’s a little hard to tell without more details… can you include some ls -R output and verbose output from beets showing what’s going on?