beville / ComicStreamer

Apache License 2.0
168 stars 91 forks source link

ComicStreamer should ignore folders the system considers hidden #26

Open wyldphyre opened 9 years ago

wyldphyre commented 9 years ago

Please make Comic Streamer ignore folders that the system considers hidden. This should be the default I think. The inclusion of these folders in the database scan seems silly.

Reason: I've just started using Bit Torrent Sync (in OS X) on the folder I have ComicStreamer pointed at. Because Bit Torrent Sync creates a '.sync' folder in the root of each folder it syncs, the end result is I now have a lot of duplicated entries in Comic Streamer because it doesn't ignore the '.sync' folder.

davide-romanini commented 9 years ago

Added some code to ignore dot files and dirs. I made it by default, so if someone actually used hidden directories to store comics this update will remove them from index! I suppose this is not the case however.