diff options
author | Bob Igo <bob@stormlogic.com> | 2009-08-03 18:53:12 (GMT) |
---|---|---|
committer | Bob Igo <bob@stormlogic.com> | 2009-08-03 18:53:12 (GMT) |
commit | 2187f9f2d598ba7fb6e7f73dffcb66630dc8bc77 (patch) | |
tree | 44f8ad65eec6a213d5481131b9234efc6e8937b4 /abs/core-testing/tweaker | |
parent | 9c263f64907a0b3155a632c92b17d3b480f17fda (diff) | |
download | linhes_pkgbuild-2187f9f2d598ba7fb6e7f73dffcb66630dc8bc77.zip linhes_pkgbuild-2187f9f2d598ba7fb6e7f73dffcb66630dc8bc77.tar.gz linhes_pkgbuild-2187f9f2d598ba7fb6e7f73dffcb66630dc8bc77.tar.bz2 |
First attempt at integrating removecommercials user job script
Diffstat (limited to 'abs/core-testing/tweaker')
-rwxr-xr-x | abs/core-testing/tweaker/bin/twk_general.pl | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/abs/core-testing/tweaker/bin/twk_general.pl b/abs/core-testing/tweaker/bin/twk_general.pl index f181310..4a18f1e 100755 --- a/abs/core-testing/tweaker/bin/twk_general.pl +++ b/abs/core-testing/tweaker/bin/twk_general.pl @@ -363,7 +363,9 @@ sub implement_option { change_or_make_setting('JobAllowCommFlag', '1'); change_or_make_setting('JobAllowTranscode', '1'); change_or_make_setting('JobAllowUserJob1', '1'); - change_or_make_setting('JobAllowUserJob2', '2'); + change_or_make_setting('JobAllowUserJob2', '1'); + change_or_make_setting('JobAllowUserJob3', '1'); + change_or_make_setting('JobAllowUserJob4', '1'); change_or_make_setting('JobQueueCPU','0'); change_or_make_setting('JobQueueCheckFrequency','60'); change_or_make_setting('JobQueueCommFlagCommand','mythcommflag'); @@ -405,13 +407,14 @@ sub implement_option { change_or_make_setting('StartupSecsBeforeRecording', '120'); change_or_make_setting('TruncateDeletesSlowly', '1'); change_or_make_setting('UseOutputPictureControls', '1'); - change_or_make_setting('UserJob2', 'myth2x264 \"%DIR%/%FILE%\" \"%TITLE% - %SUBTITLE%\" \"%CHANID%\" \"%STARTTIME%\" \"%JOBID%\"'); - change_or_make_setting('UserJob3', 'myth2xvid \"%DIR%/%FILE%\" \"%TITLE% - %SUBTITLE%\" \"%CHANID%\" \"%STARTTIME%\" \"%JOBID%\"'); - change_or_make_setting('UserJob4', 'myth2mp3 \"%DIR%/%FILE%\" \"%TITLE% - %SUBTITLE%\" \"%CHANID%\" \"%STARTTIME%\"'); - change_or_make_setting('UserJobDesc1', 'User Job #1'); - change_or_make_setting('UserJobDesc2', 'Transcode for iPod'); - change_or_make_setting('UserJobDesc3', 'Transcode to xvid'); - change_or_make_setting('UserJobDesc4', 'Extract audio'); + change_or_make_setting('UserJob1', 'myth2ipod \"%DIR%/%FILE%\" \"%TITLE% - %SUBTITLE%\" \"%CHANID%\" \"%STARTTIME%\" \"%JOBID%\"'); + change_or_make_setting('UserJob2', 'myt2xvid3 \"%DIR%/%FILE%\" \"%TITLE% - %SUBTITLE%\" \"%CHANID%\" \"%STARTTIME%\" \"%JOBID%\"'); + change_or_make_setting('UserJob3', 'myth2x264 \"%DIR%/%FILE%\" \"%TITLE% - %SUBTITLE%\" \"%CHANID%\" \"%STARTTIME%\" \"%JOBID%\"'); + change_or_make_setting('UserJob4', 'removecommercials \"%DIR%\" \"%FILE%\" \"%CHANID%\" \"%STARTTIME%\" \"%JOBID%\"'); + change_or_make_setting('UserJobDesc1', 'Transcode for iPod'); + change_or_make_setting('UserJobDesc2', 'Transcode to xvid'); + change_or_make_setting('UserJobDesc3', 'Transcode to h264'); + change_or_make_setting('UserJobDesc4', 'Remove Commercials'); change_or_make_setting('UseOutputPictureControls','0'); # If this is set to '1' it can swap blue for red (and vice versa) on some nVidia GPUs change_or_make_setting('VCDPlayerCommand', 'mplayer-wrapper.pl vcd:\/\/ -cdrom-device %d -fs -zoom'); change_or_make_setting('VideoArtworkDir', "$SQL_DirVideo/.covers"); |