syncthign debug
This commit is contained in:
parent
21e4b54f38
commit
997415c42f
@ -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")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user