fuse integreated
This commit is contained in:
@@ -30,8 +30,7 @@ func (se *ScriptExecutor) Execute() (string, error) {
|
||||
}
|
||||
|
||||
func OnLibraryUpdateHook(config config.ConfigInterface) {
|
||||
rlog := logutil.NewLogger()
|
||||
log := rlog.Named("hooks")
|
||||
log := logutil.NewLogger().Named("hooks")
|
||||
|
||||
executor := &ScriptExecutor{
|
||||
Script: config.GetOnLibraryUpdate(),
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,21 +1,22 @@
|
||||
package torrent
|
||||
|
||||
import (
|
||||
"sync"
|
||||
|
||||
"github.com/debridmediamanager.com/zurg/pkg/realdebrid"
|
||||
"github.com/elliotchance/orderedmap/v2"
|
||||
)
|
||||
|
||||
type Torrent struct {
|
||||
Version string
|
||||
realdebrid.Torrent
|
||||
SelectedFiles []File
|
||||
AccessKey string
|
||||
SelectedFiles *orderedmap.OrderedMap[string, *File]
|
||||
Directories []string
|
||||
LatestAdded string
|
||||
InProgress bool
|
||||
ForRepair bool
|
||||
lock *sync.Mutex
|
||||
|
||||
Instances []realdebrid.TorrentInfo
|
||||
}
|
||||
|
||||
type File struct {
|
||||
realdebrid.File
|
||||
Link string
|
||||
Unavailable bool
|
||||
Link string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user