Ignore sample files as they will eclipse the real show :-(

paxomega

14-02-2009 23:40:47

I've recently changed my source of TV entertainment and am now finding I'm getting a lot of *sample* files. Is it possible to ignore sample files? I suppose something to ignore the *sample could be added to the Regex's (my Regexfu isn't up to snuff) but I don't think that's the right solution.

This is a problem as the sample and the actual content will get renamed to the same file - so it's possible that the complete file will get (effectively) ignored due to the presence of the sample (whichever comes first in the ordering will get renamed / copied).

sstteevvee

15-02-2009 15:30:44

It's as if you read my mind. I added that feature yesterday afternoon, so it will be in the next alpha version I upload (perhaps tonight). It has an option in Preferences to ignore filenames with 'sample' in them, defaulting to on.

primüs

15-02-2009 16:26:44

Next problem will be episodes where the title includes sample in it ;)

sstteevvee

15-02-2009 16:51:46

Ssssh.. That's why its an option. :)

After a bit more thought, I'm going to add a setting to define a maximum file size for a sample as well, so it has to be both "small" and have "sample" in it's name to be ignored.

Edit: How big do sample files usually get? I don't have any handy.

Edit 2: The latest alpha, now ignores samples less than a specified size.

paxomega

16-02-2009 22:06:02

Great Minds :-)

With regards to size ... the samples I have vary from 6-12 MB for SD AVIs, 18 MB for UK shows (ie 700MB SD /hr vs 350 MB SD /45 min US) and 28 MB for H.264 720p MKV.

I suspect it will be much easier to have a blanket exclude samples of size < X MB - and hard code in specific rules to get around anomolies (ala 24. Numb3rs) with regards to the "sample" ... actually ... this search http://www.tv.com/search.php?type=11&stype=program&qs=sample&pg_results=1&tag=pagination;next seems to show 648 episodes with sample in the name ... so perhaps the size rule would have to be it :)

pax

sstteevvee

17-02-2009 22:47:48

Thanks for that. For now, the default size a sample as to be smaller than is 50MB. If that ends up being a problem for people, it can be changed in the preferences dialog, or turned off altogether.