skip a directory during scan

Jeff Mitchell mitchell at kde.org
Wed Oct 14 02:14:25 UTC 2009


Jakob Kummerow wrote:
>> I suppose one thing that could be done (but isn't available now) is to
>> put in a non-GUI option to have the scanner skip symlinks. Then you
>> could keep the folders you don't want added outside of the main tree but
>> symlink to them.
>>
>> Not sure if this is a good idea though.
> 
> It's a bit *nix-specific, I'd say (not that I'd care, I don't use
> Amarok on Windows...).
> I think it would be better to have Amarok check for files named
> ".amarok_ignore" (or something similar) and skip folders that contain
> such a file. Maybe the dot should even be omitted for better
> portability, because last time I checked it was impossible to create
> files starting with a dot using Windows Explorer (you had to use the
> command prompt, but most Win users are scared senseless by the mere
> thought of that, and/or wouldn't think of the possibility).

Ooh. Not a bad idea. Similar to how we auto-detect UMS devices.

Pretty interested in the idea, although I need to think about whether it
might cause any regressions to do such a thing. I don't think so, offhand.

If I can't think of any, then look for this to make its way to a release
pretty soon...

--Jeff

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/amarok/attachments/20091013/76940107/attachment.sig>


More information about the Amarok mailing list