Passing Variables from a Filebot Script
Posted: 24 May 2015, 10:28
I was wondering how to pass variables from a filebot script. My main problem is this: I use the AMC script (fn: amc) very frequently to sort my new media. It is almost entirely automated except for a few things.
The first thing I would like to do is to have Filebot pass me the names of files it tried to move, but couldn't, because there was a duplicate of the file already existing. This happens when I am trying to replace an inferior quality version with a superior quality version, and would like to inspect the latter in the case of any conflicts.
The second thing I would like to do is to have Filebot pass the name of the folders it has moved the files to. I rely on Synology's Video Station as an integral part of my media server stack (because for some reason it serves up unpixellated video to certain players that Plex does not) and the annoying thing about it is that the reindexing function has to be manually triggered; there's no automated way to do it. Now, I could set up a simple cron job, but that's problematic, because my media library is fairly large (~20 TB), and takes 15 - 20 minutes to reindex the whole thing, which doesn't really go well when I want to immediately watch the latest Game of Thrones or something. I would like Filebot to pass the folders, which I would then pass an argument to the reindexing command, which would reindex those folders selectively.
Thanks for the program and thanks especially for the scripts,
RascalAlert
The first thing I would like to do is to have Filebot pass me the names of files it tried to move, but couldn't, because there was a duplicate of the file already existing. This happens when I am trying to replace an inferior quality version with a superior quality version, and would like to inspect the latter in the case of any conflicts.
The second thing I would like to do is to have Filebot pass the name of the folders it has moved the files to. I rely on Synology's Video Station as an integral part of my media server stack (because for some reason it serves up unpixellated video to certain players that Plex does not) and the annoying thing about it is that the reindexing function has to be manually triggered; there's no automated way to do it. Now, I could set up a simple cron job, but that's problematic, because my media library is fairly large (~20 TB), and takes 15 - 20 minutes to reindex the whole thing, which doesn't really go well when I want to immediately watch the latest Game of Thrones or something. I would like Filebot to pass the folders, which I would then pass an argument to the reindexing command, which would reindex those folders selectively.
Thanks for the program and thanks especially for the scripts,
RascalAlert