fuse integreated

This commit is contained in:
Ben Sarmiento
2023-11-11 11:52:34 +01:00
29 changed files with 1074 additions and 1001 deletions

View File

@@ -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

View File

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