fuxxy serch + rebuild script
This commit is contained in:
parent
6625e5927e
commit
27ce5a4a92
3 changed files with 73 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue