Dear all
I have a bit a hard time to figure out the correct syntax. Maybe someone could give me a hand?
I would like to label video files according their language - if any has been detected by filebot. If none has been found, it should remain empty.
Therefore I have {lang} in my formating ...
Search found 8 matches
- 20 Dec 2017, 12:31
- Forum: Scripting and Automation
- Topic: Conditional formating "LANG"
- Replies: 2
- Views: 2891
- 20 Dec 2017, 12:12
- Forum: Feature Requests and Bug Reports
- Topic: Feature Request: batch return values
- Replies: 1
- Views: 1948
Feature Request: batch return values
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. https://www.filebot.net/forums/viewtopic.php?t=5536
(Sorry, if it would be possible already. Then I would be glad for guide line ...
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. https://www.filebot.net/forums/viewtopic.php?t=5536
(Sorry, if it would be possible already. Then I would be glad for guide line ...
- 20 Dec 2017, 10:26
- Forum: Scripting and Automation
- Topic: Bash: FileBot get path of processed files (without history)?
- Replies: 9
- Views: 9673
Re: Bash: FileBot get path of processed files (without history)?
maybe to add. My initial question was how to get the new file name.
I do this now by cutting (regexp) the screen output.
1/ get all return values into a variable $ret
2/ cut out the from/to values into $newpath
Honestly, I am not too happy about my solution. I regard it as conceptually wrong ...
I do this now by cutting (regexp) the screen output.
1/ get all return values into a variable $ret
2/ cut out the from/to values into $newpath
Honestly, I am not too happy about my solution. I regard it as conceptually wrong ...
- 19 Dec 2017, 11:07
- Forum: Scripting and Automation
- Topic: Bash: FileBot get path of processed files (without history)?
- Replies: 9
- Views: 9673
Re: Bash: FileBot get path of processed files (without history)?
Hi
I have re-made the script as discussed. Please find it below. Feedback welcome. (don't be to harsh ;-))
.. and mind the line brakes when copy/paste.
Greetings,
n3
#!/bin/bash
# Watches a directory for new files.
# Fires up filebot to rename directory and files.
# Eventually transfers to a ...
I have re-made the script as discussed. Please find it below. Feedback welcome. (don't be to harsh ;-))
.. and mind the line brakes when copy/paste.
Greetings,
n3
#!/bin/bash
# Watches a directory for new files.
# Fires up filebot to rename directory and files.
# Eventually transfers to a ...
- 05 Dec 2017, 16:18
- Forum: Scripting and Automation
- Topic: Bash: FileBot get path of processed files (without history)?
- Replies: 9
- Views: 9673
Re: Bash: FileBot get path of processed files (without history)?
1. yes
2.
Thank you for the example. I'll follow up on that.
3.
Any yes; multipart files wouldn't work with my script.
.. maybe not even music files if the directory would have been deleted after the first detection of media file
.. I shall spend more than 2 minutes for the conceptional work of ...
2.
Thank you for the example. I'll follow up on that.
3.
Any yes; multipart files wouldn't work with my script.
.. maybe not even music files if the directory would have been deleted after the first detection of media file
.. I shall spend more than 2 minutes for the conceptional work of ...
- 05 Dec 2017, 15:31
- Forum: Scripting and Automation
- Topic: Bash: FileBot get path of processed files (without history)?
- Replies: 9
- Views: 9673
Re: Bash: FileBot get path of processed files (without history)?
There are several program that return somehow values in shell in the way shown (?).
Like $a='ls -l'
Nevertheless, I guess I got your point! thx.
That will work. I can do it with --exec myprogram.sh parameter1 parameter2 parameterN
And I probably understand your confusion: I have filebot is ...
Like $a='ls -l'
Nevertheless, I guess I got your point! thx.
That will work. I can do it with --exec myprogram.sh parameter1 parameter2 parameterN
And I probably understand your confusion: I have filebot is ...
- 05 Dec 2017, 14:45
- Forum: Scripting and Automation
- Topic: Bash: FileBot get path of processed files (without history)?
- Replies: 9
- Views: 9673
Re: Bash: FileBot get path of processed files (without history)?
Hi redNoah
Thank you for your kind explanation!
I understand, that there is no way to access the history variables (such as $to; $from; $date) directly.
Indeed, I don't use the log file by intention as I have no use for - unless debugging. I'd be fine to have filebot in multible instances ...
Thank you for your kind explanation!
I understand, that there is no way to access the history variables (such as $to; $from; $date) directly.
Indeed, I don't use the log file by intention as I have no use for - unless debugging. I'd be fine to have filebot in multible instances ...
- 05 Dec 2017, 08:44
- Forum: Scripting and Automation
- Topic: Bash: FileBot get path of processed files (without history)?
- Replies: 9
- Views: 9673
Bash: FileBot get path of processed files (without history)?
Dear all
I have media files coming into a directory. This media files shall be renamed according the media type.
This works fine so far with below script (bash). Thanks to the file bot team for such a great tool! Amazing!
I'd like to enhance the script by the following logiv:
- delete the source ...
I have media files coming into a directory. This media files shall be renamed according the media type.
This works fine so far with below script (bash). Thanks to the file bot team for such a great tool! Amazing!
I'd like to enhance the script by the following logiv:
- delete the source ...