We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64c983d commit 76a9eaaCopy full SHA for 76a9eaa
1 file changed
services/fs.go
@@ -90,13 +90,16 @@ func StartFileScan(directoryPath string) {
90
}
91
92
func FindVideoFiles(dirPath string, videoFiles *[]string) error {
93
-
94
files, err := ioutil.ReadDir(dirPath)
95
if err != nil {
96
return err
97
98
99
for _, file := range files {
+ if strings.HasPrefix(file.Name(), ".") {
100
+ continue
101
+ }
102
+
103
filePath := filepath.Join(dirPath, file.Name())
104
105
if file.IsDir() {
0 commit comments