Bugzilla – Bug 2129
scan should ignore files with leading ._
Last modified: 2008-09-15 14:36:01 UTC
MacOS X writes resource information in files with leading ._ which may appear when read by other OSes. On my server (tank) in: /var/music/music/Compilations/Pure Funk/ there are a number of these files, ending with MP3. In addition to the the leading ._ they are only 82 bytes long and lack metadata and MP3 data, yet they still appear in the library. They didn't used to.
scan used to skip files with leading ., as in unix hidden files. however, a user complained that they actually INTEND to start filenames with . on non-unix systems. someone is going to have to lose out, or some os-dependant checks will have to be put in.
we should always ignore items with ._ leading. we should conditionally ignore items with . leading on *nix based machines. (i.e. non windows)
Fixed in subversion change 4305