ravachol / kew

A command-line music player
GNU General Public License v2.0
567 stars 21 forks source link

git-annex support: add a way to skip a folder or not follow symlinks #97

Closed anarcat closed 9 months ago

anarcat commented 9 months ago

Hi!

I'm a heavy git-annex user which means my music typically is a forest of symlinks to a .git/annex directory, which means many applications get confused and do ... interesting things.

In the case of kew, it does, I think, two things:

  1. it duplicates files, as it files the symlinks and their targets
  2. for targets, it displays them as SHA256E-s1093632--6dc57e45ba7f81ed48ab6e581335bd2fb6271e40934c97931c6684cea3eec0b9.mp3 (because that's the actual target of the symlink) which is... not very intuitive

There are typically two solutions for this:

  1. add a way to ignore a folder, typically in this case we would skip the .git folder altogether
  2. do not follow symlinks

Note that the latter without the former might not work, but the former only would probably work.

Thanks, impressive software! :)

ravachol commented 9 months ago

Hi,

Thank you. Maybe it can skip hidden directories altogether, would that do for you?

ravachol commented 9 months ago

version 1.9 ignores hidden directories.