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

Michael Watson michael at thewatsonfamily.id.au
Sun Mar 11 03:21:46 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.

>
>> is there a way to force the artwork pull? does the metadata have to be
>> collected for the artwork to be pulled? is there a way to have it pull
>> the metadata for everything currently recorded?
> The single-recording behavior run through the jobqueue will only update
> the text metadata, and the text metadata must be available before you
> can pull artwork for it.  You can refresh all text metadata for all
> recordings using the --refresh-all option, and then follow that up with
> artwork using the --refresh-all-artwork option.
>
> http://www.mythtv.org/wiki/Enhancing_Recordings_with_Metadata_Lookup#Upgrade_Cheat_Sheet
> _______________________________________________
>



More information about the mythtv-users mailing list