I used to save movies with the srt subtitle files next to them.
Usually vlc finds it because it's on the same directory than the movie file, however with git annex the link is located on another folder. So after adding movies to git, the subtitles doesn't load anymore.
couldn't find a quick fix. I'm thinking a bash script, but wanted to discuss it here with all annex users.
I know It's out of annex scope, but I think a movie archive is a great scenario for git-annex. most of my HD is filled up with movies from the camcorder, screencast, etc... And we usually don't modify those files
From what you say, it seems that vlc is following the symlink to the movie content, and then looking for subtitles next to the file the symlink points to. It would have to explicitly realpath the symlink to have this behavior, and this sounds like a misfeature.. perhaps you could point out to the vlc people the mistake in doing so?
There's a simple use-case where this behavior is obviously wrong, without involving git-annex. Suppose I have a movie, and one version of subtitles for it, in directory
foo
. I want to modify the subtitles, so I make a new directorybar
, symlink the large movie file fromfoo
to save space, and copy over and edit the subtitles fromfoo
. Now I run vlc inbar
to test my new subtitles. If it ignores the locally present subtitles and goes off looking for the ones inbar
, I say this is broken behavior.git annex unannex
the ones you've already annexed.)