[mythtv] new defer transcode feature also defers user jobs.

Matt Doran matt.doran at papercut.com
Fri Apr 4 04:04:01 UTC 2008


wes white wrote:
> I have a user job (#3) set to run myth2ipod.
> I have my "defer transcode" set at 1 day.
> The myth2ipod jobs would also stay queued till the transcode ran. also  
> meaning myth2ipod would convert the lower quality transcoded file.
> The transcode had a schedruntime of "+1 day at midnight" and the  
> myth2ipod had the time the job was added (end of program airing)
>
> after a little looking into the database, i adjusted the inserttime on  
> the transcode job 1 sec later.
> my myth2ipod jobs then ran immediately, and the transcodes ran at the  
> correct time. which is my understanding of how this should happen.
>
> My guess is whatever part of the job queue that looks for the next  
> job, is getting the 2 rows mixed up since they have the same chanid,  
> starttime and inserttime but different schedruntime
>
> I can by no means fix this myself, but hopefully someone who knows  
> what they're doing can.
>
> i have now written a little cron job / php script (may not be the best  
> way, but it's what I know) that automatically adds 2 seconds to the  
> inserttime  of the transcode if it finds duplicate  (chanid, starttime  
> and inserttime) records
> my myth2ipod jobs now run as soon as they can, while the transcodes  
> are put off till the next day.
>
>
>   
I can confirm that I've also seen this problem.


More information about the mythtv-dev mailing list