Page 1 of 1

amc script differentiate based on filesize

Posted: 25 Dec 2016, 11:11
by juri
Hi,

First of all, filebot and the support that is provided through these forums is completely mind-blowing. The hours filebot has saved me are not countable. Please do keep up the superb work! :D

I am using the amc script in my automated setup with great success for a while now, but sometimes filebot runs into situations in which it can't differentiate between a movie and a tv episode.
Since i am only downloading hd movies in decent quality i can safely assume that a file which is < 5gb cannot be a movie.

I think checking the file size or maybe even the movie length beforehand would greatly reduce the number of unsorted files for me.

Is there a way to flag or add a label to processed files based on their size/length?

Any tips regarding this matter are greatly appreciated.

Re: amc script differentiate based on filesize

Posted: 25 Dec 2016, 11:48
by rednoah
The amc script does not support this kind of behaviour.

If you're on Linux or Mac, then you can easily use the find command and pass the results to FileBot if you want to call it on certain files. You can use labels to force movie/series mode as well.

Re: amc script differentiate based on filesize

Posted: 26 Dec 2016, 01:42
by juri
Ah I see. I haven't thought of passing find results to filebot yet. Shouldn't be too hard to incorporate into my bash script.

Thanks and happy holidays! :D

Re: amc script differentiate based on filesize

Posted: 26 Dec 2016, 08:48
by rednoah
Please share your command-line calls so that others can learn from your solution. ;)