[mythtv-users] hijack transcode user job for an additional custom user job

Hika van den Hoven hikavdh at gmail.com
Sun Dec 28 18:05:59 UTC 2014


Hoi Mike,

Sunday, December 28, 2014, 12:18:19 PM, you wrote:

> On 28/12/14 10:56, Mark Perkins wrote:
>> Am I likely to suffer any ill effects if I hijack the Mythtranscode user job
>> by putting in a new command line? I have used all my 4 custom user jobs, but
>> one of those user jobs is my custom transcode script so the inbuilt
>> transcode job never gets used. I would like to use it instead to do some
>> testing of the Mythcommflag patches that have been posted in an earlier
>> thread - ie something like:
>>
>> /path/to/patched/mythcommflag_improved --method 7 --chanid %CHANID%
>> --starttime %STARTTIME% --override-setting AggressiveCommDetect=1
>>
>> Can I essentially repurpose one of the inbuit jobs as a custom user job in
>> this fashion or am I going to break something by doing that.
>>
> Why don't you just replace the stock mythtranscode job with your script? That
> would free up the User Job slot that you need.

> There's no reason you have to leave the existing mythtranscode job in /usr/bin
> (or wherever) if you're not using it. Just rename it and move your own script
> there instead (or symbolic link to it).

You also can put all your jobs (or more than one of them) in one slot
by running a shell script that depending on switches runs the job you want!

Tot mails,
  Hika                            mailto:hikavdh at gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens



More information about the mythtv-users mailing list