Linux watch folder
Linux watch folder
Hi,
I currently have a headless seedbox running remotely. In it rtorrent completes a download, then moves that file to a completed folder. what i need filebot to do is scan that folder constantly and rename the files with a hardlink to another folder where i have plex scanning and btsync sending to my local machine. I had couchpotato for years but its spotty at best and im tired of manually doing this everyday. Im happy to buy a license and support the cause if i can have someone hold my hand setting this up. Im completely newbified in linux besides basic commands]
Thanks,
Jay
I currently have a headless seedbox running remotely. In it rtorrent completes a download, then moves that file to a completed folder. what i need filebot to do is scan that folder constantly and rename the files with a hardlink to another folder where i have plex scanning and btsync sending to my local machine. I had couchpotato for years but its spotty at best and im tired of manually doing this everyday. Im happy to buy a license and support the cause if i can have someone hold my hand setting this up. Im completely newbified in linux besides basic commands]
Thanks,
Jay
Re: Linux watch folder
The amc script is typically used for any kind of unattended automation, and you will find integration examples for rT as well:
viewtopic.php?f=4&t=215#p5316
i.e. you'll configure rT to call filebot on newly completed downloads, instead of watching a folder for changes (which isn't nearly as reliable as you might hope)
Note that basic Linux skills are required. Just following instructions might work if you're lucky, or it might not, and basic Linux skills will become absolutely necessary in the latter case. So be prepared for a bit of a challenge. 
viewtopic.php?f=4&t=215#p5316
i.e. you'll configure rT to call filebot on newly completed downloads, instead of watching a folder for changes (which isn't nearly as reliable as you might hope)


Re: Linux watch folder
I've been reading about the AMC script. Can it be made to hardlink instead of copy?
Re: Linux watch folder
Yes, --action duplicate (as seen in all the examples) will hardlink if possible, and copy if necessary. You can use --action hardlink to make it explicit, or fail.
Re: Linux watch folder
ok i think i get the idea, can you just tell me how to tell the script what folder to look in? also, how does it know not to rename over and over as the files will be left for seeding
Re: Linux watch folder
rT will pass the input folder onto our glue logic script via arguments:
https://github.com/filebot/plugins/blob ... cess.sh#L4
We use --def excludeList in our glue logic script to keep track of processed files, and that will make sure we never process the same file twice:
https://github.com/filebot/plugins/blob ... ess.sh#L11
https://github.com/filebot/plugins/blob ... cess.sh#L4
We use --def excludeList in our glue logic script to keep track of processed files, and that will make sure we never process the same file twice:
https://github.com/filebot/plugins/blob ... ess.sh#L11
Re: Linux watch folder
ok thx.1 year license purchased.
Re: Linux watch folder
I decided to run in qbittorent. Heres what im tasked with. I run Medusa/SickRage as well. There are 4 categories. Movies, Kids Movies, TV Shows and Kids Shows. How would i go about doing this so when filebot is called by qbittorent everything ends up in the proper folders i.e. X:\Movies X:\Kids Movies Y:\TV Y:\Kids TV
Re: Linux watch folder
You'll have to customize the glue logic script to behave differently depending on what category you're dealing with at the moment.
Re: Linux watch folder
So based on what you are saying it will not recognize subfolder structure but it will know tv vs movie and create proper sub folders. Ex. X:/Media/Movies and X:/Media/TV.
Can the script call Plex for library scan?
Can the script call Plex for library scan?
Re: Linux watch folder
1.
FileBot will not recognize your subfolder structure. But you can customize your format to recognize your subfolder structure. By default, it will create Movies and TV Shows folders as defined by the {plex} default format.
2.
Yes. The amc script is well-documented in this regard.
FileBot will not recognize your subfolder structure. But you can customize your format to recognize your subfolder structure. By default, it will create Movies and TV Shows folders as defined by the {plex} default format.
2.
Yes. The amc script is well-documented in this regard.
Re: Linux watch folder
Thanks! Best 6 bucks I ever spent
Re: Linux watch folder
@rednoah
is there any chance someone has modified this to work with the bittorrent client? it looks a lot like utorrent and qbit and the % variables are similar but not all the same
is there any chance someone has modified this to work with the bittorrent client? it looks a lot like utorrent and qbit and the % variables are similar but not all the same
Re: Linux watch folder

If it's a client where there's no instructions yet, you can look at the existing ones, understand how it works, then read up on how your bittorrent client of choice works, and then apply your newfound knowledge and perhaps share it with us here.
