Hi,
this is not a git-annex problem, but more likely a way some software handles symlinks and/or do file-type detection.
my setup is a following: - multiple pc/laptop (linux) - one NAS (debian) - main repo for music/films/photos - all in git-annex - a Raspberry Pi (Raspbmc) - connected to the TV
I want to share all my films/music/.. to the Pi. So, i setup a r/o NFS and mounted that in the XBMC. So far this works, I see directories but XBMC do not recognize the media files. It works, if I "git-annex edit ..." the file.
My assumption is, that it follows the symlink, finds a file with no extension - and ignores that. In XBMC-config there is a list of supported filetypes by extension. ( .avi,.mpg,.foo,.bar )
What I have think of so far: - tell XBMC somehow to load all the files (did not work) - having some kind of (FUSE?) filter, which hides the symlink in a transparent way - creating via script hard-links in a seperate folder with same structure, mount that. - using some alternative to NFS ( like ftp, smb ) or a other kind of media-server (server-side)
any comments, ideas ? If i find a solution, I'll post it here.
.ka
I use samba. Just need to set
which causes samba to handle the symlinks internally.
The default git-annex backend for over a year now is SHA256E, which includes the filename extension in the key to deal with programs that rely on them. If you're not using that backend, you can
git annex migrate
to it.Or you can turn on direct mode, which will certainly solve the problem.
ah, great. I'll try the samba way. And i guess my git-annex is too old (using the git-annex version: 3.20120629~bpo60+2 from debian-backports) thanks !