syncthign debug

This commit is contained in:
Tordarus 2025-01-16 13:24:29 +01:00
parent 21e4b54f38
commit 997415c42f

View File

@ -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")
}