Feature Request: batch return values
Posted: 20 Dec 2017, 12:12
Dear all
Thank you for the enormous effort you put into filebot.
A great tool indeed!
I'd like to introduce an idea, based on a question I have raised earlier here. viewtopic.php?t=5536
(Sorry, if it would be possible already. Then I would be glad for guide line)
use case:
I can call filebot in scripts in windows or unix-like shell environments.
It allows me to store its return values into a variable or array for further processing.
Example usage:
returnvariable='filebot.....'
- or -
filebot -screen="returnvariable"
# my return
echo "PathFrom: $returnvariable[2]"
echo "PathTo: $returnvariable[3]"
Possible solution
Adding a new flag, maybe --def "batch" enables a new formating of the output. Or like putting the output directly into a variable like filebot -screen.
Greetings
Oliver
Thank you for the enormous effort you put into filebot.
A great tool indeed!
I'd like to introduce an idea, based on a question I have raised earlier here. viewtopic.php?t=5536
(Sorry, if it would be possible already. Then I would be glad for guide line)
use case:
I can call filebot in scripts in windows or unix-like shell environments.
It allows me to store its return values into a variable or array for further processing.
Example usage:
returnvariable='filebot.....'
- or -
filebot -screen="returnvariable"
# my return
echo "PathFrom: $returnvariable[2]"
echo "PathTo: $returnvariable[3]"
Possible solution
Adding a new flag, maybe --def "batch" enables a new formating of the output. Or like putting the output directly into a variable like filebot -screen.
Greetings
Oliver