mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Make ffmpeg download location more portable (#1384)
* Download ffmpeg to config path * Add setup message for ffmpeg download * Handle missing ffmpeg in tasks
This commit is contained in:
@@ -15,7 +15,9 @@ import (
|
||||
)
|
||||
|
||||
func (r *mutationResolver) MetadataScan(ctx context.Context, input models.ScanMetadataInput) (string, error) {
|
||||
manager.GetInstance().Scan(input)
|
||||
if err := manager.GetInstance().Scan(input); err != nil {
|
||||
return "", err
|
||||
}
|
||||
return "todo", nil
|
||||
}
|
||||
|
||||
@@ -71,7 +73,9 @@ func (r *mutationResolver) ExportObjects(ctx context.Context, input models.Expor
|
||||
}
|
||||
|
||||
func (r *mutationResolver) MetadataGenerate(ctx context.Context, input models.GenerateMetadataInput) (string, error) {
|
||||
manager.GetInstance().Generate(input)
|
||||
if err := manager.GetInstance().Generate(input); err != nil {
|
||||
return "", err
|
||||
}
|
||||
return "todo", nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user