fuxxy serch + rebuild script

This commit is contained in:
Olive Vaughn 2026-08-26 00:34:45 -04:00
parent 6625e5927e
commit 27ce5a4a92
3 changed files with 73 additions and 5 deletions

View file

@ -45,6 +45,10 @@ func Scan(rootDir string) ([]MediaFile, error) {
return nil
}
if strings.HasPrefix(d.Name(), "._") {
return nil
}
ext := strings.ToLower(filepath.Ext(d.Name()))
if !videoExtensions[ext] {
return nil