syncthign debug
This commit is contained in:
		| @ -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") | ||||
| } | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user