[mythtv-users] 0.25 lookup metadata as part of jobqueue?

Scott & Nicole Harris snharris99 at live.com
Sun Mar 11 12:03:22 UTC 2012


>On 11/03/2012 9:56 AM, Raymond Wagner wrote:
>> On 3/10/2012 17:24, Steven Adeff wrote:
>>> On Sat, Mar 10, 2012 at 5:12 PM, Raymond Wagner<raymond at wagnerrp.com> 
>>> wrote:
>>>> On 3/10/2012 16:46, Steven Adeff wrote:
>>>>> I noticed that metadata lookups are added to the job queue much like
>>>>> commercial flagging and transcoding.
>>>>>
>>>>> is there a way to keep commercial flagging process limited in count
>>>>> but still have the lookups take place immediately? I can't imagine
>>>>> they use that much resource that having them run when they are called
>>>>> for would be a large hit that requires being placed in the queue?
>>>> At the moment, there is no mechanism for independent queues that would
>>>> allow mythmetadatalookup to be run immediately.  Note that the task run
>>>> immediately at the start of recording merely sets the season and 
>>>> episode
>>>> numbers.  Artwork is not pulled until some time later as part of daily
>>>> housekeeping measures.
>>> but that task is placed in the job queue? so if there are 8
>>> commflagging jobs already in there it would go at the end?
>> You can artificially backdate the job insertion.  The jobqueue runs
>> through tasks sequentially based off insertion date[time], so doing that
>> would cause it to be the next task run after current.  MythWeb used to
>> accidentally do this by defaulting to some date in 2007, making all jobs
>> queued through MythWeb automatically at the top of the list.  However,
>> this is not currently being done for mythmetadatalookup.
>Would be nice to be able to set priority's on jobs though.  Something like;
>     1.  Metadata lookup High priority - (Short job, runs before any
>comm flag jobs)
>     2.  Commercial Flagging - Runs before any transcode jobs.
>     3.  Transcode - Low Priority, Runs when no higher priority jobs
>(and possibly no recordings in the near future that will generate meta
>and comm flag jobs)
>     4.  User Jobs.

It would also be nice to set a different max jobs per job type.  i.e. Allow 
4 commercial flag jobs but only 1 transcode job at a time.



More information about the mythtv-users mailing list