fix
This commit is contained in:
parent
bd75492b02
commit
06153d61c9
8 changed files with 108 additions and 135 deletions
cmd/tstor
|
@ -96,7 +96,11 @@ func run(configPath string) error {
|
|||
return fmt.Errorf("error creating service: %w", err)
|
||||
}
|
||||
|
||||
ytdlpsrv := ytdlp.NewService(conf.SourceDir)
|
||||
err = os.MkdirAll("./ytdlp", 0744)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
ytdlpsrv := ytdlp.NewService("./ytdlp")
|
||||
|
||||
sfs := sources.NewHostedFS(
|
||||
vfs.NewCtxBillyFs("/", ctxbilly.WrapFileSystem(sourceFs)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue