ComChecker.sh is the script only version of the ComChecker software application for Mac. This script is designed to work on Linux and Mac and should be executed as a background process. I run this command on my server to execute and leave running as user sagetv:
Code:
su -c 'nohup /opt/sagetv/scripts/comchecker.sh 2>/dev/null 1>/dev/null &' sagetv
To use this script you must have WINE installed for your distro. It is also helpful to be using the donator version of comskip if you want to scan HDPVR files. Support for comskip as it pertains to accuracy, etc., can be found here. Please edit the script in your favorite editor and adjust the values as needed. Beginning in this version, I have added the ability to specify different multipliers so that you can control how many processes run on a per file type basis. This is handy because TS file scanning is more costly than MPG file scanning.
E.g.: If you set a base number of 50 and your MPG files are set to 10, you will be able to run 5 simultaneous executions of comskip.exe.
All math is treated in whole numbers, please increase the SIMUL variable to fine tune the numbers.
Questions on usage and bug reports should be handled in this thread.
Thanks,
B
Version .6 - 10-31-2009
Added support for nice. Per a user PM request. Thanks!
Version .5 - 9-20-2009
Added the capability to filter shows based on channel id. This requires the use of Stuckless' sagex.api plugin.