syncthign debug
This commit is contained in:
parent
21e4b54f38
commit
997415c42f
@ -2,6 +2,7 @@ package main
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"io/fs"
|
||||
"os"
|
||||
"path/filepath"
|
||||
@ -38,6 +39,7 @@ func SymlinkFilesOnly(path string) bool {
|
||||
|
||||
func VideosOnly(path string) bool {
|
||||
streams, err := GetStreamsFromFile(path)
|
||||
fmt.Println("VIDEOS_ONLY", "DEBUG", streams, err)
|
||||
return err == nil && strings.Contains(streams, "video")
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user