amc script differentiate based on filesize

Any questions? Need some help?
Post Reply
juri
Posts: 2
Joined: 27 Nov 2016, 21:53

amc script differentiate based on filesize

Post 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.
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: amc script differentiate based on filesize

Post 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.
:idea: Please read the FAQ and How to Request Help.
juri
Posts: 2
Joined: 27 Nov 2016, 21:53

Re: amc script differentiate based on filesize

Post 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
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: amc script differentiate based on filesize

Post by rednoah »

Please share your command-line calls so that others can learn from your solution. ;)
:idea: Please read the FAQ and How to Request Help.
Post Reply