General Questions about automation
General Questions about automation
I want to change from Couchpotato just to Filebot and download manually. What is the best way to automate this? Just run the script every 5 min with cron or can it detect when something is added to a folder? And how would my script look like with this format: /media/Filme/{n} ({y})/{n} ({y}) - ({vf}.{source}.{af}){'.'+lang}? Or would be groover better for this task and what is groover?
Re: General Questions about automation
1.
You'd probably want to use the amc script and call it whenever new files are added, or in intervals, depending on what tools are available to you.
e.g.
viewtopic.php?f=4&t=3908
2.
The amc script allows you to pass in custom formats via cmdline options.
3.
What is a "groover" indeed... IDK... you don't need one though.
You'd probably want to use the amc script and call it whenever new files are added, or in intervals, depending on what tools are available to you.
e.g.
viewtopic.php?f=4&t=3908
2.
The amc script allows you to pass in custom formats via cmdline options.
3.
What is a "groover" indeed... IDK... you don't need one though.
Re: General Questions about automation
1. Is this only for Mac? I use debian on my server
3.Sorry I meant the groovy programming language
3.Sorry I meant the groovy programming language
Re: General Questions about automation
1.
Automator is for Mac but I'm sure there's similar tools for Windows and your favourite flavour of Linux.
e.g.
http://unix.stackexchange.com/questions ... -new-files
Feel free to make a tutorial once you figure out how to do it with inotify.
3.
You don't need to write any Groovy code. Bash and Google skills will be helpful though.
Automator is for Mac but I'm sure there's similar tools for Windows and your favourite flavour of Linux.
e.g.
http://unix.stackexchange.com/questions ... -new-files
Feel free to make a tutorial once you figure out how to do it with inotify.

3.
You don't need to write any Groovy code. Bash and Google skills will be helpful though.

Re: General Questions about automation
My script is filebot -script fn:amc --action move -non-strict "/media/downloads" --log-file amc.log --def excludeList=amc.txt --def plex=host:PLEXTOKEN --def clean=y --def movieFormat="/media/Filme/{n} ({y})/{n} ({y}) - ({vf}.{source}.{af}){'.'+lang}" seriesFormat="/media/Serien/{n}/{'Staffel' +s}/{n} {s00e00} - ({vf}.{source}.{af}){'.'+lang}" --conflict auto
But inotifywait doesn't work for me unfortunately because I mount my media over NFS and inotifywait doesn't work with NFS. I guess I'll have to set up a crontab which runs every 10 mins or so.
I now use my synology to run the script every 15 mins
But inotifywait doesn't work for me unfortunately because I mount my media over NFS and inotifywait doesn't work with NFS. I guess I'll have to set up a crontab which runs every 10 mins or so.
I now use my synology to run the script every 15 mins
Re: General Questions about automation
You didn't specify --output which is required (or it'll default to the current working directory).
I'd explicitly specify it:
I'd explicitly specify it:
Code: Select all
--output "/media" --def movieFormat="Filme/{n} ({y})/{n} ({y}) - ({vf}.{source}.{af}){'.'+lang}" seriesFormat="/media/Serien/{n}/{'Staffel' +s}/{n} {s00e00} - ({vf}.{source}.{af}){'.'+lang}"