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