Added file system access
This commit is contained in:
parent
0f75e3451d
commit
05eb5c7abd
@ -21,7 +21,7 @@ import (
|
|||||||
"github.com/fatih/color"
|
"github.com/fatih/color"
|
||||||
)
|
)
|
||||||
|
|
||||||
var ticker = time.NewTicker(200 * time.Millisecond)
|
var ticker = time.NewTicker(50 * time.Millisecond)
|
||||||
|
|
||||||
// Shell parameters
|
// Shell parameters
|
||||||
var from int
|
var from int
|
||||||
@ -86,6 +86,18 @@ func work(anime *arn.Anime) error {
|
|||||||
|
|
||||||
system := ipo.System{
|
system := ipo.System{
|
||||||
Inputs: []ipo.Input{
|
Inputs: []ipo.Input{
|
||||||
|
&inputs.FileSystemImage{
|
||||||
|
URL: path.Join(originals, anime.ID+".png"),
|
||||||
|
},
|
||||||
|
&inputs.FileSystemImage{
|
||||||
|
URL: path.Join(originals, anime.ID+".jpg"),
|
||||||
|
},
|
||||||
|
&inputs.FileSystemImage{
|
||||||
|
URL: path.Join(originals, anime.ID+".jpeg"),
|
||||||
|
},
|
||||||
|
&inputs.FileSystemImage{
|
||||||
|
URL: path.Join(originals, anime.ID+".gif"),
|
||||||
|
},
|
||||||
&inputs.NetworkImage{
|
&inputs.NetworkImage{
|
||||||
URL: anime.Image.Original,
|
URL: anime.Image.Original,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user