Opened 16 years ago

Closed 16 years ago

#314 closed patch (fixed)

Unable to use UserJobs #3 and #4

Reported by: armin.buehler@… Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: low Keywords:
Cc: Ticket locked: no


Userjobs number > 2 will not get scheduled, because of a wrong bit handling.

e.g. if you want to run a userjob3, the jobtype is 0x400 (JOB_USERJOB3). So JobQueue::JobText?() tries to get the job description from the database by doing a bit shift of 8 which results in "4" instead of the "3".

I added a new function which returns the set bit number for a userjob and changed the corresponding code segments.

Attachments (1)

jobqueue.userjobs.diff (3.1 KB) - added by armin.buehler@… 16 years ago.
libs/libmythtv/jobqueue.{cpp,h} against 7224

Download all attachments as: .zip

Change History (2)

Changed 16 years ago by armin.buehler@…

Attachment: jobqueue.userjobs.diff added

libs/libmythtv/jobqueue.{cpp,h} against 7224

comment:1 Changed 16 years ago by cpinkham

Resolution: fixed
Status: newclosed

(In [7230]) Slightly modified patch by Armin Buehler to fix bug with User Jobs 3 & 4. Closes #314.

Note: See TracTickets for help on using tickets.