Add media info filters
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
package config
|
||||
|
||||
import "os"
|
||||
import (
|
||||
"os"
|
||||
|
||||
"gopkg.in/vansante/go-ffprobe.v2"
|
||||
)
|
||||
|
||||
type ConfigInterface interface {
|
||||
GetConfig() ZurgConfig
|
||||
@@ -16,7 +20,7 @@ type ConfigInterface interface {
|
||||
GetPassword() string
|
||||
GetProxy() string
|
||||
GetDirectories() []string
|
||||
MeetsConditions(directory, torrentName string, torrentSize int64, torrentIDs, fileNames []string, fileSizes []int64) bool
|
||||
MeetsConditions(directory, torrentName string, torrentSize int64, torrentIDs, fileNames []string, fileSizes []int64, mediaInfos []*ffprobe.ProbeData) bool
|
||||
GetOnLibraryUpdate() string
|
||||
GetNetworkBufferSize() int
|
||||
EnableRetainFolderNameExtension() bool
|
||||
|
||||
Reference in New Issue
Block a user